Build Information
Failed to build PureMVC, reference master (c6749c
), with Swift 6.1 for Wasm on 27 May 2025 18:11:58 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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/puremvc/puremvc-swift-standard-framework.git
Reference: master
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/puremvc/puremvc-swift-standard-framework
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at c6749cc update
Cloned https://github.com/puremvc/puremvc-swift-standard-framework.git
Revision (git rev-parse @):
c6749ccd16ca9e0ea420fa06b4dcf81389a821e7
SUCCESS checkout https://github.com/puremvc/puremvc-swift-standard-framework.git at master
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/puremvc/puremvc-swift-standard-framework.git
https://github.com/puremvc/puremvc-swift-standard-framework.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
],
"manifest_display_name" : "PureMVC",
"name" : "PureMVC",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "PureMVC",
"targets" : [
"PureMVC"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "PureMVCTests",
"module_type" : "SwiftTarget",
"name" : "PureMVCTests",
"path" : "Tests/PureMVCTests",
"sources" : [
"core/ControllerTest.swift",
"core/ControllerTestCommand.swift",
"core/ControllerTestCommand2.swift",
"core/ControllerTestVO.swift",
"core/ModelTest.swift",
"core/ModelTestProxy.swift",
"core/ViewTest.swift",
"core/ViewTestMediator.swift",
"core/ViewTestMediator2.swift",
"core/ViewTestMediator3.swift",
"core/ViewTestMediator4.swift",
"core/ViewTestMediator5.swift",
"core/ViewTestMediator6.swift",
"core/ViewTestNote.swift",
"core/ViewTestVO.swift",
"patterns/command/MacroCommandTest.swift",
"patterns/command/MacroCommandTestCommand.swift",
"patterns/command/MacroCommandTestSub1Command.swift",
"patterns/command/MacroCommandTestSub2Command.swift",
"patterns/command/MacroCommandTestVO.swift",
"patterns/command/SimpleCommandTest.swift",
"patterns/command/SimpleCommandTestCommand.swift",
"patterns/command/SimpleCommandTestVO.swift",
"patterns/facade/FacadeTest.swift",
"patterns/facade/FacadeTestCommand.swift",
"patterns/facade/FacadeTestVO.swift",
"patterns/mediator/MediatorTest.swift",
"patterns/observer/NotificationTest.swift",
"patterns/observer/NotifierTest.swift",
"patterns/observer/ObserverTest.swift",
"patterns/proxy/ProxyTest.swift"
],
"target_dependencies" : [
"PureMVC"
],
"type" : "test"
},
{
"c99name" : "PureMVC",
"module_type" : "SwiftTarget",
"name" : "PureMVC",
"path" : "Sources/PureMVC",
"product_memberships" : [
"PureMVC"
],
"sources" : [
"core/Controller.swift",
"core/Model.swift",
"core/View.swift",
"interfaces/ICommand.swift",
"interfaces/IController.swift",
"interfaces/IFacade.swift",
"interfaces/IMediator.swift",
"interfaces/IModel.swift",
"interfaces/INotification.swift",
"interfaces/INotifier.swift",
"interfaces/IObserver.swift",
"interfaces/IProxy.swift",
"interfaces/IView.swift",
"patterns/command/MacroCommand.swift",
"patterns/command/SimpleCommand.swift",
"patterns/facade/Facade.swift",
"patterns/mediator/Mediator.swift",
"patterns/observer/Notification.swift",
"patterns/observer/Notifier.swift",
"patterns/observer/Observer.swift",
"patterns/proxy/Proxy.swift"
],
"type" : "library"
}
],
"tools_version" : "5.1"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/22] Emitting module PureMVC
/host/spi-builder-workspace/Sources/PureMVC/core/Controller.swift:50:36: error: cannot find 'DispatchQueue' in scope
48 | // Concurrent queue for commandMap
49 | // for speed and convenience of running concurrently while reading, and thread safety of blocking while mutating
50 | internal let commandMapQueue = DispatchQueue(label: "org.puremvc.controller.commandMapQueue", attributes: DispatchQueue.Attributes.concurrent)
| `- error: cannot find 'DispatchQueue' in scope
51 |
52 | // Singleton instance
/host/spi-builder-workspace/Sources/PureMVC/core/Controller.swift:50:111: error: cannot find 'DispatchQueue' in scope
48 | // Concurrent queue for commandMap
49 | // for speed and convenience of running concurrently while reading, and thread safety of blocking while mutating
50 | internal let commandMapQueue = DispatchQueue(label: "org.puremvc.controller.commandMapQueue", attributes: DispatchQueue.Attributes.concurrent)
| `- error: cannot find 'DispatchQueue' in scope
51 |
52 | // Singleton instance
/host/spi-builder-workspace/Sources/PureMVC/core/Controller.swift:53:24: warning: static property 'instance' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
51 |
52 | // Singleton instance
53 | private static var instance: IController?
| |- warning: static property 'instance' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'instance' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'instance' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
54 |
55 | // Concurrent queue for singleton instance
/host/spi-builder-workspace/Sources/PureMVC/core/Controller.swift:56:40: error: cannot find 'DispatchQueue' in scope
54 |
55 | // Concurrent queue for singleton instance
56 | private static let instanceQueue = DispatchQueue(label: "org.puremvc.controller.instanceQueue", attributes: DispatchQueue.Attributes.concurrent)
| `- error: cannot find 'DispatchQueue' in scope
57 |
58 | /// Message constant
/host/spi-builder-workspace/Sources/PureMVC/core/Controller.swift:56:113: error: cannot find 'DispatchQueue' in scope
54 |
55 | // Concurrent queue for singleton instance
56 | private static let instanceQueue = DispatchQueue(label: "org.puremvc.controller.instanceQueue", attributes: DispatchQueue.Attributes.concurrent)
| `- error: cannot find 'DispatchQueue' in scope
57 |
58 | /// Message constant
/host/spi-builder-workspace/Sources/PureMVC/core/Model.swift:39:34: error: cannot find 'DispatchQueue' in scope
37 | // Concurrent queue for proxyMap
38 | // for speed and convenience of running concurrently while reading, and thread safety of blocking while mutating
39 | internal let proxyMapQueue = DispatchQueue(label: "org.puremvc.model.proxyMapQueue", attributes: DispatchQueue.Attributes.concurrent)
| `- error: cannot find 'DispatchQueue' in scope
40 |
41 | // Singleton instance
/host/spi-builder-workspace/Sources/PureMVC/core/Model.swift:39:102: error: cannot find 'DispatchQueue' in scope
37 | // Concurrent queue for proxyMap
38 | // for speed and convenience of running concurrently while reading, and thread safety of blocking while mutating
39 | internal let proxyMapQueue = DispatchQueue(label: "org.puremvc.model.proxyMapQueue", attributes: DispatchQueue.Attributes.concurrent)
| `- error: cannot find 'DispatchQueue' in scope
40 |
41 | // Singleton instance
/host/spi-builder-workspace/Sources/PureMVC/core/Model.swift:42:24: warning: static property 'instance' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
40 |
41 | // Singleton instance
42 | private static var instance: IModel?
| |- warning: static property 'instance' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'instance' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'instance' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
43 |
44 | // Concurrent queue for singleton instance
/host/spi-builder-workspace/Sources/PureMVC/core/Model.swift:45:40: error: cannot find 'DispatchQueue' in scope
43 |
44 | // Concurrent queue for singleton instance
45 | private static let instanceQueue = DispatchQueue(label: "org.puremvc.model.instanceQueue", attributes: DispatchQueue.Attributes.concurrent)
| `- error: cannot find 'DispatchQueue' in scope
46 |
47 | /// Message constant
/host/spi-builder-workspace/Sources/PureMVC/core/Model.swift:45:108: error: cannot find 'DispatchQueue' in scope
43 |
44 | // Concurrent queue for singleton instance
45 | private static let instanceQueue = DispatchQueue(label: "org.puremvc.model.instanceQueue", attributes: DispatchQueue.Attributes.concurrent)
| `- error: cannot find 'DispatchQueue' in scope
46 |
47 | /// Message constant
/host/spi-builder-workspace/Sources/PureMVC/core/View.swift:37:37: error: cannot find 'DispatchQueue' in scope
35 | // Concurrent queue for mediatorMap
36 | // for speed and convenience of running concurrently while reading, and thread safety of blocking while mutating
37 | internal let mediatorMapQueue = DispatchQueue(label: "org.puremvc.view.mediatorMapQueue", attributes: DispatchQueue.Attributes.concurrent)
| `- error: cannot find 'DispatchQueue' in scope
38 |
39 | // Mapping of Notification names to Observer lists
/host/spi-builder-workspace/Sources/PureMVC/core/View.swift:37:107: error: cannot find 'DispatchQueue' in scope
35 | // Concurrent queue for mediatorMap
36 | // for speed and convenience of running concurrently while reading, and thread safety of blocking while mutating
37 | internal let mediatorMapQueue = DispatchQueue(label: "org.puremvc.view.mediatorMapQueue", attributes: DispatchQueue.Attributes.concurrent)
| `- error: cannot find 'DispatchQueue' in scope
38 |
39 | // Mapping of Notification names to Observer lists
/host/spi-builder-workspace/Sources/PureMVC/core/View.swift:44:37: error: cannot find 'DispatchQueue' in scope
42 | // Concurrent queue for observerMap
43 | // for speed and convenience of running concurrently while reading, and thread safety of blocking while mutating
44 | internal let observerMapQueue = DispatchQueue(label: "org.puremvc.view.observerMapQueue", attributes: DispatchQueue.Attributes.concurrent)
| `- error: cannot find 'DispatchQueue' in scope
45 |
46 | // Singleton instance
/host/spi-builder-workspace/Sources/PureMVC/core/View.swift:44:107: error: cannot find 'DispatchQueue' in scope
42 | // Concurrent queue for observerMap
43 | // for speed and convenience of running concurrently while reading, and thread safety of blocking while mutating
44 | internal let observerMapQueue = DispatchQueue(label: "org.puremvc.view.observerMapQueue", attributes: DispatchQueue.Attributes.concurrent)
| `- error: cannot find 'DispatchQueue' in scope
45 |
46 | // Singleton instance
/host/spi-builder-workspace/Sources/PureMVC/core/View.swift:47:24: warning: static property 'instance' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
45 |
46 | // Singleton instance
47 | private static var instance: IView?
| |- warning: static property 'instance' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'instance' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'instance' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
48 |
49 | // Concurrent queue for singleton instance
/host/spi-builder-workspace/Sources/PureMVC/core/View.swift:50:40: error: cannot find 'DispatchQueue' in scope
48 |
49 | // Concurrent queue for singleton instance
50 | private static let instanceQueue = DispatchQueue(label: "org.puremvc.view.instanceQueue", attributes: DispatchQueue.Attributes.concurrent)
| `- error: cannot find 'DispatchQueue' in scope
51 |
52 | /// Message constant
/host/spi-builder-workspace/Sources/PureMVC/core/View.swift:50:107: error: cannot find 'DispatchQueue' in scope
48 |
49 | // Concurrent queue for singleton instance
50 | private static let instanceQueue = DispatchQueue(label: "org.puremvc.view.instanceQueue", attributes: DispatchQueue.Attributes.concurrent)
| `- error: cannot find 'DispatchQueue' in scope
51 |
52 | /// Message constant
/host/spi-builder-workspace/Sources/PureMVC/patterns/facade/Facade.swift:42:24: warning: static property 'instance' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
40 |
41 | // The Singleton Facade instance
42 | private static var instance: IFacade?
| |- warning: static property 'instance' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'instance' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'instance' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
43 |
44 | // Concurrent queue for singleton instance
/host/spi-builder-workspace/Sources/PureMVC/patterns/facade/Facade.swift:45:40: error: cannot find 'DispatchQueue' in scope
43 |
44 | // Concurrent queue for singleton instance
45 | private static let instanceQueue = DispatchQueue(label: "org.puremvc.facade.instanceQueue", attributes: DispatchQueue.Attributes.concurrent)
| `- error: cannot find 'DispatchQueue' in scope
46 |
47 | /// Message Constant
/host/spi-builder-workspace/Sources/PureMVC/patterns/facade/Facade.swift:45:109: error: cannot find 'DispatchQueue' in scope
43 |
44 | // Concurrent queue for singleton instance
45 | private static let instanceQueue = DispatchQueue(label: "org.puremvc.facade.instanceQueue", attributes: DispatchQueue.Attributes.concurrent)
| `- error: cannot find 'DispatchQueue' in scope
46 |
47 | /// Message Constant
[4/24] Compiling PureMVC Observer.swift
[5/24] Compiling PureMVC Proxy.swift
[6/24] Compiling PureMVC INotifier.swift
[7/24] Compiling PureMVC IObserver.swift
[8/24] Compiling PureMVC IProxy.swift
[9/24] Compiling PureMVC IMediator.swift
[10/24] Compiling PureMVC IModel.swift
[11/24] Compiling PureMVC INotification.swift
[12/24] Compiling PureMVC IView.swift
[13/24] Compiling PureMVC MacroCommand.swift
[14/24] Compiling PureMVC SimpleCommand.swift
[15/24] Compiling PureMVC Notification.swift
/host/spi-builder-workspace/Sources/PureMVC/patterns/facade/Facade.swift:45:40: error: cannot find 'DispatchQueue' in scope
43 |
44 | // Concurrent queue for singleton instance
45 | private static let instanceQueue = DispatchQueue(label: "org.puremvc.facade.instanceQueue", attributes: DispatchQueue.Attributes.concurrent)
| `- error: cannot find 'DispatchQueue' in scope
46 |
47 | /// Message Constant
/host/spi-builder-workspace/Sources/PureMVC/patterns/facade/Facade.swift:45:109: error: cannot find 'DispatchQueue' in scope
43 |
44 | // Concurrent queue for singleton instance
45 | private static let instanceQueue = DispatchQueue(label: "org.puremvc.facade.instanceQueue", attributes: DispatchQueue.Attributes.concurrent)
| `- error: cannot find 'DispatchQueue' in scope
46 |
47 | /// Message Constant
[16/24] Compiling PureMVC Notifier.swift
/host/spi-builder-workspace/Sources/PureMVC/patterns/facade/Facade.swift:45:40: error: cannot find 'DispatchQueue' in scope
43 |
44 | // Concurrent queue for singleton instance
45 | private static let instanceQueue = DispatchQueue(label: "org.puremvc.facade.instanceQueue", attributes: DispatchQueue.Attributes.concurrent)
| `- error: cannot find 'DispatchQueue' in scope
46 |
47 | /// Message Constant
/host/spi-builder-workspace/Sources/PureMVC/patterns/facade/Facade.swift:45:109: error: cannot find 'DispatchQueue' in scope
43 |
44 | // Concurrent queue for singleton instance
45 | private static let instanceQueue = DispatchQueue(label: "org.puremvc.facade.instanceQueue", attributes: DispatchQueue.Attributes.concurrent)
| `- error: cannot find 'DispatchQueue' in scope
46 |
47 | /// Message Constant
[17/24] Compiling PureMVC ICommand.swift
[18/24] Compiling PureMVC IController.swift
[19/24] Compiling PureMVC IFacade.swift
[20/24] Compiling PureMVC Facade.swift
/host/spi-builder-workspace/Sources/PureMVC/patterns/facade/Facade.swift:42:24: warning: static property 'instance' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
40 |
41 | // The Singleton Facade instance
42 | private static var instance: IFacade?
| |- warning: static property 'instance' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'instance' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'instance' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
43 |
44 | // Concurrent queue for singleton instance
/host/spi-builder-workspace/Sources/PureMVC/patterns/facade/Facade.swift:45:40: error: cannot find 'DispatchQueue' in scope
43 |
44 | // Concurrent queue for singleton instance
45 | private static let instanceQueue = DispatchQueue(label: "org.puremvc.facade.instanceQueue", attributes: DispatchQueue.Attributes.concurrent)
| `- error: cannot find 'DispatchQueue' in scope
46 |
47 | /// Message Constant
/host/spi-builder-workspace/Sources/PureMVC/patterns/facade/Facade.swift:45:109: error: cannot find 'DispatchQueue' in scope
43 |
44 | // Concurrent queue for singleton instance
45 | private static let instanceQueue = DispatchQueue(label: "org.puremvc.facade.instanceQueue", attributes: DispatchQueue.Attributes.concurrent)
| `- error: cannot find 'DispatchQueue' in scope
46 |
47 | /// Message Constant
/host/spi-builder-workspace/Sources/PureMVC/patterns/facade/Facade.swift:87:36: error: cannot infer contextual base in reference to member 'barrier'
85 | */
86 | open class func getInstance(_ factory: (() -> IFacade)) -> IFacade {
87 | instanceQueue.sync(flags: .barrier) {
| `- error: cannot infer contextual base in reference to member 'barrier'
88 | if(Facade.instance == nil) {
89 | Facade.instance = factory()
[21/24] Compiling PureMVC Mediator.swift
/host/spi-builder-workspace/Sources/PureMVC/patterns/facade/Facade.swift:42:24: warning: static property 'instance' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
40 |
41 | // The Singleton Facade instance
42 | private static var instance: IFacade?
| |- warning: static property 'instance' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'instance' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'instance' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
43 |
44 | // Concurrent queue for singleton instance
/host/spi-builder-workspace/Sources/PureMVC/patterns/facade/Facade.swift:45:40: error: cannot find 'DispatchQueue' in scope
43 |
44 | // Concurrent queue for singleton instance
45 | private static let instanceQueue = DispatchQueue(label: "org.puremvc.facade.instanceQueue", attributes: DispatchQueue.Attributes.concurrent)
| `- error: cannot find 'DispatchQueue' in scope
46 |
47 | /// Message Constant
/host/spi-builder-workspace/Sources/PureMVC/patterns/facade/Facade.swift:45:109: error: cannot find 'DispatchQueue' in scope
43 |
44 | // Concurrent queue for singleton instance
45 | private static let instanceQueue = DispatchQueue(label: "org.puremvc.facade.instanceQueue", attributes: DispatchQueue.Attributes.concurrent)
| `- error: cannot find 'DispatchQueue' in scope
46 |
47 | /// Message Constant
/host/spi-builder-workspace/Sources/PureMVC/patterns/facade/Facade.swift:87:36: error: cannot infer contextual base in reference to member 'barrier'
85 | */
86 | open class func getInstance(_ factory: (() -> IFacade)) -> IFacade {
87 | instanceQueue.sync(flags: .barrier) {
| `- error: cannot infer contextual base in reference to member 'barrier'
88 | if(Facade.instance == nil) {
89 | Facade.instance = factory()
[22/24] Compiling PureMVC Controller.swift
/host/spi-builder-workspace/Sources/PureMVC/core/Controller.swift:50:36: error: cannot find 'DispatchQueue' in scope
48 | // Concurrent queue for commandMap
49 | // for speed and convenience of running concurrently while reading, and thread safety of blocking while mutating
50 | internal let commandMapQueue = DispatchQueue(label: "org.puremvc.controller.commandMapQueue", attributes: DispatchQueue.Attributes.concurrent)
| `- error: cannot find 'DispatchQueue' in scope
51 |
52 | // Singleton instance
/host/spi-builder-workspace/Sources/PureMVC/core/Controller.swift:50:111: error: cannot find 'DispatchQueue' in scope
48 | // Concurrent queue for commandMap
49 | // for speed and convenience of running concurrently while reading, and thread safety of blocking while mutating
50 | internal let commandMapQueue = DispatchQueue(label: "org.puremvc.controller.commandMapQueue", attributes: DispatchQueue.Attributes.concurrent)
| `- error: cannot find 'DispatchQueue' in scope
51 |
52 | // Singleton instance
/host/spi-builder-workspace/Sources/PureMVC/core/Controller.swift:53:24: warning: static property 'instance' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
51 |
52 | // Singleton instance
53 | private static var instance: IController?
| |- warning: static property 'instance' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'instance' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'instance' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
54 |
55 | // Concurrent queue for singleton instance
/host/spi-builder-workspace/Sources/PureMVC/core/Controller.swift:56:40: error: cannot find 'DispatchQueue' in scope
54 |
55 | // Concurrent queue for singleton instance
56 | private static let instanceQueue = DispatchQueue(label: "org.puremvc.controller.instanceQueue", attributes: DispatchQueue.Attributes.concurrent)
| `- error: cannot find 'DispatchQueue' in scope
57 |
58 | /// Message constant
/host/spi-builder-workspace/Sources/PureMVC/core/Controller.swift:56:113: error: cannot find 'DispatchQueue' in scope
54 |
55 | // Concurrent queue for singleton instance
56 | private static let instanceQueue = DispatchQueue(label: "org.puremvc.controller.instanceQueue", attributes: DispatchQueue.Attributes.concurrent)
| `- error: cannot find 'DispatchQueue' in scope
57 |
58 | /// Message constant
/host/spi-builder-workspace/Sources/PureMVC/core/Controller.swift:103:36: error: cannot infer contextual base in reference to member 'barrier'
101 | */
102 | open class func getInstance(_ factory: () -> IController) -> IController {
103 | instanceQueue.sync(flags: .barrier) {
| `- error: cannot infer contextual base in reference to member 'barrier'
104 | if(Controller.instance == nil) {
105 | Controller.instance = factory()
/host/spi-builder-workspace/Sources/PureMVC/core/Controller.swift:126:38: error: cannot infer contextual base in reference to member 'barrier'
124 | */
125 | open func registerCommand(_ notificationName: String, factory: @escaping () -> ICommand) {
126 | commandMapQueue.sync(flags: .barrier) {
| `- error: cannot infer contextual base in reference to member 'barrier'
127 | if commandMap[notificationName] == nil { // weak reference to Controller (self) to avoid reference cycle with View and Observer
128 | view.registerObserver(notificationName, observer: Observer(notifyMethod: {[weak self] notification in self?.executeCommand(notification)}, notifyContext: self))
/host/spi-builder-workspace/Sources/PureMVC/core/Controller.swift:170:42: error: cannot infer contextual base in reference to member 'barrier'
168 | open func removeCommand(_ notificationName: String) {
169 | if hasCommand(notificationName) {
170 | commandMapQueue.sync(flags: .barrier) {
| `- error: cannot infer contextual base in reference to member 'barrier'
171 | view.removeObserver(notificationName, notifyContext: self)
172 | commandMap.removeValue(forKey: notificationName)
/host/spi-builder-workspace/Sources/PureMVC/core/Model.swift:39:34: error: cannot find 'DispatchQueue' in scope
37 | // Concurrent queue for proxyMap
38 | // for speed and convenience of running concurrently while reading, and thread safety of blocking while mutating
39 | internal let proxyMapQueue = DispatchQueue(label: "org.puremvc.model.proxyMapQueue", attributes: DispatchQueue.Attributes.concurrent)
| `- error: cannot find 'DispatchQueue' in scope
40 |
41 | // Singleton instance
/host/spi-builder-workspace/Sources/PureMVC/core/Model.swift:39:102: error: cannot find 'DispatchQueue' in scope
37 | // Concurrent queue for proxyMap
38 | // for speed and convenience of running concurrently while reading, and thread safety of blocking while mutating
39 | internal let proxyMapQueue = DispatchQueue(label: "org.puremvc.model.proxyMapQueue", attributes: DispatchQueue.Attributes.concurrent)
| `- error: cannot find 'DispatchQueue' in scope
40 |
41 | // Singleton instance
/host/spi-builder-workspace/Sources/PureMVC/core/Model.swift:42:24: warning: static property 'instance' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
40 |
41 | // Singleton instance
42 | private static var instance: IModel?
| |- warning: static property 'instance' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'instance' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'instance' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
43 |
44 | // Concurrent queue for singleton instance
/host/spi-builder-workspace/Sources/PureMVC/core/Model.swift:45:40: error: cannot find 'DispatchQueue' in scope
43 |
44 | // Concurrent queue for singleton instance
45 | private static let instanceQueue = DispatchQueue(label: "org.puremvc.model.instanceQueue", attributes: DispatchQueue.Attributes.concurrent)
| `- error: cannot find 'DispatchQueue' in scope
46 |
47 | /// Message constant
/host/spi-builder-workspace/Sources/PureMVC/core/Model.swift:45:108: error: cannot find 'DispatchQueue' in scope
43 |
44 | // Concurrent queue for singleton instance
45 | private static let instanceQueue = DispatchQueue(label: "org.puremvc.model.instanceQueue", attributes: DispatchQueue.Attributes.concurrent)
| `- error: cannot find 'DispatchQueue' in scope
46 |
47 | /// Message constant
/host/spi-builder-workspace/Sources/PureMVC/core/Model.swift:85:36: error: cannot infer contextual base in reference to member 'barrier'
83 | */
84 | open class func getInstance(_ factory: () -> IModel) -> IModel {
85 | instanceQueue.sync(flags: .barrier) {
| `- error: cannot infer contextual base in reference to member 'barrier'
86 | if(Model.instance == nil) {
87 | Model.instance = factory()
/host/spi-builder-workspace/Sources/PureMVC/core/Model.swift:99:36: error: cannot infer contextual base in reference to member 'barrier'
97 | */
98 | open func registerProxy(_ proxy: IProxy) {
99 | proxyMapQueue.sync(flags: .barrier) {
| `- error: cannot infer contextual base in reference to member 'barrier'
100 | proxyMap[proxy.name] = proxy
101 | proxy.onRegister()
/host/spi-builder-workspace/Sources/PureMVC/core/Model.swift:141:36: error: cannot infer contextual base in reference to member 'barrier'
139 | @discardableResult open func removeProxy(_ proxyName: String) -> IProxy? {
140 | var removed: IProxy?
141 | proxyMapQueue.sync(flags: .barrier) {
| `- error: cannot infer contextual base in reference to member 'barrier'
142 | if let proxy = proxyMap[proxyName] {
143 | proxy.onRemove()
/host/spi-builder-workspace/Sources/PureMVC/core/View.swift:37:37: error: cannot find 'DispatchQueue' in scope
35 | // Concurrent queue for mediatorMap
36 | // for speed and convenience of running concurrently while reading, and thread safety of blocking while mutating
37 | internal let mediatorMapQueue = DispatchQueue(label: "org.puremvc.view.mediatorMapQueue", attributes: DispatchQueue.Attributes.concurrent)
| `- error: cannot find 'DispatchQueue' in scope
38 |
39 | // Mapping of Notification names to Observer lists
/host/spi-builder-workspace/Sources/PureMVC/core/View.swift:37:107: error: cannot find 'DispatchQueue' in scope
35 | // Concurrent queue for mediatorMap
36 | // for speed and convenience of running concurrently while reading, and thread safety of blocking while mutating
37 | internal let mediatorMapQueue = DispatchQueue(label: "org.puremvc.view.mediatorMapQueue", attributes: DispatchQueue.Attributes.concurrent)
| `- error: cannot find 'DispatchQueue' in scope
38 |
39 | // Mapping of Notification names to Observer lists
/host/spi-builder-workspace/Sources/PureMVC/core/View.swift:44:37: error: cannot find 'DispatchQueue' in scope
42 | // Concurrent queue for observerMap
43 | // for speed and convenience of running concurrently while reading, and thread safety of blocking while mutating
44 | internal let observerMapQueue = DispatchQueue(label: "org.puremvc.view.observerMapQueue", attributes: DispatchQueue.Attributes.concurrent)
| `- error: cannot find 'DispatchQueue' in scope
45 |
46 | // Singleton instance
/host/spi-builder-workspace/Sources/PureMVC/core/View.swift:44:107: error: cannot find 'DispatchQueue' in scope
42 | // Concurrent queue for observerMap
43 | // for speed and convenience of running concurrently while reading, and thread safety of blocking while mutating
44 | internal let observerMapQueue = DispatchQueue(label: "org.puremvc.view.observerMapQueue", attributes: DispatchQueue.Attributes.concurrent)
| `- error: cannot find 'DispatchQueue' in scope
45 |
46 | // Singleton instance
/host/spi-builder-workspace/Sources/PureMVC/core/View.swift:47:24: warning: static property 'instance' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
45 |
46 | // Singleton instance
47 | private static var instance: IView?
| |- warning: static property 'instance' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'instance' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'instance' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
48 |
49 | // Concurrent queue for singleton instance
/host/spi-builder-workspace/Sources/PureMVC/core/View.swift:50:40: error: cannot find 'DispatchQueue' in scope
48 |
49 | // Concurrent queue for singleton instance
50 | private static let instanceQueue = DispatchQueue(label: "org.puremvc.view.instanceQueue", attributes: DispatchQueue.Attributes.concurrent)
| `- error: cannot find 'DispatchQueue' in scope
51 |
52 | /// Message constant
/host/spi-builder-workspace/Sources/PureMVC/core/View.swift:50:107: error: cannot find 'DispatchQueue' in scope
48 |
49 | // Concurrent queue for singleton instance
50 | private static let instanceQueue = DispatchQueue(label: "org.puremvc.view.instanceQueue", attributes: DispatchQueue.Attributes.concurrent)
| `- error: cannot find 'DispatchQueue' in scope
51 |
52 | /// Message constant
/host/spi-builder-workspace/Sources/PureMVC/core/View.swift:90:36: error: cannot infer contextual base in reference to member 'barrier'
88 | */
89 | open class func getInstance(_ factory: () -> IView) -> IView {
90 | instanceQueue.sync(flags: .barrier) {
| `- error: cannot infer contextual base in reference to member 'barrier'
91 | if(View.instance == nil) {
92 | View.instance = factory()
/host/spi-builder-workspace/Sources/PureMVC/core/View.swift:106:39: error: cannot infer contextual base in reference to member 'barrier'
104 | */
105 | open func registerObserver(_ notificationName: String, observer: IObserver) {
106 | observerMapQueue.sync(flags: .barrier) {
| `- error: cannot infer contextual base in reference to member 'barrier'
107 | if observerMap[notificationName] != nil {
108 | observerMap[notificationName]!.append(observer)
/host/spi-builder-workspace/Sources/PureMVC/core/View.swift:151:39: error: cannot infer contextual base in reference to member 'barrier'
149 | */
150 | open func removeObserver(_ notificationName: String, notifyContext: AnyObject) {
151 | observerMapQueue.sync(flags: .barrier) {
| `- error: cannot infer contextual base in reference to member 'barrier'
152 | // the observer list for the notification under inspection
153 | if let observers = observerMap[notificationName] {
/host/spi-builder-workspace/Sources/PureMVC/core/View.swift:196:39: error: cannot infer contextual base in reference to member 'barrier'
194 | }
195 |
196 | mediatorMapQueue.sync(flags: .barrier) {
| `- error: cannot infer contextual base in reference to member 'barrier'
197 | // Register the Mediator for retrieval by name
198 | mediatorMap[mediator.name] = mediator
/host/spi-builder-workspace/Sources/PureMVC/core/View.swift:256:39: error: cannot infer contextual base in reference to member 'barrier'
254 | @discardableResult open func removeMediator(_ mediatorName: String) -> IMediator? {
255 | var removed: IMediator?
256 | mediatorMapQueue.sync(flags: .barrier) {
| `- error: cannot infer contextual base in reference to member 'barrier'
257 | if let mediator = mediatorMap[mediatorName] {
258 | // for every notification this mediator is interested in...
[23/24] Compiling PureMVC Model.swift
/host/spi-builder-workspace/Sources/PureMVC/core/Controller.swift:50:36: error: cannot find 'DispatchQueue' in scope
48 | // Concurrent queue for commandMap
49 | // for speed and convenience of running concurrently while reading, and thread safety of blocking while mutating
50 | internal let commandMapQueue = DispatchQueue(label: "org.puremvc.controller.commandMapQueue", attributes: DispatchQueue.Attributes.concurrent)
| `- error: cannot find 'DispatchQueue' in scope
51 |
52 | // Singleton instance
/host/spi-builder-workspace/Sources/PureMVC/core/Controller.swift:50:111: error: cannot find 'DispatchQueue' in scope
48 | // Concurrent queue for commandMap
49 | // for speed and convenience of running concurrently while reading, and thread safety of blocking while mutating
50 | internal let commandMapQueue = DispatchQueue(label: "org.puremvc.controller.commandMapQueue", attributes: DispatchQueue.Attributes.concurrent)
| `- error: cannot find 'DispatchQueue' in scope
51 |
52 | // Singleton instance
/host/spi-builder-workspace/Sources/PureMVC/core/Controller.swift:53:24: warning: static property 'instance' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
51 |
52 | // Singleton instance
53 | private static var instance: IController?
| |- warning: static property 'instance' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'instance' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'instance' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
54 |
55 | // Concurrent queue for singleton instance
/host/spi-builder-workspace/Sources/PureMVC/core/Controller.swift:56:40: error: cannot find 'DispatchQueue' in scope
54 |
55 | // Concurrent queue for singleton instance
56 | private static let instanceQueue = DispatchQueue(label: "org.puremvc.controller.instanceQueue", attributes: DispatchQueue.Attributes.concurrent)
| `- error: cannot find 'DispatchQueue' in scope
57 |
58 | /// Message constant
/host/spi-builder-workspace/Sources/PureMVC/core/Controller.swift:56:113: error: cannot find 'DispatchQueue' in scope
54 |
55 | // Concurrent queue for singleton instance
56 | private static let instanceQueue = DispatchQueue(label: "org.puremvc.controller.instanceQueue", attributes: DispatchQueue.Attributes.concurrent)
| `- error: cannot find 'DispatchQueue' in scope
57 |
58 | /// Message constant
/host/spi-builder-workspace/Sources/PureMVC/core/Controller.swift:103:36: error: cannot infer contextual base in reference to member 'barrier'
101 | */
102 | open class func getInstance(_ factory: () -> IController) -> IController {
103 | instanceQueue.sync(flags: .barrier) {
| `- error: cannot infer contextual base in reference to member 'barrier'
104 | if(Controller.instance == nil) {
105 | Controller.instance = factory()
/host/spi-builder-workspace/Sources/PureMVC/core/Controller.swift:126:38: error: cannot infer contextual base in reference to member 'barrier'
124 | */
125 | open func registerCommand(_ notificationName: String, factory: @escaping () -> ICommand) {
126 | commandMapQueue.sync(flags: .barrier) {
| `- error: cannot infer contextual base in reference to member 'barrier'
127 | if commandMap[notificationName] == nil { // weak reference to Controller (self) to avoid reference cycle with View and Observer
128 | view.registerObserver(notificationName, observer: Observer(notifyMethod: {[weak self] notification in self?.executeCommand(notification)}, notifyContext: self))
/host/spi-builder-workspace/Sources/PureMVC/core/Controller.swift:170:42: error: cannot infer contextual base in reference to member 'barrier'
168 | open func removeCommand(_ notificationName: String) {
169 | if hasCommand(notificationName) {
170 | commandMapQueue.sync(flags: .barrier) {
| `- error: cannot infer contextual base in reference to member 'barrier'
171 | view.removeObserver(notificationName, notifyContext: self)
172 | commandMap.removeValue(forKey: notificationName)
/host/spi-builder-workspace/Sources/PureMVC/core/Model.swift:39:34: error: cannot find 'DispatchQueue' in scope
37 | // Concurrent queue for proxyMap
38 | // for speed and convenience of running concurrently while reading, and thread safety of blocking while mutating
39 | internal let proxyMapQueue = DispatchQueue(label: "org.puremvc.model.proxyMapQueue", attributes: DispatchQueue.Attributes.concurrent)
| `- error: cannot find 'DispatchQueue' in scope
40 |
41 | // Singleton instance
/host/spi-builder-workspace/Sources/PureMVC/core/Model.swift:39:102: error: cannot find 'DispatchQueue' in scope
37 | // Concurrent queue for proxyMap
38 | // for speed and convenience of running concurrently while reading, and thread safety of blocking while mutating
39 | internal let proxyMapQueue = DispatchQueue(label: "org.puremvc.model.proxyMapQueue", attributes: DispatchQueue.Attributes.concurrent)
| `- error: cannot find 'DispatchQueue' in scope
40 |
41 | // Singleton instance
/host/spi-builder-workspace/Sources/PureMVC/core/Model.swift:42:24: warning: static property 'instance' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
40 |
41 | // Singleton instance
42 | private static var instance: IModel?
| |- warning: static property 'instance' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'instance' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'instance' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
43 |
44 | // Concurrent queue for singleton instance
/host/spi-builder-workspace/Sources/PureMVC/core/Model.swift:45:40: error: cannot find 'DispatchQueue' in scope
43 |
44 | // Concurrent queue for singleton instance
45 | private static let instanceQueue = DispatchQueue(label: "org.puremvc.model.instanceQueue", attributes: DispatchQueue.Attributes.concurrent)
| `- error: cannot find 'DispatchQueue' in scope
46 |
47 | /// Message constant
/host/spi-builder-workspace/Sources/PureMVC/core/Model.swift:45:108: error: cannot find 'DispatchQueue' in scope
43 |
44 | // Concurrent queue for singleton instance
45 | private static let instanceQueue = DispatchQueue(label: "org.puremvc.model.instanceQueue", attributes: DispatchQueue.Attributes.concurrent)
| `- error: cannot find 'DispatchQueue' in scope
46 |
47 | /// Message constant
/host/spi-builder-workspace/Sources/PureMVC/core/Model.swift:85:36: error: cannot infer contextual base in reference to member 'barrier'
83 | */
84 | open class func getInstance(_ factory: () -> IModel) -> IModel {
85 | instanceQueue.sync(flags: .barrier) {
| `- error: cannot infer contextual base in reference to member 'barrier'
86 | if(Model.instance == nil) {
87 | Model.instance = factory()
/host/spi-builder-workspace/Sources/PureMVC/core/Model.swift:99:36: error: cannot infer contextual base in reference to member 'barrier'
97 | */
98 | open func registerProxy(_ proxy: IProxy) {
99 | proxyMapQueue.sync(flags: .barrier) {
| `- error: cannot infer contextual base in reference to member 'barrier'
100 | proxyMap[proxy.name] = proxy
101 | proxy.onRegister()
/host/spi-builder-workspace/Sources/PureMVC/core/Model.swift:141:36: error: cannot infer contextual base in reference to member 'barrier'
139 | @discardableResult open func removeProxy(_ proxyName: String) -> IProxy? {
140 | var removed: IProxy?
141 | proxyMapQueue.sync(flags: .barrier) {
| `- error: cannot infer contextual base in reference to member 'barrier'
142 | if let proxy = proxyMap[proxyName] {
143 | proxy.onRemove()
/host/spi-builder-workspace/Sources/PureMVC/core/View.swift:37:37: error: cannot find 'DispatchQueue' in scope
35 | // Concurrent queue for mediatorMap
36 | // for speed and convenience of running concurrently while reading, and thread safety of blocking while mutating
37 | internal let mediatorMapQueue = DispatchQueue(label: "org.puremvc.view.mediatorMapQueue", attributes: DispatchQueue.Attributes.concurrent)
| `- error: cannot find 'DispatchQueue' in scope
38 |
39 | // Mapping of Notification names to Observer lists
/host/spi-builder-workspace/Sources/PureMVC/core/View.swift:37:107: error: cannot find 'DispatchQueue' in scope
35 | // Concurrent queue for mediatorMap
36 | // for speed and convenience of running concurrently while reading, and thread safety of blocking while mutating
37 | internal let mediatorMapQueue = DispatchQueue(label: "org.puremvc.view.mediatorMapQueue", attributes: DispatchQueue.Attributes.concurrent)
| `- error: cannot find 'DispatchQueue' in scope
38 |
39 | // Mapping of Notification names to Observer lists
/host/spi-builder-workspace/Sources/PureMVC/core/View.swift:44:37: error: cannot find 'DispatchQueue' in scope
42 | // Concurrent queue for observerMap
43 | // for speed and convenience of running concurrently while reading, and thread safety of blocking while mutating
44 | internal let observerMapQueue = DispatchQueue(label: "org.puremvc.view.observerMapQueue", attributes: DispatchQueue.Attributes.concurrent)
| `- error: cannot find 'DispatchQueue' in scope
45 |
46 | // Singleton instance
/host/spi-builder-workspace/Sources/PureMVC/core/View.swift:44:107: error: cannot find 'DispatchQueue' in scope
42 | // Concurrent queue for observerMap
43 | // for speed and convenience of running concurrently while reading, and thread safety of blocking while mutating
44 | internal let observerMapQueue = DispatchQueue(label: "org.puremvc.view.observerMapQueue", attributes: DispatchQueue.Attributes.concurrent)
| `- error: cannot find 'DispatchQueue' in scope
45 |
46 | // Singleton instance
/host/spi-builder-workspace/Sources/PureMVC/core/View.swift:47:24: warning: static property 'instance' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
45 |
46 | // Singleton instance
47 | private static var instance: IView?
| |- warning: static property 'instance' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'instance' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'instance' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
48 |
49 | // Concurrent queue for singleton instance
/host/spi-builder-workspace/Sources/PureMVC/core/View.swift:50:40: error: cannot find 'DispatchQueue' in scope
48 |
49 | // Concurrent queue for singleton instance
50 | private static let instanceQueue = DispatchQueue(label: "org.puremvc.view.instanceQueue", attributes: DispatchQueue.Attributes.concurrent)
| `- error: cannot find 'DispatchQueue' in scope
51 |
52 | /// Message constant
/host/spi-builder-workspace/Sources/PureMVC/core/View.swift:50:107: error: cannot find 'DispatchQueue' in scope
48 |
49 | // Concurrent queue for singleton instance
50 | private static let instanceQueue = DispatchQueue(label: "org.puremvc.view.instanceQueue", attributes: DispatchQueue.Attributes.concurrent)
| `- error: cannot find 'DispatchQueue' in scope
51 |
52 | /// Message constant
/host/spi-builder-workspace/Sources/PureMVC/core/View.swift:90:36: error: cannot infer contextual base in reference to member 'barrier'
88 | */
89 | open class func getInstance(_ factory: () -> IView) -> IView {
90 | instanceQueue.sync(flags: .barrier) {
| `- error: cannot infer contextual base in reference to member 'barrier'
91 | if(View.instance == nil) {
92 | View.instance = factory()
/host/spi-builder-workspace/Sources/PureMVC/core/View.swift:106:39: error: cannot infer contextual base in reference to member 'barrier'
104 | */
105 | open func registerObserver(_ notificationName: String, observer: IObserver) {
106 | observerMapQueue.sync(flags: .barrier) {
| `- error: cannot infer contextual base in reference to member 'barrier'
107 | if observerMap[notificationName] != nil {
108 | observerMap[notificationName]!.append(observer)
/host/spi-builder-workspace/Sources/PureMVC/core/View.swift:151:39: error: cannot infer contextual base in reference to member 'barrier'
149 | */
150 | open func removeObserver(_ notificationName: String, notifyContext: AnyObject) {
151 | observerMapQueue.sync(flags: .barrier) {
| `- error: cannot infer contextual base in reference to member 'barrier'
152 | // the observer list for the notification under inspection
153 | if let observers = observerMap[notificationName] {
/host/spi-builder-workspace/Sources/PureMVC/core/View.swift:196:39: error: cannot infer contextual base in reference to member 'barrier'
194 | }
195 |
196 | mediatorMapQueue.sync(flags: .barrier) {
| `- error: cannot infer contextual base in reference to member 'barrier'
197 | // Register the Mediator for retrieval by name
198 | mediatorMap[mediator.name] = mediator
/host/spi-builder-workspace/Sources/PureMVC/core/View.swift:256:39: error: cannot infer contextual base in reference to member 'barrier'
254 | @discardableResult open func removeMediator(_ mediatorName: String) -> IMediator? {
255 | var removed: IMediator?
256 | mediatorMapQueue.sync(flags: .barrier) {
| `- error: cannot infer contextual base in reference to member 'barrier'
257 | if let mediator = mediatorMap[mediatorName] {
258 | // for every notification this mediator is interested in...
[24/24] Compiling PureMVC View.swift
/host/spi-builder-workspace/Sources/PureMVC/core/Controller.swift:50:36: error: cannot find 'DispatchQueue' in scope
48 | // Concurrent queue for commandMap
49 | // for speed and convenience of running concurrently while reading, and thread safety of blocking while mutating
50 | internal let commandMapQueue = DispatchQueue(label: "org.puremvc.controller.commandMapQueue", attributes: DispatchQueue.Attributes.concurrent)
| `- error: cannot find 'DispatchQueue' in scope
51 |
52 | // Singleton instance
/host/spi-builder-workspace/Sources/PureMVC/core/Controller.swift:50:111: error: cannot find 'DispatchQueue' in scope
48 | // Concurrent queue for commandMap
49 | // for speed and convenience of running concurrently while reading, and thread safety of blocking while mutating
50 | internal let commandMapQueue = DispatchQueue(label: "org.puremvc.controller.commandMapQueue", attributes: DispatchQueue.Attributes.concurrent)
| `- error: cannot find 'DispatchQueue' in scope
51 |
52 | // Singleton instance
/host/spi-builder-workspace/Sources/PureMVC/core/Controller.swift:53:24: warning: static property 'instance' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
51 |
52 | // Singleton instance
53 | private static var instance: IController?
| |- warning: static property 'instance' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'instance' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'instance' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
54 |
55 | // Concurrent queue for singleton instance
/host/spi-builder-workspace/Sources/PureMVC/core/Controller.swift:56:40: error: cannot find 'DispatchQueue' in scope
54 |
55 | // Concurrent queue for singleton instance
56 | private static let instanceQueue = DispatchQueue(label: "org.puremvc.controller.instanceQueue", attributes: DispatchQueue.Attributes.concurrent)
| `- error: cannot find 'DispatchQueue' in scope
57 |
58 | /// Message constant
/host/spi-builder-workspace/Sources/PureMVC/core/Controller.swift:56:113: error: cannot find 'DispatchQueue' in scope
54 |
55 | // Concurrent queue for singleton instance
56 | private static let instanceQueue = DispatchQueue(label: "org.puremvc.controller.instanceQueue", attributes: DispatchQueue.Attributes.concurrent)
| `- error: cannot find 'DispatchQueue' in scope
57 |
58 | /// Message constant
/host/spi-builder-workspace/Sources/PureMVC/core/Controller.swift:103:36: error: cannot infer contextual base in reference to member 'barrier'
101 | */
102 | open class func getInstance(_ factory: () -> IController) -> IController {
103 | instanceQueue.sync(flags: .barrier) {
| `- error: cannot infer contextual base in reference to member 'barrier'
104 | if(Controller.instance == nil) {
105 | Controller.instance = factory()
/host/spi-builder-workspace/Sources/PureMVC/core/Controller.swift:126:38: error: cannot infer contextual base in reference to member 'barrier'
124 | */
125 | open func registerCommand(_ notificationName: String, factory: @escaping () -> ICommand) {
126 | commandMapQueue.sync(flags: .barrier) {
| `- error: cannot infer contextual base in reference to member 'barrier'
127 | if commandMap[notificationName] == nil { // weak reference to Controller (self) to avoid reference cycle with View and Observer
128 | view.registerObserver(notificationName, observer: Observer(notifyMethod: {[weak self] notification in self?.executeCommand(notification)}, notifyContext: self))
/host/spi-builder-workspace/Sources/PureMVC/core/Controller.swift:170:42: error: cannot infer contextual base in reference to member 'barrier'
168 | open func removeCommand(_ notificationName: String) {
169 | if hasCommand(notificationName) {
170 | commandMapQueue.sync(flags: .barrier) {
| `- error: cannot infer contextual base in reference to member 'barrier'
171 | view.removeObserver(notificationName, notifyContext: self)
172 | commandMap.removeValue(forKey: notificationName)
/host/spi-builder-workspace/Sources/PureMVC/core/Model.swift:39:34: error: cannot find 'DispatchQueue' in scope
37 | // Concurrent queue for proxyMap
38 | // for speed and convenience of running concurrently while reading, and thread safety of blocking while mutating
39 | internal let proxyMapQueue = DispatchQueue(label: "org.puremvc.model.proxyMapQueue", attributes: DispatchQueue.Attributes.concurrent)
| `- error: cannot find 'DispatchQueue' in scope
40 |
41 | // Singleton instance
/host/spi-builder-workspace/Sources/PureMVC/core/Model.swift:39:102: error: cannot find 'DispatchQueue' in scope
37 | // Concurrent queue for proxyMap
38 | // for speed and convenience of running concurrently while reading, and thread safety of blocking while mutating
39 | internal let proxyMapQueue = DispatchQueue(label: "org.puremvc.model.proxyMapQueue", attributes: DispatchQueue.Attributes.concurrent)
| `- error: cannot find 'DispatchQueue' in scope
40 |
41 | // Singleton instance
/host/spi-builder-workspace/Sources/PureMVC/core/Model.swift:42:24: warning: static property 'instance' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
40 |
41 | // Singleton instance
42 | private static var instance: IModel?
| |- warning: static property 'instance' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'instance' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'instance' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
43 |
44 | // Concurrent queue for singleton instance
/host/spi-builder-workspace/Sources/PureMVC/core/Model.swift:45:40: error: cannot find 'DispatchQueue' in scope
43 |
44 | // Concurrent queue for singleton instance
45 | private static let instanceQueue = DispatchQueue(label: "org.puremvc.model.instanceQueue", attributes: DispatchQueue.Attributes.concurrent)
| `- error: cannot find 'DispatchQueue' in scope
46 |
47 | /// Message constant
/host/spi-builder-workspace/Sources/PureMVC/core/Model.swift:45:108: error: cannot find 'DispatchQueue' in scope
43 |
44 | // Concurrent queue for singleton instance
45 | private static let instanceQueue = DispatchQueue(label: "org.puremvc.model.instanceQueue", attributes: DispatchQueue.Attributes.concurrent)
| `- error: cannot find 'DispatchQueue' in scope
46 |
47 | /// Message constant
/host/spi-builder-workspace/Sources/PureMVC/core/Model.swift:85:36: error: cannot infer contextual base in reference to member 'barrier'
83 | */
84 | open class func getInstance(_ factory: () -> IModel) -> IModel {
85 | instanceQueue.sync(flags: .barrier) {
| `- error: cannot infer contextual base in reference to member 'barrier'
86 | if(Model.instance == nil) {
87 | Model.instance = factory()
/host/spi-builder-workspace/Sources/PureMVC/core/Model.swift:99:36: error: cannot infer contextual base in reference to member 'barrier'
97 | */
98 | open func registerProxy(_ proxy: IProxy) {
99 | proxyMapQueue.sync(flags: .barrier) {
| `- error: cannot infer contextual base in reference to member 'barrier'
100 | proxyMap[proxy.name] = proxy
101 | proxy.onRegister()
/host/spi-builder-workspace/Sources/PureMVC/core/Model.swift:141:36: error: cannot infer contextual base in reference to member 'barrier'
139 | @discardableResult open func removeProxy(_ proxyName: String) -> IProxy? {
140 | var removed: IProxy?
141 | proxyMapQueue.sync(flags: .barrier) {
| `- error: cannot infer contextual base in reference to member 'barrier'
142 | if let proxy = proxyMap[proxyName] {
143 | proxy.onRemove()
/host/spi-builder-workspace/Sources/PureMVC/core/View.swift:37:37: error: cannot find 'DispatchQueue' in scope
35 | // Concurrent queue for mediatorMap
36 | // for speed and convenience of running concurrently while reading, and thread safety of blocking while mutating
37 | internal let mediatorMapQueue = DispatchQueue(label: "org.puremvc.view.mediatorMapQueue", attributes: DispatchQueue.Attributes.concurrent)
| `- error: cannot find 'DispatchQueue' in scope
38 |
39 | // Mapping of Notification names to Observer lists
/host/spi-builder-workspace/Sources/PureMVC/core/View.swift:37:107: error: cannot find 'DispatchQueue' in scope
35 | // Concurrent queue for mediatorMap
36 | // for speed and convenience of running concurrently while reading, and thread safety of blocking while mutating
37 | internal let mediatorMapQueue = DispatchQueue(label: "org.puremvc.view.mediatorMapQueue", attributes: DispatchQueue.Attributes.concurrent)
| `- error: cannot find 'DispatchQueue' in scope
38 |
39 | // Mapping of Notification names to Observer lists
/host/spi-builder-workspace/Sources/PureMVC/core/View.swift:44:37: error: cannot find 'DispatchQueue' in scope
42 | // Concurrent queue for observerMap
43 | // for speed and convenience of running concurrently while reading, and thread safety of blocking while mutating
44 | internal let observerMapQueue = DispatchQueue(label: "org.puremvc.view.observerMapQueue", attributes: DispatchQueue.Attributes.concurrent)
| `- error: cannot find 'DispatchQueue' in scope
45 |
46 | // Singleton instance
/host/spi-builder-workspace/Sources/PureMVC/core/View.swift:44:107: error: cannot find 'DispatchQueue' in scope
42 | // Concurrent queue for observerMap
43 | // for speed and convenience of running concurrently while reading, and thread safety of blocking while mutating
44 | internal let observerMapQueue = DispatchQueue(label: "org.puremvc.view.observerMapQueue", attributes: DispatchQueue.Attributes.concurrent)
| `- error: cannot find 'DispatchQueue' in scope
45 |
46 | // Singleton instance
/host/spi-builder-workspace/Sources/PureMVC/core/View.swift:47:24: warning: static property 'instance' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
45 |
46 | // Singleton instance
47 | private static var instance: IView?
| |- warning: static property 'instance' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'instance' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'instance' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
48 |
49 | // Concurrent queue for singleton instance
/host/spi-builder-workspace/Sources/PureMVC/core/View.swift:50:40: error: cannot find 'DispatchQueue' in scope
48 |
49 | // Concurrent queue for singleton instance
50 | private static let instanceQueue = DispatchQueue(label: "org.puremvc.view.instanceQueue", attributes: DispatchQueue.Attributes.concurrent)
| `- error: cannot find 'DispatchQueue' in scope
51 |
52 | /// Message constant
/host/spi-builder-workspace/Sources/PureMVC/core/View.swift:50:107: error: cannot find 'DispatchQueue' in scope
48 |
49 | // Concurrent queue for singleton instance
50 | private static let instanceQueue = DispatchQueue(label: "org.puremvc.view.instanceQueue", attributes: DispatchQueue.Attributes.concurrent)
| `- error: cannot find 'DispatchQueue' in scope
51 |
52 | /// Message constant
/host/spi-builder-workspace/Sources/PureMVC/core/View.swift:90:36: error: cannot infer contextual base in reference to member 'barrier'
88 | */
89 | open class func getInstance(_ factory: () -> IView) -> IView {
90 | instanceQueue.sync(flags: .barrier) {
| `- error: cannot infer contextual base in reference to member 'barrier'
91 | if(View.instance == nil) {
92 | View.instance = factory()
/host/spi-builder-workspace/Sources/PureMVC/core/View.swift:106:39: error: cannot infer contextual base in reference to member 'barrier'
104 | */
105 | open func registerObserver(_ notificationName: String, observer: IObserver) {
106 | observerMapQueue.sync(flags: .barrier) {
| `- error: cannot infer contextual base in reference to member 'barrier'
107 | if observerMap[notificationName] != nil {
108 | observerMap[notificationName]!.append(observer)
/host/spi-builder-workspace/Sources/PureMVC/core/View.swift:151:39: error: cannot infer contextual base in reference to member 'barrier'
149 | */
150 | open func removeObserver(_ notificationName: String, notifyContext: AnyObject) {
151 | observerMapQueue.sync(flags: .barrier) {
| `- error: cannot infer contextual base in reference to member 'barrier'
152 | // the observer list for the notification under inspection
153 | if let observers = observerMap[notificationName] {
/host/spi-builder-workspace/Sources/PureMVC/core/View.swift:196:39: error: cannot infer contextual base in reference to member 'barrier'
194 | }
195 |
196 | mediatorMapQueue.sync(flags: .barrier) {
| `- error: cannot infer contextual base in reference to member 'barrier'
197 | // Register the Mediator for retrieval by name
198 | mediatorMap[mediator.name] = mediator
/host/spi-builder-workspace/Sources/PureMVC/core/View.swift:256:39: error: cannot infer contextual base in reference to member 'barrier'
254 | @discardableResult open func removeMediator(_ mediatorName: String) -> IMediator? {
255 | var removed: IMediator?
256 | mediatorMapQueue.sync(flags: .barrier) {
| `- error: cannot infer contextual base in reference to member 'barrier'
257 | if let mediator = mediatorMap[mediatorName] {
258 | // for every notification this mediator is interested in...
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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/21] Compiling PureMVC IMediator.swift
[3/21] Compiling PureMVC IModel.swift
[4/21] Compiling PureMVC INotification.swift
[5/21] Compiling PureMVC ICommand.swift
[6/21] Compiling PureMVC IController.swift
[7/21] Compiling PureMVC IFacade.swift
[8/23] Compiling PureMVC INotifier.swift
[9/23] Compiling PureMVC IObserver.swift
[10/23] Compiling PureMVC IProxy.swift
[11/23] Compiling PureMVC Facade.swift
/host/spi-builder-workspace/Sources/PureMVC/patterns/facade/Facade.swift:45:40: error: cannot find 'DispatchQueue' in scope
43 |
44 | // Concurrent queue for singleton instance
45 | private static let instanceQueue = DispatchQueue(label: "org.puremvc.facade.instanceQueue", attributes: DispatchQueue.Attributes.concurrent)
| `- error: cannot find 'DispatchQueue' in scope
46 |
47 | /// Message Constant
/host/spi-builder-workspace/Sources/PureMVC/patterns/facade/Facade.swift:45:109: error: cannot find 'DispatchQueue' in scope
43 |
44 | // Concurrent queue for singleton instance
45 | private static let instanceQueue = DispatchQueue(label: "org.puremvc.facade.instanceQueue", attributes: DispatchQueue.Attributes.concurrent)
| `- error: cannot find 'DispatchQueue' in scope
46 |
47 | /// Message Constant
/host/spi-builder-workspace/Sources/PureMVC/patterns/facade/Facade.swift:87:36: error: cannot infer contextual base in reference to member 'barrier'
85 | */
86 | open class func getInstance(_ factory: (() -> IFacade)) -> IFacade {
87 | instanceQueue.sync(flags: .barrier) {
| `- error: cannot infer contextual base in reference to member 'barrier'
88 | if(Facade.instance == nil) {
89 | Facade.instance = factory()
[12/23] Compiling PureMVC Mediator.swift
/host/spi-builder-workspace/Sources/PureMVC/patterns/facade/Facade.swift:45:40: error: cannot find 'DispatchQueue' in scope
43 |
44 | // Concurrent queue for singleton instance
45 | private static let instanceQueue = DispatchQueue(label: "org.puremvc.facade.instanceQueue", attributes: DispatchQueue.Attributes.concurrent)
| `- error: cannot find 'DispatchQueue' in scope
46 |
47 | /// Message Constant
/host/spi-builder-workspace/Sources/PureMVC/patterns/facade/Facade.swift:45:109: error: cannot find 'DispatchQueue' in scope
43 |
44 | // Concurrent queue for singleton instance
45 | private static let instanceQueue = DispatchQueue(label: "org.puremvc.facade.instanceQueue", attributes: DispatchQueue.Attributes.concurrent)
| `- error: cannot find 'DispatchQueue' in scope
46 |
47 | /// Message Constant
/host/spi-builder-workspace/Sources/PureMVC/patterns/facade/Facade.swift:87:36: error: cannot infer contextual base in reference to member 'barrier'
85 | */
86 | open class func getInstance(_ factory: (() -> IFacade)) -> IFacade {
87 | instanceQueue.sync(flags: .barrier) {
| `- error: cannot infer contextual base in reference to member 'barrier'
88 | if(Facade.instance == nil) {
89 | Facade.instance = factory()
[13/23] Compiling PureMVC IView.swift
[14/23] Compiling PureMVC MacroCommand.swift
[15/23] Compiling PureMVC SimpleCommand.swift
[16/23] Compiling PureMVC Notification.swift
/host/spi-builder-workspace/Sources/PureMVC/patterns/facade/Facade.swift:45:40: error: cannot find 'DispatchQueue' in scope
43 |
44 | // Concurrent queue for singleton instance
45 | private static let instanceQueue = DispatchQueue(label: "org.puremvc.facade.instanceQueue", attributes: DispatchQueue.Attributes.concurrent)
| `- error: cannot find 'DispatchQueue' in scope
46 |
47 | /// Message Constant
/host/spi-builder-workspace/Sources/PureMVC/patterns/facade/Facade.swift:45:109: error: cannot find 'DispatchQueue' in scope
43 |
44 | // Concurrent queue for singleton instance
45 | private static let instanceQueue = DispatchQueue(label: "org.puremvc.facade.instanceQueue", attributes: DispatchQueue.Attributes.concurrent)
| `- error: cannot find 'DispatchQueue' in scope
46 |
47 | /// Message Constant
[17/23] Compiling PureMVC Notifier.swift
/host/spi-builder-workspace/Sources/PureMVC/patterns/facade/Facade.swift:45:40: error: cannot find 'DispatchQueue' in scope
43 |
44 | // Concurrent queue for singleton instance
45 | private static let instanceQueue = DispatchQueue(label: "org.puremvc.facade.instanceQueue", attributes: DispatchQueue.Attributes.concurrent)
| `- error: cannot find 'DispatchQueue' in scope
46 |
47 | /// Message Constant
/host/spi-builder-workspace/Sources/PureMVC/patterns/facade/Facade.swift:45:109: error: cannot find 'DispatchQueue' in scope
43 |
44 | // Concurrent queue for singleton instance
45 | private static let instanceQueue = DispatchQueue(label: "org.puremvc.facade.instanceQueue", attributes: DispatchQueue.Attributes.concurrent)
| `- error: cannot find 'DispatchQueue' in scope
46 |
47 | /// Message Constant
error: emit-module command failed with exit code 1 (use -v to see invocation)
[18/23] Emitting module PureMVC
/host/spi-builder-workspace/Sources/PureMVC/core/Controller.swift:50:36: error: cannot find 'DispatchQueue' in scope
48 | // Concurrent queue for commandMap
49 | // for speed and convenience of running concurrently while reading, and thread safety of blocking while mutating
50 | internal let commandMapQueue = DispatchQueue(label: "org.puremvc.controller.commandMapQueue", attributes: DispatchQueue.Attributes.concurrent)
| `- error: cannot find 'DispatchQueue' in scope
51 |
52 | // Singleton instance
/host/spi-builder-workspace/Sources/PureMVC/core/Controller.swift:50:111: error: cannot find 'DispatchQueue' in scope
48 | // Concurrent queue for commandMap
49 | // for speed and convenience of running concurrently while reading, and thread safety of blocking while mutating
50 | internal let commandMapQueue = DispatchQueue(label: "org.puremvc.controller.commandMapQueue", attributes: DispatchQueue.Attributes.concurrent)
| `- error: cannot find 'DispatchQueue' in scope
51 |
52 | // Singleton instance
/host/spi-builder-workspace/Sources/PureMVC/core/Controller.swift:56:40: error: cannot find 'DispatchQueue' in scope
54 |
55 | // Concurrent queue for singleton instance
56 | private static let instanceQueue = DispatchQueue(label: "org.puremvc.controller.instanceQueue", attributes: DispatchQueue.Attributes.concurrent)
| `- error: cannot find 'DispatchQueue' in scope
57 |
58 | /// Message constant
/host/spi-builder-workspace/Sources/PureMVC/core/Controller.swift:56:113: error: cannot find 'DispatchQueue' in scope
54 |
55 | // Concurrent queue for singleton instance
56 | private static let instanceQueue = DispatchQueue(label: "org.puremvc.controller.instanceQueue", attributes: DispatchQueue.Attributes.concurrent)
| `- error: cannot find 'DispatchQueue' in scope
57 |
58 | /// Message constant
/host/spi-builder-workspace/Sources/PureMVC/core/Model.swift:39:34: error: cannot find 'DispatchQueue' in scope
37 | // Concurrent queue for proxyMap
38 | // for speed and convenience of running concurrently while reading, and thread safety of blocking while mutating
39 | internal let proxyMapQueue = DispatchQueue(label: "org.puremvc.model.proxyMapQueue", attributes: DispatchQueue.Attributes.concurrent)
| `- error: cannot find 'DispatchQueue' in scope
40 |
41 | // Singleton instance
/host/spi-builder-workspace/Sources/PureMVC/core/Model.swift:39:102: error: cannot find 'DispatchQueue' in scope
37 | // Concurrent queue for proxyMap
38 | // for speed and convenience of running concurrently while reading, and thread safety of blocking while mutating
39 | internal let proxyMapQueue = DispatchQueue(label: "org.puremvc.model.proxyMapQueue", attributes: DispatchQueue.Attributes.concurrent)
| `- error: cannot find 'DispatchQueue' in scope
40 |
41 | // Singleton instance
/host/spi-builder-workspace/Sources/PureMVC/core/Model.swift:45:40: error: cannot find 'DispatchQueue' in scope
43 |
44 | // Concurrent queue for singleton instance
45 | private static let instanceQueue = DispatchQueue(label: "org.puremvc.model.instanceQueue", attributes: DispatchQueue.Attributes.concurrent)
| `- error: cannot find 'DispatchQueue' in scope
46 |
47 | /// Message constant
/host/spi-builder-workspace/Sources/PureMVC/core/Model.swift:45:108: error: cannot find 'DispatchQueue' in scope
43 |
44 | // Concurrent queue for singleton instance
45 | private static let instanceQueue = DispatchQueue(label: "org.puremvc.model.instanceQueue", attributes: DispatchQueue.Attributes.concurrent)
| `- error: cannot find 'DispatchQueue' in scope
46 |
47 | /// Message constant
/host/spi-builder-workspace/Sources/PureMVC/core/View.swift:37:37: error: cannot find 'DispatchQueue' in scope
35 | // Concurrent queue for mediatorMap
36 | // for speed and convenience of running concurrently while reading, and thread safety of blocking while mutating
37 | internal let mediatorMapQueue = DispatchQueue(label: "org.puremvc.view.mediatorMapQueue", attributes: DispatchQueue.Attributes.concurrent)
| `- error: cannot find 'DispatchQueue' in scope
38 |
39 | // Mapping of Notification names to Observer lists
/host/spi-builder-workspace/Sources/PureMVC/core/View.swift:37:107: error: cannot find 'DispatchQueue' in scope
35 | // Concurrent queue for mediatorMap
36 | // for speed and convenience of running concurrently while reading, and thread safety of blocking while mutating
37 | internal let mediatorMapQueue = DispatchQueue(label: "org.puremvc.view.mediatorMapQueue", attributes: DispatchQueue.Attributes.concurrent)
| `- error: cannot find 'DispatchQueue' in scope
38 |
39 | // Mapping of Notification names to Observer lists
/host/spi-builder-workspace/Sources/PureMVC/core/View.swift:44:37: error: cannot find 'DispatchQueue' in scope
42 | // Concurrent queue for observerMap
43 | // for speed and convenience of running concurrently while reading, and thread safety of blocking while mutating
44 | internal let observerMapQueue = DispatchQueue(label: "org.puremvc.view.observerMapQueue", attributes: DispatchQueue.Attributes.concurrent)
| `- error: cannot find 'DispatchQueue' in scope
45 |
46 | // Singleton instance
/host/spi-builder-workspace/Sources/PureMVC/core/View.swift:44:107: error: cannot find 'DispatchQueue' in scope
42 | // Concurrent queue for observerMap
43 | // for speed and convenience of running concurrently while reading, and thread safety of blocking while mutating
44 | internal let observerMapQueue = DispatchQueue(label: "org.puremvc.view.observerMapQueue", attributes: DispatchQueue.Attributes.concurrent)
| `- error: cannot find 'DispatchQueue' in scope
45 |
46 | // Singleton instance
/host/spi-builder-workspace/Sources/PureMVC/core/View.swift:50:40: error: cannot find 'DispatchQueue' in scope
48 |
49 | // Concurrent queue for singleton instance
50 | private static let instanceQueue = DispatchQueue(label: "org.puremvc.view.instanceQueue", attributes: DispatchQueue.Attributes.concurrent)
| `- error: cannot find 'DispatchQueue' in scope
51 |
52 | /// Message constant
/host/spi-builder-workspace/Sources/PureMVC/core/View.swift:50:107: error: cannot find 'DispatchQueue' in scope
48 |
49 | // Concurrent queue for singleton instance
50 | private static let instanceQueue = DispatchQueue(label: "org.puremvc.view.instanceQueue", attributes: DispatchQueue.Attributes.concurrent)
| `- error: cannot find 'DispatchQueue' in scope
51 |
52 | /// Message constant
/host/spi-builder-workspace/Sources/PureMVC/patterns/facade/Facade.swift:45:40: error: cannot find 'DispatchQueue' in scope
43 |
44 | // Concurrent queue for singleton instance
45 | private static let instanceQueue = DispatchQueue(label: "org.puremvc.facade.instanceQueue", attributes: DispatchQueue.Attributes.concurrent)
| `- error: cannot find 'DispatchQueue' in scope
46 |
47 | /// Message Constant
/host/spi-builder-workspace/Sources/PureMVC/patterns/facade/Facade.swift:45:109: error: cannot find 'DispatchQueue' in scope
43 |
44 | // Concurrent queue for singleton instance
45 | private static let instanceQueue = DispatchQueue(label: "org.puremvc.facade.instanceQueue", attributes: DispatchQueue.Attributes.concurrent)
| `- error: cannot find 'DispatchQueue' in scope
46 |
47 | /// Message Constant
[19/23] Compiling PureMVC Controller.swift
/host/spi-builder-workspace/Sources/PureMVC/core/Controller.swift:50:36: error: cannot find 'DispatchQueue' in scope
48 | // Concurrent queue for commandMap
49 | // for speed and convenience of running concurrently while reading, and thread safety of blocking while mutating
50 | internal let commandMapQueue = DispatchQueue(label: "org.puremvc.controller.commandMapQueue", attributes: DispatchQueue.Attributes.concurrent)
| `- error: cannot find 'DispatchQueue' in scope
51 |
52 | // Singleton instance
/host/spi-builder-workspace/Sources/PureMVC/core/Controller.swift:50:111: error: cannot find 'DispatchQueue' in scope
48 | // Concurrent queue for commandMap
49 | // for speed and convenience of running concurrently while reading, and thread safety of blocking while mutating
50 | internal let commandMapQueue = DispatchQueue(label: "org.puremvc.controller.commandMapQueue", attributes: DispatchQueue.Attributes.concurrent)
| `- error: cannot find 'DispatchQueue' in scope
51 |
52 | // Singleton instance
/host/spi-builder-workspace/Sources/PureMVC/core/Controller.swift:56:40: error: cannot find 'DispatchQueue' in scope
54 |
55 | // Concurrent queue for singleton instance
56 | private static let instanceQueue = DispatchQueue(label: "org.puremvc.controller.instanceQueue", attributes: DispatchQueue.Attributes.concurrent)
| `- error: cannot find 'DispatchQueue' in scope
57 |
58 | /// Message constant
/host/spi-builder-workspace/Sources/PureMVC/core/Controller.swift:56:113: error: cannot find 'DispatchQueue' in scope
54 |
55 | // Concurrent queue for singleton instance
56 | private static let instanceQueue = DispatchQueue(label: "org.puremvc.controller.instanceQueue", attributes: DispatchQueue.Attributes.concurrent)
| `- error: cannot find 'DispatchQueue' in scope
57 |
58 | /// Message constant
/host/spi-builder-workspace/Sources/PureMVC/core/Controller.swift:103:36: error: cannot infer contextual base in reference to member 'barrier'
101 | */
102 | open class func getInstance(_ factory: () -> IController) -> IController {
103 | instanceQueue.sync(flags: .barrier) {
| `- error: cannot infer contextual base in reference to member 'barrier'
104 | if(Controller.instance == nil) {
105 | Controller.instance = factory()
/host/spi-builder-workspace/Sources/PureMVC/core/Controller.swift:126:38: error: cannot infer contextual base in reference to member 'barrier'
124 | */
125 | open func registerCommand(_ notificationName: String, factory: @escaping () -> ICommand) {
126 | commandMapQueue.sync(flags: .barrier) {
| `- error: cannot infer contextual base in reference to member 'barrier'
127 | if commandMap[notificationName] == nil { // weak reference to Controller (self) to avoid reference cycle with View and Observer
128 | view.registerObserver(notificationName, observer: Observer(notifyMethod: {[weak self] notification in self?.executeCommand(notification)}, notifyContext: self))
/host/spi-builder-workspace/Sources/PureMVC/core/Controller.swift:170:42: error: cannot infer contextual base in reference to member 'barrier'
168 | open func removeCommand(_ notificationName: String) {
169 | if hasCommand(notificationName) {
170 | commandMapQueue.sync(flags: .barrier) {
| `- error: cannot infer contextual base in reference to member 'barrier'
171 | view.removeObserver(notificationName, notifyContext: self)
172 | commandMap.removeValue(forKey: notificationName)
/host/spi-builder-workspace/Sources/PureMVC/core/Model.swift:39:34: error: cannot find 'DispatchQueue' in scope
37 | // Concurrent queue for proxyMap
38 | // for speed and convenience of running concurrently while reading, and thread safety of blocking while mutating
39 | internal let proxyMapQueue = DispatchQueue(label: "org.puremvc.model.proxyMapQueue", attributes: DispatchQueue.Attributes.concurrent)
| `- error: cannot find 'DispatchQueue' in scope
40 |
41 | // Singleton instance
/host/spi-builder-workspace/Sources/PureMVC/core/Model.swift:39:102: error: cannot find 'DispatchQueue' in scope
37 | // Concurrent queue for proxyMap
38 | // for speed and convenience of running concurrently while reading, and thread safety of blocking while mutating
39 | internal let proxyMapQueue = DispatchQueue(label: "org.puremvc.model.proxyMapQueue", attributes: DispatchQueue.Attributes.concurrent)
| `- error: cannot find 'DispatchQueue' in scope
40 |
41 | // Singleton instance
/host/spi-builder-workspace/Sources/PureMVC/core/Model.swift:45:40: error: cannot find 'DispatchQueue' in scope
43 |
44 | // Concurrent queue for singleton instance
45 | private static let instanceQueue = DispatchQueue(label: "org.puremvc.model.instanceQueue", attributes: DispatchQueue.Attributes.concurrent)
| `- error: cannot find 'DispatchQueue' in scope
46 |
47 | /// Message constant
/host/spi-builder-workspace/Sources/PureMVC/core/Model.swift:45:108: error: cannot find 'DispatchQueue' in scope
43 |
44 | // Concurrent queue for singleton instance
45 | private static let instanceQueue = DispatchQueue(label: "org.puremvc.model.instanceQueue", attributes: DispatchQueue.Attributes.concurrent)
| `- error: cannot find 'DispatchQueue' in scope
46 |
47 | /// Message constant
/host/spi-builder-workspace/Sources/PureMVC/core/Model.swift:85:36: error: cannot infer contextual base in reference to member 'barrier'
83 | */
84 | open class func getInstance(_ factory: () -> IModel) -> IModel {
85 | instanceQueue.sync(flags: .barrier) {
| `- error: cannot infer contextual base in reference to member 'barrier'
86 | if(Model.instance == nil) {
87 | Model.instance = factory()
/host/spi-builder-workspace/Sources/PureMVC/core/Model.swift:99:36: error: cannot infer contextual base in reference to member 'barrier'
97 | */
98 | open func registerProxy(_ proxy: IProxy) {
99 | proxyMapQueue.sync(flags: .barrier) {
| `- error: cannot infer contextual base in reference to member 'barrier'
100 | proxyMap[proxy.name] = proxy
101 | proxy.onRegister()
/host/spi-builder-workspace/Sources/PureMVC/core/Model.swift:141:36: error: cannot infer contextual base in reference to member 'barrier'
139 | @discardableResult open func removeProxy(_ proxyName: String) -> IProxy? {
140 | var removed: IProxy?
141 | proxyMapQueue.sync(flags: .barrier) {
| `- error: cannot infer contextual base in reference to member 'barrier'
142 | if let proxy = proxyMap[proxyName] {
143 | proxy.onRemove()
/host/spi-builder-workspace/Sources/PureMVC/core/View.swift:37:37: error: cannot find 'DispatchQueue' in scope
35 | // Concurrent queue for mediatorMap
36 | // for speed and convenience of running concurrently while reading, and thread safety of blocking while mutating
37 | internal let mediatorMapQueue = DispatchQueue(label: "org.puremvc.view.mediatorMapQueue", attributes: DispatchQueue.Attributes.concurrent)
| `- error: cannot find 'DispatchQueue' in scope
38 |
39 | // Mapping of Notification names to Observer lists
/host/spi-builder-workspace/Sources/PureMVC/core/View.swift:37:107: error: cannot find 'DispatchQueue' in scope
35 | // Concurrent queue for mediatorMap
36 | // for speed and convenience of running concurrently while reading, and thread safety of blocking while mutating
37 | internal let mediatorMapQueue = DispatchQueue(label: "org.puremvc.view.mediatorMapQueue", attributes: DispatchQueue.Attributes.concurrent)
| `- error: cannot find 'DispatchQueue' in scope
38 |
39 | // Mapping of Notification names to Observer lists
/host/spi-builder-workspace/Sources/PureMVC/core/View.swift:44:37: error: cannot find 'DispatchQueue' in scope
42 | // Concurrent queue for observerMap
43 | // for speed and convenience of running concurrently while reading, and thread safety of blocking while mutating
44 | internal let observerMapQueue = DispatchQueue(label: "org.puremvc.view.observerMapQueue", attributes: DispatchQueue.Attributes.concurrent)
| `- error: cannot find 'DispatchQueue' in scope
45 |
46 | // Singleton instance
/host/spi-builder-workspace/Sources/PureMVC/core/View.swift:44:107: error: cannot find 'DispatchQueue' in scope
42 | // Concurrent queue for observerMap
43 | // for speed and convenience of running concurrently while reading, and thread safety of blocking while mutating
44 | internal let observerMapQueue = DispatchQueue(label: "org.puremvc.view.observerMapQueue", attributes: DispatchQueue.Attributes.concurrent)
| `- error: cannot find 'DispatchQueue' in scope
45 |
46 | // Singleton instance
/host/spi-builder-workspace/Sources/PureMVC/core/View.swift:50:40: error: cannot find 'DispatchQueue' in scope
48 |
49 | // Concurrent queue for singleton instance
50 | private static let instanceQueue = DispatchQueue(label: "org.puremvc.view.instanceQueue", attributes: DispatchQueue.Attributes.concurrent)
| `- error: cannot find 'DispatchQueue' in scope
51 |
52 | /// Message constant
/host/spi-builder-workspace/Sources/PureMVC/core/View.swift:50:107: error: cannot find 'DispatchQueue' in scope
48 |
49 | // Concurrent queue for singleton instance
50 | private static let instanceQueue = DispatchQueue(label: "org.puremvc.view.instanceQueue", attributes: DispatchQueue.Attributes.concurrent)
| `- error: cannot find 'DispatchQueue' in scope
51 |
52 | /// Message constant
/host/spi-builder-workspace/Sources/PureMVC/core/View.swift:90:36: error: cannot infer contextual base in reference to member 'barrier'
88 | */
89 | open class func getInstance(_ factory: () -> IView) -> IView {
90 | instanceQueue.sync(flags: .barrier) {
| `- error: cannot infer contextual base in reference to member 'barrier'
91 | if(View.instance == nil) {
92 | View.instance = factory()
/host/spi-builder-workspace/Sources/PureMVC/core/View.swift:106:39: error: cannot infer contextual base in reference to member 'barrier'
104 | */
105 | open func registerObserver(_ notificationName: String, observer: IObserver) {
106 | observerMapQueue.sync(flags: .barrier) {
| `- error: cannot infer contextual base in reference to member 'barrier'
107 | if observerMap[notificationName] != nil {
108 | observerMap[notificationName]!.append(observer)
/host/spi-builder-workspace/Sources/PureMVC/core/View.swift:151:39: error: cannot infer contextual base in reference to member 'barrier'
149 | */
150 | open func removeObserver(_ notificationName: String, notifyContext: AnyObject) {
151 | observerMapQueue.sync(flags: .barrier) {
| `- error: cannot infer contextual base in reference to member 'barrier'
152 | // the observer list for the notification under inspection
153 | if let observers = observerMap[notificationName] {
/host/spi-builder-workspace/Sources/PureMVC/core/View.swift:196:39: error: cannot infer contextual base in reference to member 'barrier'
194 | }
195 |
196 | mediatorMapQueue.sync(flags: .barrier) {
| `- error: cannot infer contextual base in reference to member 'barrier'
197 | // Register the Mediator for retrieval by name
198 | mediatorMap[mediator.name] = mediator
/host/spi-builder-workspace/Sources/PureMVC/core/View.swift:256:39: error: cannot infer contextual base in reference to member 'barrier'
254 | @discardableResult open func removeMediator(_ mediatorName: String) -> IMediator? {
255 | var removed: IMediator?
256 | mediatorMapQueue.sync(flags: .barrier) {
| `- error: cannot infer contextual base in reference to member 'barrier'
257 | if let mediator = mediatorMap[mediatorName] {
258 | // for every notification this mediator is interested in...
[20/23] Compiling PureMVC Model.swift
/host/spi-builder-workspace/Sources/PureMVC/core/Controller.swift:50:36: error: cannot find 'DispatchQueue' in scope
48 | // Concurrent queue for commandMap
49 | // for speed and convenience of running concurrently while reading, and thread safety of blocking while mutating
50 | internal let commandMapQueue = DispatchQueue(label: "org.puremvc.controller.commandMapQueue", attributes: DispatchQueue.Attributes.concurrent)
| `- error: cannot find 'DispatchQueue' in scope
51 |
52 | // Singleton instance
/host/spi-builder-workspace/Sources/PureMVC/core/Controller.swift:50:111: error: cannot find 'DispatchQueue' in scope
48 | // Concurrent queue for commandMap
49 | // for speed and convenience of running concurrently while reading, and thread safety of blocking while mutating
50 | internal let commandMapQueue = DispatchQueue(label: "org.puremvc.controller.commandMapQueue", attributes: DispatchQueue.Attributes.concurrent)
| `- error: cannot find 'DispatchQueue' in scope
51 |
52 | // Singleton instance
/host/spi-builder-workspace/Sources/PureMVC/core/Controller.swift:56:40: error: cannot find 'DispatchQueue' in scope
54 |
55 | // Concurrent queue for singleton instance
56 | private static let instanceQueue = DispatchQueue(label: "org.puremvc.controller.instanceQueue", attributes: DispatchQueue.Attributes.concurrent)
| `- error: cannot find 'DispatchQueue' in scope
57 |
58 | /// Message constant
/host/spi-builder-workspace/Sources/PureMVC/core/Controller.swift:56:113: error: cannot find 'DispatchQueue' in scope
54 |
55 | // Concurrent queue for singleton instance
56 | private static let instanceQueue = DispatchQueue(label: "org.puremvc.controller.instanceQueue", attributes: DispatchQueue.Attributes.concurrent)
| `- error: cannot find 'DispatchQueue' in scope
57 |
58 | /// Message constant
/host/spi-builder-workspace/Sources/PureMVC/core/Controller.swift:103:36: error: cannot infer contextual base in reference to member 'barrier'
101 | */
102 | open class func getInstance(_ factory: () -> IController) -> IController {
103 | instanceQueue.sync(flags: .barrier) {
| `- error: cannot infer contextual base in reference to member 'barrier'
104 | if(Controller.instance == nil) {
105 | Controller.instance = factory()
/host/spi-builder-workspace/Sources/PureMVC/core/Controller.swift:126:38: error: cannot infer contextual base in reference to member 'barrier'
124 | */
125 | open func registerCommand(_ notificationName: String, factory: @escaping () -> ICommand) {
126 | commandMapQueue.sync(flags: .barrier) {
| `- error: cannot infer contextual base in reference to member 'barrier'
127 | if commandMap[notificationName] == nil { // weak reference to Controller (self) to avoid reference cycle with View and Observer
128 | view.registerObserver(notificationName, observer: Observer(notifyMethod: {[weak self] notification in self?.executeCommand(notification)}, notifyContext: self))
/host/spi-builder-workspace/Sources/PureMVC/core/Controller.swift:170:42: error: cannot infer contextual base in reference to member 'barrier'
168 | open func removeCommand(_ notificationName: String) {
169 | if hasCommand(notificationName) {
170 | commandMapQueue.sync(flags: .barrier) {
| `- error: cannot infer contextual base in reference to member 'barrier'
171 | view.removeObserver(notificationName, notifyContext: self)
172 | commandMap.removeValue(forKey: notificationName)
/host/spi-builder-workspace/Sources/PureMVC/core/Model.swift:39:34: error: cannot find 'DispatchQueue' in scope
37 | // Concurrent queue for proxyMap
38 | // for speed and convenience of running concurrently while reading, and thread safety of blocking while mutating
39 | internal let proxyMapQueue = DispatchQueue(label: "org.puremvc.model.proxyMapQueue", attributes: DispatchQueue.Attributes.concurrent)
| `- error: cannot find 'DispatchQueue' in scope
40 |
41 | // Singleton instance
/host/spi-builder-workspace/Sources/PureMVC/core/Model.swift:39:102: error: cannot find 'DispatchQueue' in scope
37 | // Concurrent queue for proxyMap
38 | // for speed and convenience of running concurrently while reading, and thread safety of blocking while mutating
39 | internal let proxyMapQueue = DispatchQueue(label: "org.puremvc.model.proxyMapQueue", attributes: DispatchQueue.Attributes.concurrent)
| `- error: cannot find 'DispatchQueue' in scope
40 |
41 | // Singleton instance
/host/spi-builder-workspace/Sources/PureMVC/core/Model.swift:45:40: error: cannot find 'DispatchQueue' in scope
43 |
44 | // Concurrent queue for singleton instance
45 | private static let instanceQueue = DispatchQueue(label: "org.puremvc.model.instanceQueue", attributes: DispatchQueue.Attributes.concurrent)
| `- error: cannot find 'DispatchQueue' in scope
46 |
47 | /// Message constant
/host/spi-builder-workspace/Sources/PureMVC/core/Model.swift:45:108: error: cannot find 'DispatchQueue' in scope
43 |
44 | // Concurrent queue for singleton instance
45 | private static let instanceQueue = DispatchQueue(label: "org.puremvc.model.instanceQueue", attributes: DispatchQueue.Attributes.concurrent)
| `- error: cannot find 'DispatchQueue' in scope
46 |
47 | /// Message constant
/host/spi-builder-workspace/Sources/PureMVC/core/Model.swift:85:36: error: cannot infer contextual base in reference to member 'barrier'
83 | */
84 | open class func getInstance(_ factory: () -> IModel) -> IModel {
85 | instanceQueue.sync(flags: .barrier) {
| `- error: cannot infer contextual base in reference to member 'barrier'
86 | if(Model.instance == nil) {
87 | Model.instance = factory()
/host/spi-builder-workspace/Sources/PureMVC/core/Model.swift:99:36: error: cannot infer contextual base in reference to member 'barrier'
97 | */
98 | open func registerProxy(_ proxy: IProxy) {
99 | proxyMapQueue.sync(flags: .barrier) {
| `- error: cannot infer contextual base in reference to member 'barrier'
100 | proxyMap[proxy.name] = proxy
101 | proxy.onRegister()
/host/spi-builder-workspace/Sources/PureMVC/core/Model.swift:141:36: error: cannot infer contextual base in reference to member 'barrier'
139 | @discardableResult open func removeProxy(_ proxyName: String) -> IProxy? {
140 | var removed: IProxy?
141 | proxyMapQueue.sync(flags: .barrier) {
| `- error: cannot infer contextual base in reference to member 'barrier'
142 | if let proxy = proxyMap[proxyName] {
143 | proxy.onRemove()
/host/spi-builder-workspace/Sources/PureMVC/core/View.swift:37:37: error: cannot find 'DispatchQueue' in scope
35 | // Concurrent queue for mediatorMap
36 | // for speed and convenience of running concurrently while reading, and thread safety of blocking while mutating
37 | internal let mediatorMapQueue = DispatchQueue(label: "org.puremvc.view.mediatorMapQueue", attributes: DispatchQueue.Attributes.concurrent)
| `- error: cannot find 'DispatchQueue' in scope
38 |
39 | // Mapping of Notification names to Observer lists
/host/spi-builder-workspace/Sources/PureMVC/core/View.swift:37:107: error: cannot find 'DispatchQueue' in scope
35 | // Concurrent queue for mediatorMap
36 | // for speed and convenience of running concurrently while reading, and thread safety of blocking while mutating
37 | internal let mediatorMapQueue = DispatchQueue(label: "org.puremvc.view.mediatorMapQueue", attributes: DispatchQueue.Attributes.concurrent)
| `- error: cannot find 'DispatchQueue' in scope
38 |
39 | // Mapping of Notification names to Observer lists
/host/spi-builder-workspace/Sources/PureMVC/core/View.swift:44:37: error: cannot find 'DispatchQueue' in scope
42 | // Concurrent queue for observerMap
43 | // for speed and convenience of running concurrently while reading, and thread safety of blocking while mutating
44 | internal let observerMapQueue = DispatchQueue(label: "org.puremvc.view.observerMapQueue", attributes: DispatchQueue.Attributes.concurrent)
| `- error: cannot find 'DispatchQueue' in scope
45 |
46 | // Singleton instance
/host/spi-builder-workspace/Sources/PureMVC/core/View.swift:44:107: error: cannot find 'DispatchQueue' in scope
42 | // Concurrent queue for observerMap
43 | // for speed and convenience of running concurrently while reading, and thread safety of blocking while mutating
44 | internal let observerMapQueue = DispatchQueue(label: "org.puremvc.view.observerMapQueue", attributes: DispatchQueue.Attributes.concurrent)
| `- error: cannot find 'DispatchQueue' in scope
45 |
46 | // Singleton instance
/host/spi-builder-workspace/Sources/PureMVC/core/View.swift:50:40: error: cannot find 'DispatchQueue' in scope
48 |
49 | // Concurrent queue for singleton instance
50 | private static let instanceQueue = DispatchQueue(label: "org.puremvc.view.instanceQueue", attributes: DispatchQueue.Attributes.concurrent)
| `- error: cannot find 'DispatchQueue' in scope
51 |
52 | /// Message constant
/host/spi-builder-workspace/Sources/PureMVC/core/View.swift:50:107: error: cannot find 'DispatchQueue' in scope
48 |
49 | // Concurrent queue for singleton instance
50 | private static let instanceQueue = DispatchQueue(label: "org.puremvc.view.instanceQueue", attributes: DispatchQueue.Attributes.concurrent)
| `- error: cannot find 'DispatchQueue' in scope
51 |
52 | /// Message constant
/host/spi-builder-workspace/Sources/PureMVC/core/View.swift:90:36: error: cannot infer contextual base in reference to member 'barrier'
88 | */
89 | open class func getInstance(_ factory: () -> IView) -> IView {
90 | instanceQueue.sync(flags: .barrier) {
| `- error: cannot infer contextual base in reference to member 'barrier'
91 | if(View.instance == nil) {
92 | View.instance = factory()
/host/spi-builder-workspace/Sources/PureMVC/core/View.swift:106:39: error: cannot infer contextual base in reference to member 'barrier'
104 | */
105 | open func registerObserver(_ notificationName: String, observer: IObserver) {
106 | observerMapQueue.sync(flags: .barrier) {
| `- error: cannot infer contextual base in reference to member 'barrier'
107 | if observerMap[notificationName] != nil {
108 | observerMap[notificationName]!.append(observer)
/host/spi-builder-workspace/Sources/PureMVC/core/View.swift:151:39: error: cannot infer contextual base in reference to member 'barrier'
149 | */
150 | open func removeObserver(_ notificationName: String, notifyContext: AnyObject) {
151 | observerMapQueue.sync(flags: .barrier) {
| `- error: cannot infer contextual base in reference to member 'barrier'
152 | // the observer list for the notification under inspection
153 | if let observers = observerMap[notificationName] {
/host/spi-builder-workspace/Sources/PureMVC/core/View.swift:196:39: error: cannot infer contextual base in reference to member 'barrier'
194 | }
195 |
196 | mediatorMapQueue.sync(flags: .barrier) {
| `- error: cannot infer contextual base in reference to member 'barrier'
197 | // Register the Mediator for retrieval by name
198 | mediatorMap[mediator.name] = mediator
/host/spi-builder-workspace/Sources/PureMVC/core/View.swift:256:39: error: cannot infer contextual base in reference to member 'barrier'
254 | @discardableResult open func removeMediator(_ mediatorName: String) -> IMediator? {
255 | var removed: IMediator?
256 | mediatorMapQueue.sync(flags: .barrier) {
| `- error: cannot infer contextual base in reference to member 'barrier'
257 | if let mediator = mediatorMap[mediatorName] {
258 | // for every notification this mediator is interested in...
[21/23] Compiling PureMVC View.swift
/host/spi-builder-workspace/Sources/PureMVC/core/Controller.swift:50:36: error: cannot find 'DispatchQueue' in scope
48 | // Concurrent queue for commandMap
49 | // for speed and convenience of running concurrently while reading, and thread safety of blocking while mutating
50 | internal let commandMapQueue = DispatchQueue(label: "org.puremvc.controller.commandMapQueue", attributes: DispatchQueue.Attributes.concurrent)
| `- error: cannot find 'DispatchQueue' in scope
51 |
52 | // Singleton instance
/host/spi-builder-workspace/Sources/PureMVC/core/Controller.swift:50:111: error: cannot find 'DispatchQueue' in scope
48 | // Concurrent queue for commandMap
49 | // for speed and convenience of running concurrently while reading, and thread safety of blocking while mutating
50 | internal let commandMapQueue = DispatchQueue(label: "org.puremvc.controller.commandMapQueue", attributes: DispatchQueue.Attributes.concurrent)
| `- error: cannot find 'DispatchQueue' in scope
51 |
52 | // Singleton instance
/host/spi-builder-workspace/Sources/PureMVC/core/Controller.swift:56:40: error: cannot find 'DispatchQueue' in scope
54 |
55 | // Concurrent queue for singleton instance
56 | private static let instanceQueue = DispatchQueue(label: "org.puremvc.controller.instanceQueue", attributes: DispatchQueue.Attributes.concurrent)
| `- error: cannot find 'DispatchQueue' in scope
57 |
58 | /// Message constant
/host/spi-builder-workspace/Sources/PureMVC/core/Controller.swift:56:113: error: cannot find 'DispatchQueue' in scope
54 |
55 | // Concurrent queue for singleton instance
56 | private static let instanceQueue = DispatchQueue(label: "org.puremvc.controller.instanceQueue", attributes: DispatchQueue.Attributes.concurrent)
| `- error: cannot find 'DispatchQueue' in scope
57 |
58 | /// Message constant
/host/spi-builder-workspace/Sources/PureMVC/core/Controller.swift:103:36: error: cannot infer contextual base in reference to member 'barrier'
101 | */
102 | open class func getInstance(_ factory: () -> IController) -> IController {
103 | instanceQueue.sync(flags: .barrier) {
| `- error: cannot infer contextual base in reference to member 'barrier'
104 | if(Controller.instance == nil) {
105 | Controller.instance = factory()
/host/spi-builder-workspace/Sources/PureMVC/core/Controller.swift:126:38: error: cannot infer contextual base in reference to member 'barrier'
124 | */
125 | open func registerCommand(_ notificationName: String, factory: @escaping () -> ICommand) {
126 | commandMapQueue.sync(flags: .barrier) {
| `- error: cannot infer contextual base in reference to member 'barrier'
127 | if commandMap[notificationName] == nil { // weak reference to Controller (self) to avoid reference cycle with View and Observer
128 | view.registerObserver(notificationName, observer: Observer(notifyMethod: {[weak self] notification in self?.executeCommand(notification)}, notifyContext: self))
/host/spi-builder-workspace/Sources/PureMVC/core/Controller.swift:170:42: error: cannot infer contextual base in reference to member 'barrier'
168 | open func removeCommand(_ notificationName: String) {
169 | if hasCommand(notificationName) {
170 | commandMapQueue.sync(flags: .barrier) {
| `- error: cannot infer contextual base in reference to member 'barrier'
171 | view.removeObserver(notificationName, notifyContext: self)
172 | commandMap.removeValue(forKey: notificationName)
/host/spi-builder-workspace/Sources/PureMVC/core/Model.swift:39:34: error: cannot find 'DispatchQueue' in scope
37 | // Concurrent queue for proxyMap
38 | // for speed and convenience of running concurrently while reading, and thread safety of blocking while mutating
39 | internal let proxyMapQueue = DispatchQueue(label: "org.puremvc.model.proxyMapQueue", attributes: DispatchQueue.Attributes.concurrent)
| `- error: cannot find 'DispatchQueue' in scope
40 |
41 | // Singleton instance
/host/spi-builder-workspace/Sources/PureMVC/core/Model.swift:39:102: error: cannot find 'DispatchQueue' in scope
37 | // Concurrent queue for proxyMap
38 | // for speed and convenience of running concurrently while reading, and thread safety of blocking while mutating
39 | internal let proxyMapQueue = DispatchQueue(label: "org.puremvc.model.proxyMapQueue", attributes: DispatchQueue.Attributes.concurrent)
| `- error: cannot find 'DispatchQueue' in scope
40 |
41 | // Singleton instance
/host/spi-builder-workspace/Sources/PureMVC/core/Model.swift:45:40: error: cannot find 'DispatchQueue' in scope
43 |
44 | // Concurrent queue for singleton instance
45 | private static let instanceQueue = DispatchQueue(label: "org.puremvc.model.instanceQueue", attributes: DispatchQueue.Attributes.concurrent)
| `- error: cannot find 'DispatchQueue' in scope
46 |
47 | /// Message constant
/host/spi-builder-workspace/Sources/PureMVC/core/Model.swift:45:108: error: cannot find 'DispatchQueue' in scope
43 |
44 | // Concurrent queue for singleton instance
45 | private static let instanceQueue = DispatchQueue(label: "org.puremvc.model.instanceQueue", attributes: DispatchQueue.Attributes.concurrent)
| `- error: cannot find 'DispatchQueue' in scope
46 |
47 | /// Message constant
/host/spi-builder-workspace/Sources/PureMVC/core/Model.swift:85:36: error: cannot infer contextual base in reference to member 'barrier'
83 | */
84 | open class func getInstance(_ factory: () -> IModel) -> IModel {
85 | instanceQueue.sync(flags: .barrier) {
| `- error: cannot infer contextual base in reference to member 'barrier'
86 | if(Model.instance == nil) {
87 | Model.instance = factory()
/host/spi-builder-workspace/Sources/PureMVC/core/Model.swift:99:36: error: cannot infer contextual base in reference to member 'barrier'
97 | */
98 | open func registerProxy(_ proxy: IProxy) {
99 | proxyMapQueue.sync(flags: .barrier) {
| `- error: cannot infer contextual base in reference to member 'barrier'
100 | proxyMap[proxy.name] = proxy
101 | proxy.onRegister()
/host/spi-builder-workspace/Sources/PureMVC/core/Model.swift:141:36: error: cannot infer contextual base in reference to member 'barrier'
139 | @discardableResult open func removeProxy(_ proxyName: String) -> IProxy? {
140 | var removed: IProxy?
141 | proxyMapQueue.sync(flags: .barrier) {
| `- error: cannot infer contextual base in reference to member 'barrier'
142 | if let proxy = proxyMap[proxyName] {
143 | proxy.onRemove()
/host/spi-builder-workspace/Sources/PureMVC/core/View.swift:37:37: error: cannot find 'DispatchQueue' in scope
35 | // Concurrent queue for mediatorMap
36 | // for speed and convenience of running concurrently while reading, and thread safety of blocking while mutating
37 | internal let mediatorMapQueue = DispatchQueue(label: "org.puremvc.view.mediatorMapQueue", attributes: DispatchQueue.Attributes.concurrent)
| `- error: cannot find 'DispatchQueue' in scope
38 |
39 | // Mapping of Notification names to Observer lists
/host/spi-builder-workspace/Sources/PureMVC/core/View.swift:37:107: error: cannot find 'DispatchQueue' in scope
35 | // Concurrent queue for mediatorMap
36 | // for speed and convenience of running concurrently while reading, and thread safety of blocking while mutating
37 | internal let mediatorMapQueue = DispatchQueue(label: "org.puremvc.view.mediatorMapQueue", attributes: DispatchQueue.Attributes.concurrent)
| `- error: cannot find 'DispatchQueue' in scope
38 |
39 | // Mapping of Notification names to Observer lists
/host/spi-builder-workspace/Sources/PureMVC/core/View.swift:44:37: error: cannot find 'DispatchQueue' in scope
42 | // Concurrent queue for observerMap
43 | // for speed and convenience of running concurrently while reading, and thread safety of blocking while mutating
44 | internal let observerMapQueue = DispatchQueue(label: "org.puremvc.view.observerMapQueue", attributes: DispatchQueue.Attributes.concurrent)
| `- error: cannot find 'DispatchQueue' in scope
45 |
46 | // Singleton instance
/host/spi-builder-workspace/Sources/PureMVC/core/View.swift:44:107: error: cannot find 'DispatchQueue' in scope
42 | // Concurrent queue for observerMap
43 | // for speed and convenience of running concurrently while reading, and thread safety of blocking while mutating
44 | internal let observerMapQueue = DispatchQueue(label: "org.puremvc.view.observerMapQueue", attributes: DispatchQueue.Attributes.concurrent)
| `- error: cannot find 'DispatchQueue' in scope
45 |
46 | // Singleton instance
/host/spi-builder-workspace/Sources/PureMVC/core/View.swift:50:40: error: cannot find 'DispatchQueue' in scope
48 |
49 | // Concurrent queue for singleton instance
50 | private static let instanceQueue = DispatchQueue(label: "org.puremvc.view.instanceQueue", attributes: DispatchQueue.Attributes.concurrent)
| `- error: cannot find 'DispatchQueue' in scope
51 |
52 | /// Message constant
/host/spi-builder-workspace/Sources/PureMVC/core/View.swift:50:107: error: cannot find 'DispatchQueue' in scope
48 |
49 | // Concurrent queue for singleton instance
50 | private static let instanceQueue = DispatchQueue(label: "org.puremvc.view.instanceQueue", attributes: DispatchQueue.Attributes.concurrent)
| `- error: cannot find 'DispatchQueue' in scope
51 |
52 | /// Message constant
/host/spi-builder-workspace/Sources/PureMVC/core/View.swift:90:36: error: cannot infer contextual base in reference to member 'barrier'
88 | */
89 | open class func getInstance(_ factory: () -> IView) -> IView {
90 | instanceQueue.sync(flags: .barrier) {
| `- error: cannot infer contextual base in reference to member 'barrier'
91 | if(View.instance == nil) {
92 | View.instance = factory()
/host/spi-builder-workspace/Sources/PureMVC/core/View.swift:106:39: error: cannot infer contextual base in reference to member 'barrier'
104 | */
105 | open func registerObserver(_ notificationName: String, observer: IObserver) {
106 | observerMapQueue.sync(flags: .barrier) {
| `- error: cannot infer contextual base in reference to member 'barrier'
107 | if observerMap[notificationName] != nil {
108 | observerMap[notificationName]!.append(observer)
/host/spi-builder-workspace/Sources/PureMVC/core/View.swift:151:39: error: cannot infer contextual base in reference to member 'barrier'
149 | */
150 | open func removeObserver(_ notificationName: String, notifyContext: AnyObject) {
151 | observerMapQueue.sync(flags: .barrier) {
| `- error: cannot infer contextual base in reference to member 'barrier'
152 | // the observer list for the notification under inspection
153 | if let observers = observerMap[notificationName] {
/host/spi-builder-workspace/Sources/PureMVC/core/View.swift:196:39: error: cannot infer contextual base in reference to member 'barrier'
194 | }
195 |
196 | mediatorMapQueue.sync(flags: .barrier) {
| `- error: cannot infer contextual base in reference to member 'barrier'
197 | // Register the Mediator for retrieval by name
198 | mediatorMap[mediator.name] = mediator
/host/spi-builder-workspace/Sources/PureMVC/core/View.swift:256:39: error: cannot infer contextual base in reference to member 'barrier'
254 | @discardableResult open func removeMediator(_ mediatorName: String) -> IMediator? {
255 | var removed: IMediator?
256 | mediatorMapQueue.sync(flags: .barrier) {
| `- error: cannot infer contextual base in reference to member 'barrier'
257 | if let mediator = mediatorMap[mediatorName] {
258 | // for every notification this mediator is interested in...
[22/23] Compiling PureMVC Observer.swift
[23/23] Compiling PureMVC Proxy.swift
BUILD FAILURE 6.1 wasm