The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build PureMVC, reference 1.8.0 (ea7870), with Swift 6.1 for Wasm on 31 May 2025 17:41:48 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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-multicore-framework.git
Reference: 1.8.0
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/puremvc/puremvc-swift-multicore-framework
 * tag               1.8.0      -> FETCH_HEAD
HEAD is now at ea78705 update
Cloned https://github.com/puremvc/puremvc-swift-multicore-framework.git
Revision (git rev-parse @):
ea787055b1862fbbb3a0e25e6bea01cdfddeded5
SUCCESS checkout https://github.com/puremvc/puremvc-swift-multicore-framework.git at 1.8.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/puremvc/puremvc-swift-multicore-framework.git
https://github.com/puremvc/puremvc-swift-multicore-framework.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swift-docc-plugin",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.1.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/swiftlang/swift-docc-plugin"
    }
  ],
  "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/ControllerExtend.swift",
        "core/ControllerExtendTest.swift",
        "core/ControllerTest.swift",
        "core/ControllerTestCommand.swift",
        "core/ControllerTestCommand2.swift",
        "core/ControllerTestVO.swift",
        "core/ModelExtend.swift",
        "core/ModelExtendTest.swift",
        "core/ModelTest.swift",
        "core/ModelTestProxy.swift",
        "core/Resource.swift",
        "core/ViewExtend.swift",
        "core/ViewExtendTest.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/ApplicationMediator.swift",
        "patterns/facade/DataProxy.swift",
        "patterns/facade/FacadeExtend.swift",
        "patterns/facade/FacadeExtendTest.swift",
        "patterns/facade/FacadeTest.swift",
        "patterns/facade/FacadeTestCommand.swift",
        "patterns/facade/FacadeTestCommand2.swift",
        "patterns/facade/FacadeTestVO.swift",
        "patterns/facade/ResourceCommand.swift",
        "patterns/facade/ShellFacade.swift",
        "patterns/facade/ShellFacadeTest.swift",
        "patterns/mediator/MediatorTest.swift",
        "patterns/mediator/ResourceMediator.swift",
        "patterns/observer/NotificationTest.swift",
        "patterns/observer/NotifierTest.swift",
        "patterns/observer/ObserverTest.swift",
        "patterns/proxy/ProxyTest.swift",
        "patterns/proxy/ResourceProxy.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-0":/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
Fetching https://github.com/swiftlang/swift-docc-plugin
[1/2049] Fetching swift-docc-plugin
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (0.35s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.4.3 (0.89s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3393] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.36s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.27s)
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/swiftlang/swift-docc-plugin
Working copy of https://github.com/swiftlang/swift-docc-plugin resolved at 1.4.3
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/4] Write sources
[3/4] Write swift-version-24593BA9C3E375BF.txt
[5/24] Compiling PureMVC ICommand.swift
[6/24] Compiling PureMVC IController.swift
[7/24] Compiling PureMVC IFacade.swift
[8/26] Compiling PureMVC IView.swift
[9/26] Compiling PureMVC MacroCommand.swift
[10/26] Compiling PureMVC SimpleCommand.swift
[11/26] Compiling PureMVC Observer.swift
[12/26] Compiling PureMVC Proxy.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[13/26] Compiling PureMVC INotifier.swift
[14/26] Compiling PureMVC IObserver.swift
[15/26] Compiling PureMVC IProxy.swift
[16/26] 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 |     /// The Multiton Key for this app
/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 |     /// The Multiton Key for this app
/host/spi-builder-workspace/Sources/PureMVC/core/Controller.swift:56:24: warning: static property 'instanceMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 54 |
 55 |     // The Multiton Controller instanceMap.
 56 |     private static var instanceMap = [String: IController]()
    |                        |- warning: static property 'instanceMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert 'instanceMap' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: add '@MainActor' to make static property 'instanceMap' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 57 |
 58 |     // instance Queue for thread safety
/host/spi-builder-workspace/Sources/PureMVC/core/Controller.swift:59:40: error: cannot find 'DispatchQueue' in scope
 57 |
 58 |     // instance Queue for thread safety
 59 |     private static let instanceQueue = DispatchQueue(label: "org.puremvc.controller.instanceQueue", attributes: DispatchQueue.Attributes.concurrent)
    |                                        `- error: cannot find 'DispatchQueue' in scope
 60 |
 61 |     /// Message constant
/host/spi-builder-workspace/Sources/PureMVC/core/Controller.swift:59:113: error: cannot find 'DispatchQueue' in scope
 57 |
 58 |     // instance Queue for thread safety
 59 |     private static let instanceQueue = DispatchQueue(label: "org.puremvc.controller.instanceQueue", attributes: DispatchQueue.Attributes.concurrent)
    |                                                                                                                 `- error: cannot find 'DispatchQueue' in scope
 60 |
 61 |     /// 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 |     /// The Multiton Key for this app
/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 |     /// The Multiton Key for this app
/host/spi-builder-workspace/Sources/PureMVC/core/Model.swift:45:24: warning: static property 'instanceMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 43 |
 44 |     // The Multiton Model instanceMap.
 45 |     private static var instanceMap = [String: IModel]()
    |                        |- warning: static property 'instanceMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert 'instanceMap' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: add '@MainActor' to make static property 'instanceMap' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 46 |
 47 |     // instance Queue for thread safety
/host/spi-builder-workspace/Sources/PureMVC/core/Model.swift:48:40: error: cannot find 'DispatchQueue' in scope
 46 |
 47 |     // instance Queue for thread safety
 48 |     private static let instanceQueue = DispatchQueue(label: "org.puremvc.model.instanceQueue", attributes: DispatchQueue.Attributes.concurrent)
    |                                        `- error: cannot find 'DispatchQueue' in scope
 49 |
 50 |     /// Message constant
/host/spi-builder-workspace/Sources/PureMVC/core/Model.swift:48:108: error: cannot find 'DispatchQueue' in scope
 46 |
 47 |     // instance Queue for thread safety
 48 |     private static let instanceQueue = DispatchQueue(label: "org.puremvc.model.instanceQueue", attributes: DispatchQueue.Attributes.concurrent)
    |                                                                                                            `- error: cannot find 'DispatchQueue' in scope
 49 |
 50 |     /// 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 |     /// The Multiton Key for this app
/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 |     /// The Multiton Key for this app
/host/spi-builder-workspace/Sources/PureMVC/core/View.swift:50:24: warning: static property 'instanceMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 48 |
 49 |     // The Multiton View instanceMap.
 50 |     private static var instanceMap = [String: IView]()
    |                        |- warning: static property 'instanceMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert 'instanceMap' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: add '@MainActor' to make static property 'instanceMap' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 51 |
 52 |     // instance Queue for thread safety
/host/spi-builder-workspace/Sources/PureMVC/core/View.swift:53:40: error: cannot find 'DispatchQueue' in scope
 51 |
 52 |     // instance Queue for thread safety
 53 |     private static let instanceQueue = DispatchQueue(label: "org.puremvc.view.instanceQueue", attributes: DispatchQueue.Attributes.concurrent)
    |                                        `- error: cannot find 'DispatchQueue' in scope
 54 |
 55 |     /// Message constant
/host/spi-builder-workspace/Sources/PureMVC/core/View.swift:53:107: error: cannot find 'DispatchQueue' in scope
 51 |
 52 |     // instance Queue for thread safety
 53 |     private static let instanceQueue = DispatchQueue(label: "org.puremvc.view.instanceQueue", attributes: DispatchQueue.Attributes.concurrent)
    |                                                                                                           `- error: cannot find 'DispatchQueue' in scope
 54 |
 55 |     /// Message constant
/host/spi-builder-workspace/Sources/PureMVC/patterns/facade/Facade.swift:35:24: warning: static property 'instanceMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 33 |
 34 |     // The Multiton Facade instanceMap.
 35 |     private static var instanceMap = [String: IFacade]()
    |                        |- warning: static property 'instanceMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert 'instanceMap' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: add '@MainActor' to make static property 'instanceMap' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 36 |
 37 |     // Concurrent queue for instanceMap
/host/spi-builder-workspace/Sources/PureMVC/patterns/facade/Facade.swift:39:43: error: cannot find 'DispatchQueue' in scope
 37 |     // Concurrent queue for instanceMap
 38 |     // for speed and convenience of running concurrently while reading, and thread safety of blocking while mutating
 39 |     private static let instanceMapQueue = DispatchQueue(label: "org.puremvc.facade.instanceMapQueue", attributes: DispatchQueue.Attributes.concurrent)
    |                                           `- error: cannot find 'DispatchQueue' in scope
 40 |
 41 |     /// Message constant
/host/spi-builder-workspace/Sources/PureMVC/patterns/facade/Facade.swift:39:115: error: cannot find 'DispatchQueue' in scope
 37 |     // Concurrent queue for instanceMap
 38 |     // for speed and convenience of running concurrently while reading, and thread safety of blocking while mutating
 39 |     private static let instanceMapQueue = DispatchQueue(label: "org.puremvc.facade.instanceMapQueue", attributes: DispatchQueue.Attributes.concurrent)
    |                                                                                                                   `- error: cannot find 'DispatchQueue' in scope
 40 |
 41 |     /// Message constant
[17/26] 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 |     /// The Multiton Key for this app
/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 |     /// The Multiton Key for this app
/host/spi-builder-workspace/Sources/PureMVC/core/Controller.swift:56:24: warning: static property 'instanceMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 54 |
 55 |     // The Multiton Controller instanceMap.
 56 |     private static var instanceMap = [String: IController]()
    |                        |- warning: static property 'instanceMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert 'instanceMap' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: add '@MainActor' to make static property 'instanceMap' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 57 |
 58 |     // instance Queue for thread safety
/host/spi-builder-workspace/Sources/PureMVC/core/Controller.swift:59:40: error: cannot find 'DispatchQueue' in scope
 57 |
 58 |     // instance Queue for thread safety
 59 |     private static let instanceQueue = DispatchQueue(label: "org.puremvc.controller.instanceQueue", attributes: DispatchQueue.Attributes.concurrent)
    |                                        `- error: cannot find 'DispatchQueue' in scope
 60 |
 61 |     /// Message constant
/host/spi-builder-workspace/Sources/PureMVC/core/Controller.swift:59:113: error: cannot find 'DispatchQueue' in scope
 57 |
 58 |     // instance Queue for thread safety
 59 |     private static let instanceQueue = DispatchQueue(label: "org.puremvc.controller.instanceQueue", attributes: DispatchQueue.Attributes.concurrent)
    |                                                                                                                 `- error: cannot find 'DispatchQueue' in scope
 60 |
 61 |     /// Message constant
/host/spi-builder-workspace/Sources/PureMVC/core/Controller.swift:109:36: error: cannot infer contextual base in reference to member 'barrier'
107 |     */
108 |     open class func getInstance(_ key:String, factory: (String) -> IController) -> IController? {
109 |         instanceQueue.sync(flags: .barrier) {
    |                                    `- error: cannot infer contextual base in reference to member 'barrier'
110 |             if instanceMap[key] == nil {
111 |                 instanceMap[key] = factory(key)
/host/spi-builder-workspace/Sources/PureMVC/core/Controller.swift:132:38: error: cannot infer contextual base in reference to member 'barrier'
130 |     */
131 |     open func registerCommand(_ notificationName: String, factory: @escaping () -> ICommand) {
132 |         commandMapQueue.sync(flags: .barrier) {
    |                                      `- error: cannot infer contextual base in reference to member 'barrier'
133 |             if commandMap[notificationName] == nil { // weak reference to Controller (self) to avoid reference cycle with View and Observer
134 |                 view.registerObserver(notificationName, observer: Observer(notifyMethod: {[weak self] notification in self?.executeCommand(notification)}, notifyContext: self))
/host/spi-builder-workspace/Sources/PureMVC/core/Controller.swift:175:38: error: cannot infer contextual base in reference to member 'barrier'
173 |     */
174 |     open func removeCommand(_ notificationName: String) {
175 |         commandMapQueue.sync(flags: .barrier) {
    |                                      `- error: cannot infer contextual base in reference to member 'barrier'
176 |             guard commandMap[notificationName] != nil else { return }
177 |             view.removeObserver(notificationName, notifyContext: self)
/host/spi-builder-workspace/Sources/PureMVC/core/Controller.swift:189:36: error: cannot infer contextual base in reference to member 'barrier'
187 |     */
188 |     open class func removeController(_ key: String) {
189 |         instanceQueue.sync(flags: .barrier) {
    |                                    `- error: cannot infer contextual base in reference to member 'barrier'
190 |             _ = instanceMap.removeValue(forKey: key)
191 |         }
/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 |     /// The Multiton Key for this app
/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 |     /// The Multiton Key for this app
/host/spi-builder-workspace/Sources/PureMVC/core/Model.swift:45:24: warning: static property 'instanceMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 43 |
 44 |     // The Multiton Model instanceMap.
 45 |     private static var instanceMap = [String: IModel]()
    |                        |- warning: static property 'instanceMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert 'instanceMap' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: add '@MainActor' to make static property 'instanceMap' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 46 |
 47 |     // instance Queue for thread safety
/host/spi-builder-workspace/Sources/PureMVC/core/Model.swift:48:40: error: cannot find 'DispatchQueue' in scope
 46 |
 47 |     // instance Queue for thread safety
 48 |     private static let instanceQueue = DispatchQueue(label: "org.puremvc.model.instanceQueue", attributes: DispatchQueue.Attributes.concurrent)
    |                                        `- error: cannot find 'DispatchQueue' in scope
 49 |
 50 |     /// Message constant
/host/spi-builder-workspace/Sources/PureMVC/core/Model.swift:48:108: error: cannot find 'DispatchQueue' in scope
 46 |
 47 |     // instance Queue for thread safety
 48 |     private static let instanceQueue = DispatchQueue(label: "org.puremvc.model.instanceQueue", attributes: DispatchQueue.Attributes.concurrent)
    |                                                                                                            `- error: cannot find 'DispatchQueue' in scope
 49 |
 50 |     /// Message constant
/host/spi-builder-workspace/Sources/PureMVC/core/Model.swift:92:36: error: cannot infer contextual base in reference to member 'barrier'
 90 |     */
 91 |     open class func getInstance(_ key: String, factory: (String) -> IModel) -> IModel? {
 92 |         instanceQueue.sync(flags: .barrier) {
    |                                    `- error: cannot infer contextual base in reference to member 'barrier'
 93 |             if instanceMap[key] == nil {
 94 |                 instanceMap[key] = factory(key)
/host/spi-builder-workspace/Sources/PureMVC/core/Model.swift:107:36: error: cannot infer contextual base in reference to member 'barrier'
105 |     open func registerProxy(_ proxy: IProxy) {
106 |         proxy.initializeNotifier(multitonKey)
107 |         proxyMapQueue.sync(flags: .barrier) {
    |                                    `- error: cannot infer contextual base in reference to member 'barrier'
108 |             proxyMap[proxy.name] = proxy
109 |         }
/host/spi-builder-workspace/Sources/PureMVC/core/Model.swift:145:36: error: cannot infer contextual base in reference to member 'barrier'
143 |     @discardableResult open func removeProxy(_ proxyName: String) -> IProxy? {
144 |         var removed: IProxy?
145 |         proxyMapQueue.sync(flags: .barrier) {
    |                                    `- error: cannot infer contextual base in reference to member 'barrier'
146 |             removed = proxyMap.removeValue(forKey: proxyName)
147 |         }
/host/spi-builder-workspace/Sources/PureMVC/core/Model.swift:159:36: error: cannot infer contextual base in reference to member 'barrier'
157 |     */
158 |     open class func removeModel(_ key: String) {
159 |         instanceQueue.sync(flags: .barrier) {
    |                                    `- error: cannot infer contextual base in reference to member 'barrier'
160 |             _ = instanceMap.removeValue(forKey: key)
161 |         }
/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 |     /// The Multiton Key for this app
/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 |     /// The Multiton Key for this app
/host/spi-builder-workspace/Sources/PureMVC/core/View.swift:50:24: warning: static property 'instanceMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 48 |
 49 |     // The Multiton View instanceMap.
 50 |     private static var instanceMap = [String: IView]()
    |                        |- warning: static property 'instanceMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert 'instanceMap' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: add '@MainActor' to make static property 'instanceMap' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 51 |
 52 |     // instance Queue for thread safety
/host/spi-builder-workspace/Sources/PureMVC/core/View.swift:53:40: error: cannot find 'DispatchQueue' in scope
 51 |
 52 |     // instance Queue for thread safety
 53 |     private static let instanceQueue = DispatchQueue(label: "org.puremvc.view.instanceQueue", attributes: DispatchQueue.Attributes.concurrent)
    |                                        `- error: cannot find 'DispatchQueue' in scope
 54 |
 55 |     /// Message constant
/host/spi-builder-workspace/Sources/PureMVC/core/View.swift:53:107: error: cannot find 'DispatchQueue' in scope
 51 |
 52 |     // instance Queue for thread safety
 53 |     private static let instanceQueue = DispatchQueue(label: "org.puremvc.view.instanceQueue", attributes: DispatchQueue.Attributes.concurrent)
    |                                                                                                           `- error: cannot find 'DispatchQueue' in scope
 54 |
 55 |     /// Message constant
/host/spi-builder-workspace/Sources/PureMVC/core/View.swift:97:36: error: cannot infer contextual base in reference to member 'barrier'
 95 |     */
 96 |     open class func getInstance(_ key: String, factory: (String) -> IView) -> IView? {
 97 |         instanceQueue.sync(flags: .barrier) {
    |                                    `- error: cannot infer contextual base in reference to member 'barrier'
 98 |             if instanceMap[key] == nil {
 99 |                 instanceMap[key] = factory(key)
/host/spi-builder-workspace/Sources/PureMVC/core/View.swift:113:39: error: cannot infer contextual base in reference to member 'barrier'
111 |     */
112 |     open func registerObserver(_ notificationName: String, observer: IObserver) {
113 |         observerMapQueue.sync(flags: .barrier) {
    |                                       `- error: cannot infer contextual base in reference to member 'barrier'
114 |             if observerMap[notificationName] != nil {
115 |                 observerMap[notificationName]!.append(observer)
/host/spi-builder-workspace/Sources/PureMVC/core/View.swift:150:39: error: cannot infer contextual base in reference to member 'barrier'
148 |     */
149 |     open func removeObserver(_ notificationName: String, notifyContext: AnyObject) {
150 |         observerMapQueue.sync(flags: .barrier) {
    |                                       `- error: cannot infer contextual base in reference to member 'barrier'
151 |             // the observer list for the notification under inspection
152 |             guard var observers = observerMap[notificationName] else { return }
/host/spi-builder-workspace/Sources/PureMVC/core/View.swift:192:39: error: cannot infer contextual base in reference to member 'barrier'
190 |         mediator.initializeNotifier(multitonKey)
191 |
192 |         mediatorMapQueue.sync(flags: .barrier) {
    |                                       `- error: cannot infer contextual base in reference to member 'barrier'
193 |             // Register the Mediator for retrieval by name
194 |             mediatorMap[mediator.name] = mediator
/host/spi-builder-workspace/Sources/PureMVC/core/View.swift:243:53: error: cannot infer contextual base in reference to member 'barrier'
241 |     @discardableResult open func removeMediator(_ mediatorName: String) -> IMediator? {
242 |         // remove the mediator from the map
243 |         let removed = mediatorMapQueue.sync(flags: .barrier) {
    |                                                     `- error: cannot infer contextual base in reference to member 'barrier'
244 |             mediatorMap.removeValue(forKey: mediatorName)
245 |         }
/host/spi-builder-workspace/Sources/PureMVC/core/View.swift:268:36: error: cannot infer contextual base in reference to member 'barrier'
266 |     */
267 |     open class func removeView(_ key: String) {
268 |         instanceQueue.sync(flags: .barrier) {
    |                                    `- error: cannot infer contextual base in reference to member 'barrier'
269 |             _ = instanceMap.removeValue(forKey: key)
270 |         }
[18/26] 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 |     /// The Multiton Key for this app
/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 |     /// The Multiton Key for this app
/host/spi-builder-workspace/Sources/PureMVC/core/Controller.swift:56:24: warning: static property 'instanceMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 54 |
 55 |     // The Multiton Controller instanceMap.
 56 |     private static var instanceMap = [String: IController]()
    |                        |- warning: static property 'instanceMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert 'instanceMap' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: add '@MainActor' to make static property 'instanceMap' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 57 |
 58 |     // instance Queue for thread safety
/host/spi-builder-workspace/Sources/PureMVC/core/Controller.swift:59:40: error: cannot find 'DispatchQueue' in scope
 57 |
 58 |     // instance Queue for thread safety
 59 |     private static let instanceQueue = DispatchQueue(label: "org.puremvc.controller.instanceQueue", attributes: DispatchQueue.Attributes.concurrent)
    |                                        `- error: cannot find 'DispatchQueue' in scope
 60 |
 61 |     /// Message constant
/host/spi-builder-workspace/Sources/PureMVC/core/Controller.swift:59:113: error: cannot find 'DispatchQueue' in scope
 57 |
 58 |     // instance Queue for thread safety
 59 |     private static let instanceQueue = DispatchQueue(label: "org.puremvc.controller.instanceQueue", attributes: DispatchQueue.Attributes.concurrent)
    |                                                                                                                 `- error: cannot find 'DispatchQueue' in scope
 60 |
 61 |     /// Message constant
/host/spi-builder-workspace/Sources/PureMVC/core/Controller.swift:109:36: error: cannot infer contextual base in reference to member 'barrier'
107 |     */
108 |     open class func getInstance(_ key:String, factory: (String) -> IController) -> IController? {
109 |         instanceQueue.sync(flags: .barrier) {
    |                                    `- error: cannot infer contextual base in reference to member 'barrier'
110 |             if instanceMap[key] == nil {
111 |                 instanceMap[key] = factory(key)
/host/spi-builder-workspace/Sources/PureMVC/core/Controller.swift:132:38: error: cannot infer contextual base in reference to member 'barrier'
130 |     */
131 |     open func registerCommand(_ notificationName: String, factory: @escaping () -> ICommand) {
132 |         commandMapQueue.sync(flags: .barrier) {
    |                                      `- error: cannot infer contextual base in reference to member 'barrier'
133 |             if commandMap[notificationName] == nil { // weak reference to Controller (self) to avoid reference cycle with View and Observer
134 |                 view.registerObserver(notificationName, observer: Observer(notifyMethod: {[weak self] notification in self?.executeCommand(notification)}, notifyContext: self))
/host/spi-builder-workspace/Sources/PureMVC/core/Controller.swift:175:38: error: cannot infer contextual base in reference to member 'barrier'
173 |     */
174 |     open func removeCommand(_ notificationName: String) {
175 |         commandMapQueue.sync(flags: .barrier) {
    |                                      `- error: cannot infer contextual base in reference to member 'barrier'
176 |             guard commandMap[notificationName] != nil else { return }
177 |             view.removeObserver(notificationName, notifyContext: self)
/host/spi-builder-workspace/Sources/PureMVC/core/Controller.swift:189:36: error: cannot infer contextual base in reference to member 'barrier'
187 |     */
188 |     open class func removeController(_ key: String) {
189 |         instanceQueue.sync(flags: .barrier) {
    |                                    `- error: cannot infer contextual base in reference to member 'barrier'
190 |             _ = instanceMap.removeValue(forKey: key)
191 |         }
/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 |     /// The Multiton Key for this app
/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 |     /// The Multiton Key for this app
/host/spi-builder-workspace/Sources/PureMVC/core/Model.swift:45:24: warning: static property 'instanceMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 43 |
 44 |     // The Multiton Model instanceMap.
 45 |     private static var instanceMap = [String: IModel]()
    |                        |- warning: static property 'instanceMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert 'instanceMap' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: add '@MainActor' to make static property 'instanceMap' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 46 |
 47 |     // instance Queue for thread safety
/host/spi-builder-workspace/Sources/PureMVC/core/Model.swift:48:40: error: cannot find 'DispatchQueue' in scope
 46 |
 47 |     // instance Queue for thread safety
 48 |     private static let instanceQueue = DispatchQueue(label: "org.puremvc.model.instanceQueue", attributes: DispatchQueue.Attributes.concurrent)
    |                                        `- error: cannot find 'DispatchQueue' in scope
 49 |
 50 |     /// Message constant
/host/spi-builder-workspace/Sources/PureMVC/core/Model.swift:48:108: error: cannot find 'DispatchQueue' in scope
 46 |
 47 |     // instance Queue for thread safety
 48 |     private static let instanceQueue = DispatchQueue(label: "org.puremvc.model.instanceQueue", attributes: DispatchQueue.Attributes.concurrent)
    |                                                                                                            `- error: cannot find 'DispatchQueue' in scope
 49 |
 50 |     /// Message constant
/host/spi-builder-workspace/Sources/PureMVC/core/Model.swift:92:36: error: cannot infer contextual base in reference to member 'barrier'
 90 |     */
 91 |     open class func getInstance(_ key: String, factory: (String) -> IModel) -> IModel? {
 92 |         instanceQueue.sync(flags: .barrier) {
    |                                    `- error: cannot infer contextual base in reference to member 'barrier'
 93 |             if instanceMap[key] == nil {
 94 |                 instanceMap[key] = factory(key)
/host/spi-builder-workspace/Sources/PureMVC/core/Model.swift:107:36: error: cannot infer contextual base in reference to member 'barrier'
105 |     open func registerProxy(_ proxy: IProxy) {
106 |         proxy.initializeNotifier(multitonKey)
107 |         proxyMapQueue.sync(flags: .barrier) {
    |                                    `- error: cannot infer contextual base in reference to member 'barrier'
108 |             proxyMap[proxy.name] = proxy
109 |         }
/host/spi-builder-workspace/Sources/PureMVC/core/Model.swift:145:36: error: cannot infer contextual base in reference to member 'barrier'
143 |     @discardableResult open func removeProxy(_ proxyName: String) -> IProxy? {
144 |         var removed: IProxy?
145 |         proxyMapQueue.sync(flags: .barrier) {
    |                                    `- error: cannot infer contextual base in reference to member 'barrier'
146 |             removed = proxyMap.removeValue(forKey: proxyName)
147 |         }
/host/spi-builder-workspace/Sources/PureMVC/core/Model.swift:159:36: error: cannot infer contextual base in reference to member 'barrier'
157 |     */
158 |     open class func removeModel(_ key: String) {
159 |         instanceQueue.sync(flags: .barrier) {
    |                                    `- error: cannot infer contextual base in reference to member 'barrier'
160 |             _ = instanceMap.removeValue(forKey: key)
161 |         }
/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 |     /// The Multiton Key for this app
/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 |     /// The Multiton Key for this app
/host/spi-builder-workspace/Sources/PureMVC/core/View.swift:50:24: warning: static property 'instanceMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 48 |
 49 |     // The Multiton View instanceMap.
 50 |     private static var instanceMap = [String: IView]()
    |                        |- warning: static property 'instanceMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert 'instanceMap' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: add '@MainActor' to make static property 'instanceMap' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 51 |
 52 |     // instance Queue for thread safety
/host/spi-builder-workspace/Sources/PureMVC/core/View.swift:53:40: error: cannot find 'DispatchQueue' in scope
 51 |
 52 |     // instance Queue for thread safety
 53 |     private static let instanceQueue = DispatchQueue(label: "org.puremvc.view.instanceQueue", attributes: DispatchQueue.Attributes.concurrent)
    |                                        `- error: cannot find 'DispatchQueue' in scope
 54 |
 55 |     /// Message constant
/host/spi-builder-workspace/Sources/PureMVC/core/View.swift:53:107: error: cannot find 'DispatchQueue' in scope
 51 |
 52 |     // instance Queue for thread safety
 53 |     private static let instanceQueue = DispatchQueue(label: "org.puremvc.view.instanceQueue", attributes: DispatchQueue.Attributes.concurrent)
    |                                                                                                           `- error: cannot find 'DispatchQueue' in scope
 54 |
 55 |     /// Message constant
/host/spi-builder-workspace/Sources/PureMVC/core/View.swift:97:36: error: cannot infer contextual base in reference to member 'barrier'
 95 |     */
 96 |     open class func getInstance(_ key: String, factory: (String) -> IView) -> IView? {
 97 |         instanceQueue.sync(flags: .barrier) {
    |                                    `- error: cannot infer contextual base in reference to member 'barrier'
 98 |             if instanceMap[key] == nil {
 99 |                 instanceMap[key] = factory(key)
/host/spi-builder-workspace/Sources/PureMVC/core/View.swift:113:39: error: cannot infer contextual base in reference to member 'barrier'
111 |     */
112 |     open func registerObserver(_ notificationName: String, observer: IObserver) {
113 |         observerMapQueue.sync(flags: .barrier) {
    |                                       `- error: cannot infer contextual base in reference to member 'barrier'
114 |             if observerMap[notificationName] != nil {
115 |                 observerMap[notificationName]!.append(observer)
/host/spi-builder-workspace/Sources/PureMVC/core/View.swift:150:39: error: cannot infer contextual base in reference to member 'barrier'
148 |     */
149 |     open func removeObserver(_ notificationName: String, notifyContext: AnyObject) {
150 |         observerMapQueue.sync(flags: .barrier) {
    |                                       `- error: cannot infer contextual base in reference to member 'barrier'
151 |             // the observer list for the notification under inspection
152 |             guard var observers = observerMap[notificationName] else { return }
/host/spi-builder-workspace/Sources/PureMVC/core/View.swift:192:39: error: cannot infer contextual base in reference to member 'barrier'
190 |         mediator.initializeNotifier(multitonKey)
191 |
192 |         mediatorMapQueue.sync(flags: .barrier) {
    |                                       `- error: cannot infer contextual base in reference to member 'barrier'
193 |             // Register the Mediator for retrieval by name
194 |             mediatorMap[mediator.name] = mediator
/host/spi-builder-workspace/Sources/PureMVC/core/View.swift:243:53: error: cannot infer contextual base in reference to member 'barrier'
241 |     @discardableResult open func removeMediator(_ mediatorName: String) -> IMediator? {
242 |         // remove the mediator from the map
243 |         let removed = mediatorMapQueue.sync(flags: .barrier) {
    |                                                     `- error: cannot infer contextual base in reference to member 'barrier'
244 |             mediatorMap.removeValue(forKey: mediatorName)
245 |         }
/host/spi-builder-workspace/Sources/PureMVC/core/View.swift:268:36: error: cannot infer contextual base in reference to member 'barrier'
266 |     */
267 |     open class func removeView(_ key: String) {
268 |         instanceQueue.sync(flags: .barrier) {
    |                                    `- error: cannot infer contextual base in reference to member 'barrier'
269 |             _ = instanceMap.removeValue(forKey: key)
270 |         }
[19/26] 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 |     /// The Multiton Key for this app
/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 |     /// The Multiton Key for this app
/host/spi-builder-workspace/Sources/PureMVC/core/Controller.swift:56:24: warning: static property 'instanceMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 54 |
 55 |     // The Multiton Controller instanceMap.
 56 |     private static var instanceMap = [String: IController]()
    |                        |- warning: static property 'instanceMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert 'instanceMap' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: add '@MainActor' to make static property 'instanceMap' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 57 |
 58 |     // instance Queue for thread safety
/host/spi-builder-workspace/Sources/PureMVC/core/Controller.swift:59:40: error: cannot find 'DispatchQueue' in scope
 57 |
 58 |     // instance Queue for thread safety
 59 |     private static let instanceQueue = DispatchQueue(label: "org.puremvc.controller.instanceQueue", attributes: DispatchQueue.Attributes.concurrent)
    |                                        `- error: cannot find 'DispatchQueue' in scope
 60 |
 61 |     /// Message constant
/host/spi-builder-workspace/Sources/PureMVC/core/Controller.swift:59:113: error: cannot find 'DispatchQueue' in scope
 57 |
 58 |     // instance Queue for thread safety
 59 |     private static let instanceQueue = DispatchQueue(label: "org.puremvc.controller.instanceQueue", attributes: DispatchQueue.Attributes.concurrent)
    |                                                                                                                 `- error: cannot find 'DispatchQueue' in scope
 60 |
 61 |     /// Message constant
/host/spi-builder-workspace/Sources/PureMVC/core/Controller.swift:109:36: error: cannot infer contextual base in reference to member 'barrier'
107 |     */
108 |     open class func getInstance(_ key:String, factory: (String) -> IController) -> IController? {
109 |         instanceQueue.sync(flags: .barrier) {
    |                                    `- error: cannot infer contextual base in reference to member 'barrier'
110 |             if instanceMap[key] == nil {
111 |                 instanceMap[key] = factory(key)
/host/spi-builder-workspace/Sources/PureMVC/core/Controller.swift:132:38: error: cannot infer contextual base in reference to member 'barrier'
130 |     */
131 |     open func registerCommand(_ notificationName: String, factory: @escaping () -> ICommand) {
132 |         commandMapQueue.sync(flags: .barrier) {
    |                                      `- error: cannot infer contextual base in reference to member 'barrier'
133 |             if commandMap[notificationName] == nil { // weak reference to Controller (self) to avoid reference cycle with View and Observer
134 |                 view.registerObserver(notificationName, observer: Observer(notifyMethod: {[weak self] notification in self?.executeCommand(notification)}, notifyContext: self))
/host/spi-builder-workspace/Sources/PureMVC/core/Controller.swift:175:38: error: cannot infer contextual base in reference to member 'barrier'
173 |     */
174 |     open func removeCommand(_ notificationName: String) {
175 |         commandMapQueue.sync(flags: .barrier) {
    |                                      `- error: cannot infer contextual base in reference to member 'barrier'
176 |             guard commandMap[notificationName] != nil else { return }
177 |             view.removeObserver(notificationName, notifyContext: self)
/host/spi-builder-workspace/Sources/PureMVC/core/Controller.swift:189:36: error: cannot infer contextual base in reference to member 'barrier'
187 |     */
188 |     open class func removeController(_ key: String) {
189 |         instanceQueue.sync(flags: .barrier) {
    |                                    `- error: cannot infer contextual base in reference to member 'barrier'
190 |             _ = instanceMap.removeValue(forKey: key)
191 |         }
/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 |     /// The Multiton Key for this app
/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 |     /// The Multiton Key for this app
/host/spi-builder-workspace/Sources/PureMVC/core/Model.swift:45:24: warning: static property 'instanceMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 43 |
 44 |     // The Multiton Model instanceMap.
 45 |     private static var instanceMap = [String: IModel]()
    |                        |- warning: static property 'instanceMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert 'instanceMap' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: add '@MainActor' to make static property 'instanceMap' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 46 |
 47 |     // instance Queue for thread safety
/host/spi-builder-workspace/Sources/PureMVC/core/Model.swift:48:40: error: cannot find 'DispatchQueue' in scope
 46 |
 47 |     // instance Queue for thread safety
 48 |     private static let instanceQueue = DispatchQueue(label: "org.puremvc.model.instanceQueue", attributes: DispatchQueue.Attributes.concurrent)
    |                                        `- error: cannot find 'DispatchQueue' in scope
 49 |
 50 |     /// Message constant
/host/spi-builder-workspace/Sources/PureMVC/core/Model.swift:48:108: error: cannot find 'DispatchQueue' in scope
 46 |
 47 |     // instance Queue for thread safety
 48 |     private static let instanceQueue = DispatchQueue(label: "org.puremvc.model.instanceQueue", attributes: DispatchQueue.Attributes.concurrent)
    |                                                                                                            `- error: cannot find 'DispatchQueue' in scope
 49 |
 50 |     /// Message constant
/host/spi-builder-workspace/Sources/PureMVC/core/Model.swift:92:36: error: cannot infer contextual base in reference to member 'barrier'
 90 |     */
 91 |     open class func getInstance(_ key: String, factory: (String) -> IModel) -> IModel? {
 92 |         instanceQueue.sync(flags: .barrier) {
    |                                    `- error: cannot infer contextual base in reference to member 'barrier'
 93 |             if instanceMap[key] == nil {
 94 |                 instanceMap[key] = factory(key)
/host/spi-builder-workspace/Sources/PureMVC/core/Model.swift:107:36: error: cannot infer contextual base in reference to member 'barrier'
105 |     open func registerProxy(_ proxy: IProxy) {
106 |         proxy.initializeNotifier(multitonKey)
107 |         proxyMapQueue.sync(flags: .barrier) {
    |                                    `- error: cannot infer contextual base in reference to member 'barrier'
108 |             proxyMap[proxy.name] = proxy
109 |         }
/host/spi-builder-workspace/Sources/PureMVC/core/Model.swift:145:36: error: cannot infer contextual base in reference to member 'barrier'
143 |     @discardableResult open func removeProxy(_ proxyName: String) -> IProxy? {
144 |         var removed: IProxy?
145 |         proxyMapQueue.sync(flags: .barrier) {
    |                                    `- error: cannot infer contextual base in reference to member 'barrier'
146 |             removed = proxyMap.removeValue(forKey: proxyName)
147 |         }
/host/spi-builder-workspace/Sources/PureMVC/core/Model.swift:159:36: error: cannot infer contextual base in reference to member 'barrier'
157 |     */
158 |     open class func removeModel(_ key: String) {
159 |         instanceQueue.sync(flags: .barrier) {
    |                                    `- error: cannot infer contextual base in reference to member 'barrier'
160 |             _ = instanceMap.removeValue(forKey: key)
161 |         }
/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 |     /// The Multiton Key for this app
/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 |     /// The Multiton Key for this app
/host/spi-builder-workspace/Sources/PureMVC/core/View.swift:50:24: warning: static property 'instanceMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 48 |
 49 |     // The Multiton View instanceMap.
 50 |     private static var instanceMap = [String: IView]()
    |                        |- warning: static property 'instanceMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert 'instanceMap' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: add '@MainActor' to make static property 'instanceMap' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 51 |
 52 |     // instance Queue for thread safety
/host/spi-builder-workspace/Sources/PureMVC/core/View.swift:53:40: error: cannot find 'DispatchQueue' in scope
 51 |
 52 |     // instance Queue for thread safety
 53 |     private static let instanceQueue = DispatchQueue(label: "org.puremvc.view.instanceQueue", attributes: DispatchQueue.Attributes.concurrent)
    |                                        `- error: cannot find 'DispatchQueue' in scope
 54 |
 55 |     /// Message constant
/host/spi-builder-workspace/Sources/PureMVC/core/View.swift:53:107: error: cannot find 'DispatchQueue' in scope
 51 |
 52 |     // instance Queue for thread safety
 53 |     private static let instanceQueue = DispatchQueue(label: "org.puremvc.view.instanceQueue", attributes: DispatchQueue.Attributes.concurrent)
    |                                                                                                           `- error: cannot find 'DispatchQueue' in scope
 54 |
 55 |     /// Message constant
/host/spi-builder-workspace/Sources/PureMVC/core/View.swift:97:36: error: cannot infer contextual base in reference to member 'barrier'
 95 |     */
 96 |     open class func getInstance(_ key: String, factory: (String) -> IView) -> IView? {
 97 |         instanceQueue.sync(flags: .barrier) {
    |                                    `- error: cannot infer contextual base in reference to member 'barrier'
 98 |             if instanceMap[key] == nil {
 99 |                 instanceMap[key] = factory(key)
/host/spi-builder-workspace/Sources/PureMVC/core/View.swift:113:39: error: cannot infer contextual base in reference to member 'barrier'
111 |     */
112 |     open func registerObserver(_ notificationName: String, observer: IObserver) {
113 |         observerMapQueue.sync(flags: .barrier) {
    |                                       `- error: cannot infer contextual base in reference to member 'barrier'
114 |             if observerMap[notificationName] != nil {
115 |                 observerMap[notificationName]!.append(observer)
/host/spi-builder-workspace/Sources/PureMVC/core/View.swift:150:39: error: cannot infer contextual base in reference to member 'barrier'
148 |     */
149 |     open func removeObserver(_ notificationName: String, notifyContext: AnyObject) {
150 |         observerMapQueue.sync(flags: .barrier) {
    |                                       `- error: cannot infer contextual base in reference to member 'barrier'
151 |             // the observer list for the notification under inspection
152 |             guard var observers = observerMap[notificationName] else { return }
/host/spi-builder-workspace/Sources/PureMVC/core/View.swift:192:39: error: cannot infer contextual base in reference to member 'barrier'
190 |         mediator.initializeNotifier(multitonKey)
191 |
192 |         mediatorMapQueue.sync(flags: .barrier) {
    |                                       `- error: cannot infer contextual base in reference to member 'barrier'
193 |             // Register the Mediator for retrieval by name
194 |             mediatorMap[mediator.name] = mediator
/host/spi-builder-workspace/Sources/PureMVC/core/View.swift:243:53: error: cannot infer contextual base in reference to member 'barrier'
241 |     @discardableResult open func removeMediator(_ mediatorName: String) -> IMediator? {
242 |         // remove the mediator from the map
243 |         let removed = mediatorMapQueue.sync(flags: .barrier) {
    |                                                     `- error: cannot infer contextual base in reference to member 'barrier'
244 |             mediatorMap.removeValue(forKey: mediatorName)
245 |         }
/host/spi-builder-workspace/Sources/PureMVC/core/View.swift:268:36: error: cannot infer contextual base in reference to member 'barrier'
266 |     */
267 |     open class func removeView(_ key: String) {
268 |         instanceQueue.sync(flags: .barrier) {
    |                                    `- error: cannot infer contextual base in reference to member 'barrier'
269 |             _ = instanceMap.removeValue(forKey: key)
270 |         }
[20/26] Compiling PureMVC IMediator.swift
[21/26] Compiling PureMVC IModel.swift
[22/26] Compiling PureMVC INotification.swift
[23/26] Compiling PureMVC Notification.swift
/host/spi-builder-workspace/Sources/PureMVC/patterns/facade/Facade.swift:39:43: error: cannot find 'DispatchQueue' in scope
 37 |     // Concurrent queue for instanceMap
 38 |     // for speed and convenience of running concurrently while reading, and thread safety of blocking while mutating
 39 |     private static let instanceMapQueue = DispatchQueue(label: "org.puremvc.facade.instanceMapQueue", attributes: DispatchQueue.Attributes.concurrent)
    |                                           `- error: cannot find 'DispatchQueue' in scope
 40 |
 41 |     /// Message constant
/host/spi-builder-workspace/Sources/PureMVC/patterns/facade/Facade.swift:39:115: error: cannot find 'DispatchQueue' in scope
 37 |     // Concurrent queue for instanceMap
 38 |     // for speed and convenience of running concurrently while reading, and thread safety of blocking while mutating
 39 |     private static let instanceMapQueue = DispatchQueue(label: "org.puremvc.facade.instanceMapQueue", attributes: DispatchQueue.Attributes.concurrent)
    |                                                                                                                   `- error: cannot find 'DispatchQueue' in scope
 40 |
 41 |     /// Message constant
[24/26] Compiling PureMVC Notifier.swift
/host/spi-builder-workspace/Sources/PureMVC/patterns/facade/Facade.swift:39:43: error: cannot find 'DispatchQueue' in scope
 37 |     // Concurrent queue for instanceMap
 38 |     // for speed and convenience of running concurrently while reading, and thread safety of blocking while mutating
 39 |     private static let instanceMapQueue = DispatchQueue(label: "org.puremvc.facade.instanceMapQueue", attributes: DispatchQueue.Attributes.concurrent)
    |                                           `- error: cannot find 'DispatchQueue' in scope
 40 |
 41 |     /// Message constant
/host/spi-builder-workspace/Sources/PureMVC/patterns/facade/Facade.swift:39:115: error: cannot find 'DispatchQueue' in scope
 37 |     // Concurrent queue for instanceMap
 38 |     // for speed and convenience of running concurrently while reading, and thread safety of blocking while mutating
 39 |     private static let instanceMapQueue = DispatchQueue(label: "org.puremvc.facade.instanceMapQueue", attributes: DispatchQueue.Attributes.concurrent)
    |                                                                                                                   `- error: cannot find 'DispatchQueue' in scope
 40 |
 41 |     /// Message constant
[25/26] Compiling PureMVC Facade.swift
/host/spi-builder-workspace/Sources/PureMVC/patterns/facade/Facade.swift:35:24: warning: static property 'instanceMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 33 |
 34 |     // The Multiton Facade instanceMap.
 35 |     private static var instanceMap = [String: IFacade]()
    |                        |- warning: static property 'instanceMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert 'instanceMap' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: add '@MainActor' to make static property 'instanceMap' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 36 |
 37 |     // Concurrent queue for instanceMap
/host/spi-builder-workspace/Sources/PureMVC/patterns/facade/Facade.swift:39:43: error: cannot find 'DispatchQueue' in scope
 37 |     // Concurrent queue for instanceMap
 38 |     // for speed and convenience of running concurrently while reading, and thread safety of blocking while mutating
 39 |     private static let instanceMapQueue = DispatchQueue(label: "org.puremvc.facade.instanceMapQueue", attributes: DispatchQueue.Attributes.concurrent)
    |                                           `- error: cannot find 'DispatchQueue' in scope
 40 |
 41 |     /// Message constant
/host/spi-builder-workspace/Sources/PureMVC/patterns/facade/Facade.swift:39:115: error: cannot find 'DispatchQueue' in scope
 37 |     // Concurrent queue for instanceMap
 38 |     // for speed and convenience of running concurrently while reading, and thread safety of blocking while mutating
 39 |     private static let instanceMapQueue = DispatchQueue(label: "org.puremvc.facade.instanceMapQueue", attributes: DispatchQueue.Attributes.concurrent)
    |                                                                                                                   `- error: cannot find 'DispatchQueue' in scope
 40 |
 41 |     /// Message constant
/host/spi-builder-workspace/Sources/PureMVC/patterns/facade/Facade.swift:84:39: error: cannot infer contextual base in reference to member 'barrier'
 82 |     */
 83 |     open class func getInstance(_ key: String, factory: (String) -> IFacade) -> IFacade? {
 84 |         instanceMapQueue.sync(flags: .barrier) {
    |                                       `- error: cannot infer contextual base in reference to member 'barrier'
 85 |             if instanceMap[key] == nil {
 86 |                 instanceMap[key] = factory(key)
/host/spi-builder-workspace/Sources/PureMVC/patterns/facade/Facade.swift:331:39: error: cannot infer contextual base in reference to member 'barrier'
329 |     */
330 |     open class func removeCore(_ key: String) {
331 |         instanceMapQueue.sync(flags: .barrier) {
    |                                       `- error: cannot infer contextual base in reference to member 'barrier'
332 |             Model.removeModel(key)
333 |             View.removeView(key)
[26/26] Compiling PureMVC Mediator.swift
/host/spi-builder-workspace/Sources/PureMVC/patterns/facade/Facade.swift:35:24: warning: static property 'instanceMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 33 |
 34 |     // The Multiton Facade instanceMap.
 35 |     private static var instanceMap = [String: IFacade]()
    |                        |- warning: static property 'instanceMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert 'instanceMap' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: add '@MainActor' to make static property 'instanceMap' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 36 |
 37 |     // Concurrent queue for instanceMap
/host/spi-builder-workspace/Sources/PureMVC/patterns/facade/Facade.swift:39:43: error: cannot find 'DispatchQueue' in scope
 37 |     // Concurrent queue for instanceMap
 38 |     // for speed and convenience of running concurrently while reading, and thread safety of blocking while mutating
 39 |     private static let instanceMapQueue = DispatchQueue(label: "org.puremvc.facade.instanceMapQueue", attributes: DispatchQueue.Attributes.concurrent)
    |                                           `- error: cannot find 'DispatchQueue' in scope
 40 |
 41 |     /// Message constant
/host/spi-builder-workspace/Sources/PureMVC/patterns/facade/Facade.swift:39:115: error: cannot find 'DispatchQueue' in scope
 37 |     // Concurrent queue for instanceMap
 38 |     // for speed and convenience of running concurrently while reading, and thread safety of blocking while mutating
 39 |     private static let instanceMapQueue = DispatchQueue(label: "org.puremvc.facade.instanceMapQueue", attributes: DispatchQueue.Attributes.concurrent)
    |                                                                                                                   `- error: cannot find 'DispatchQueue' in scope
 40 |
 41 |     /// Message constant
/host/spi-builder-workspace/Sources/PureMVC/patterns/facade/Facade.swift:84:39: error: cannot infer contextual base in reference to member 'barrier'
 82 |     */
 83 |     open class func getInstance(_ key: String, factory: (String) -> IFacade) -> IFacade? {
 84 |         instanceMapQueue.sync(flags: .barrier) {
    |                                       `- error: cannot infer contextual base in reference to member 'barrier'
 85 |             if instanceMap[key] == nil {
 86 |                 instanceMap[key] = factory(key)
/host/spi-builder-workspace/Sources/PureMVC/patterns/facade/Facade.swift:331:39: error: cannot infer contextual base in reference to member 'barrier'
329 |     */
330 |     open class func removeCore(_ key: String) {
331 |         instanceMapQueue.sync(flags: .barrier) {
    |                                       `- error: cannot infer contextual base in reference to member 'barrier'
332 |             Model.removeModel(key)
333 |             View.removeView(key)
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/23] Compiling PureMVC Facade.swift
/host/spi-builder-workspace/Sources/PureMVC/patterns/facade/Facade.swift:39:43: error: cannot find 'DispatchQueue' in scope
 37 |     // Concurrent queue for instanceMap
 38 |     // for speed and convenience of running concurrently while reading, and thread safety of blocking while mutating
 39 |     private static let instanceMapQueue = DispatchQueue(label: "org.puremvc.facade.instanceMapQueue", attributes: DispatchQueue.Attributes.concurrent)
    |                                           `- error: cannot find 'DispatchQueue' in scope
 40 |
 41 |     /// Message constant
/host/spi-builder-workspace/Sources/PureMVC/patterns/facade/Facade.swift:39:115: error: cannot find 'DispatchQueue' in scope
 37 |     // Concurrent queue for instanceMap
 38 |     // for speed and convenience of running concurrently while reading, and thread safety of blocking while mutating
 39 |     private static let instanceMapQueue = DispatchQueue(label: "org.puremvc.facade.instanceMapQueue", attributes: DispatchQueue.Attributes.concurrent)
    |                                                                                                                   `- error: cannot find 'DispatchQueue' in scope
 40 |
 41 |     /// Message constant
/host/spi-builder-workspace/Sources/PureMVC/patterns/facade/Facade.swift:84:39: error: cannot infer contextual base in reference to member 'barrier'
 82 |     */
 83 |     open class func getInstance(_ key: String, factory: (String) -> IFacade) -> IFacade? {
 84 |         instanceMapQueue.sync(flags: .barrier) {
    |                                       `- error: cannot infer contextual base in reference to member 'barrier'
 85 |             if instanceMap[key] == nil {
 86 |                 instanceMap[key] = factory(key)
/host/spi-builder-workspace/Sources/PureMVC/patterns/facade/Facade.swift:331:39: error: cannot infer contextual base in reference to member 'barrier'
329 |     */
330 |     open class func removeCore(_ key: String) {
331 |         instanceMapQueue.sync(flags: .barrier) {
    |                                       `- error: cannot infer contextual base in reference to member 'barrier'
332 |             Model.removeModel(key)
333 |             View.removeView(key)
[5/23] Compiling PureMVC Mediator.swift
/host/spi-builder-workspace/Sources/PureMVC/patterns/facade/Facade.swift:39:43: error: cannot find 'DispatchQueue' in scope
 37 |     // Concurrent queue for instanceMap
 38 |     // for speed and convenience of running concurrently while reading, and thread safety of blocking while mutating
 39 |     private static let instanceMapQueue = DispatchQueue(label: "org.puremvc.facade.instanceMapQueue", attributes: DispatchQueue.Attributes.concurrent)
    |                                           `- error: cannot find 'DispatchQueue' in scope
 40 |
 41 |     /// Message constant
/host/spi-builder-workspace/Sources/PureMVC/patterns/facade/Facade.swift:39:115: error: cannot find 'DispatchQueue' in scope
 37 |     // Concurrent queue for instanceMap
 38 |     // for speed and convenience of running concurrently while reading, and thread safety of blocking while mutating
 39 |     private static let instanceMapQueue = DispatchQueue(label: "org.puremvc.facade.instanceMapQueue", attributes: DispatchQueue.Attributes.concurrent)
    |                                                                                                                   `- error: cannot find 'DispatchQueue' in scope
 40 |
 41 |     /// Message constant
/host/spi-builder-workspace/Sources/PureMVC/patterns/facade/Facade.swift:84:39: error: cannot infer contextual base in reference to member 'barrier'
 82 |     */
 83 |     open class func getInstance(_ key: String, factory: (String) -> IFacade) -> IFacade? {
 84 |         instanceMapQueue.sync(flags: .barrier) {
    |                                       `- error: cannot infer contextual base in reference to member 'barrier'
 85 |             if instanceMap[key] == nil {
 86 |                 instanceMap[key] = factory(key)
/host/spi-builder-workspace/Sources/PureMVC/patterns/facade/Facade.swift:331:39: error: cannot infer contextual base in reference to member 'barrier'
329 |     */
330 |     open class func removeCore(_ key: String) {
331 |         instanceMapQueue.sync(flags: .barrier) {
    |                                       `- error: cannot infer contextual base in reference to member 'barrier'
332 |             Model.removeModel(key)
333 |             View.removeView(key)
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/25] 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 |     /// The Multiton Key for this app
/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 |     /// The Multiton Key for this app
/host/spi-builder-workspace/Sources/PureMVC/core/Controller.swift:59:40: error: cannot find 'DispatchQueue' in scope
 57 |
 58 |     // instance Queue for thread safety
 59 |     private static let instanceQueue = DispatchQueue(label: "org.puremvc.controller.instanceQueue", attributes: DispatchQueue.Attributes.concurrent)
    |                                        `- error: cannot find 'DispatchQueue' in scope
 60 |
 61 |     /// Message constant
/host/spi-builder-workspace/Sources/PureMVC/core/Controller.swift:59:113: error: cannot find 'DispatchQueue' in scope
 57 |
 58 |     // instance Queue for thread safety
 59 |     private static let instanceQueue = DispatchQueue(label: "org.puremvc.controller.instanceQueue", attributes: DispatchQueue.Attributes.concurrent)
    |                                                                                                                 `- error: cannot find 'DispatchQueue' in scope
 60 |
 61 |     /// 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 |     /// The Multiton Key for this app
/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 |     /// The Multiton Key for this app
/host/spi-builder-workspace/Sources/PureMVC/core/Model.swift:48:40: error: cannot find 'DispatchQueue' in scope
 46 |
 47 |     // instance Queue for thread safety
 48 |     private static let instanceQueue = DispatchQueue(label: "org.puremvc.model.instanceQueue", attributes: DispatchQueue.Attributes.concurrent)
    |                                        `- error: cannot find 'DispatchQueue' in scope
 49 |
 50 |     /// Message constant
/host/spi-builder-workspace/Sources/PureMVC/core/Model.swift:48:108: error: cannot find 'DispatchQueue' in scope
 46 |
 47 |     // instance Queue for thread safety
 48 |     private static let instanceQueue = DispatchQueue(label: "org.puremvc.model.instanceQueue", attributes: DispatchQueue.Attributes.concurrent)
    |                                                                                                            `- error: cannot find 'DispatchQueue' in scope
 49 |
 50 |     /// 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 |     /// The Multiton Key for this app
/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 |     /// The Multiton Key for this app
/host/spi-builder-workspace/Sources/PureMVC/core/View.swift:53:40: error: cannot find 'DispatchQueue' in scope
 51 |
 52 |     // instance Queue for thread safety
 53 |     private static let instanceQueue = DispatchQueue(label: "org.puremvc.view.instanceQueue", attributes: DispatchQueue.Attributes.concurrent)
    |                                        `- error: cannot find 'DispatchQueue' in scope
 54 |
 55 |     /// Message constant
/host/spi-builder-workspace/Sources/PureMVC/core/View.swift:53:107: error: cannot find 'DispatchQueue' in scope
 51 |
 52 |     // instance Queue for thread safety
 53 |     private static let instanceQueue = DispatchQueue(label: "org.puremvc.view.instanceQueue", attributes: DispatchQueue.Attributes.concurrent)
    |                                                                                                           `- error: cannot find 'DispatchQueue' in scope
 54 |
 55 |     /// Message constant
/host/spi-builder-workspace/Sources/PureMVC/patterns/facade/Facade.swift:39:43: error: cannot find 'DispatchQueue' in scope
 37 |     // Concurrent queue for instanceMap
 38 |     // for speed and convenience of running concurrently while reading, and thread safety of blocking while mutating
 39 |     private static let instanceMapQueue = DispatchQueue(label: "org.puremvc.facade.instanceMapQueue", attributes: DispatchQueue.Attributes.concurrent)
    |                                           `- error: cannot find 'DispatchQueue' in scope
 40 |
 41 |     /// Message constant
/host/spi-builder-workspace/Sources/PureMVC/patterns/facade/Facade.swift:39:115: error: cannot find 'DispatchQueue' in scope
 37 |     // Concurrent queue for instanceMap
 38 |     // for speed and convenience of running concurrently while reading, and thread safety of blocking while mutating
 39 |     private static let instanceMapQueue = DispatchQueue(label: "org.puremvc.facade.instanceMapQueue", attributes: DispatchQueue.Attributes.concurrent)
    |                                                                                                                   `- error: cannot find 'DispatchQueue' in scope
 40 |
 41 |     /// Message constant
[7/25] Compiling PureMVC Notification.swift
/host/spi-builder-workspace/Sources/PureMVC/patterns/facade/Facade.swift:39:43: error: cannot find 'DispatchQueue' in scope
 37 |     // Concurrent queue for instanceMap
 38 |     // for speed and convenience of running concurrently while reading, and thread safety of blocking while mutating
 39 |     private static let instanceMapQueue = DispatchQueue(label: "org.puremvc.facade.instanceMapQueue", attributes: DispatchQueue.Attributes.concurrent)
    |                                           `- error: cannot find 'DispatchQueue' in scope
 40 |
 41 |     /// Message constant
/host/spi-builder-workspace/Sources/PureMVC/patterns/facade/Facade.swift:39:115: error: cannot find 'DispatchQueue' in scope
 37 |     // Concurrent queue for instanceMap
 38 |     // for speed and convenience of running concurrently while reading, and thread safety of blocking while mutating
 39 |     private static let instanceMapQueue = DispatchQueue(label: "org.puremvc.facade.instanceMapQueue", attributes: DispatchQueue.Attributes.concurrent)
    |                                                                                                                   `- error: cannot find 'DispatchQueue' in scope
 40 |
 41 |     /// Message constant
[8/25] Compiling PureMVC Notifier.swift
/host/spi-builder-workspace/Sources/PureMVC/patterns/facade/Facade.swift:39:43: error: cannot find 'DispatchQueue' in scope
 37 |     // Concurrent queue for instanceMap
 38 |     // for speed and convenience of running concurrently while reading, and thread safety of blocking while mutating
 39 |     private static let instanceMapQueue = DispatchQueue(label: "org.puremvc.facade.instanceMapQueue", attributes: DispatchQueue.Attributes.concurrent)
    |                                           `- error: cannot find 'DispatchQueue' in scope
 40 |
 41 |     /// Message constant
/host/spi-builder-workspace/Sources/PureMVC/patterns/facade/Facade.swift:39:115: error: cannot find 'DispatchQueue' in scope
 37 |     // Concurrent queue for instanceMap
 38 |     // for speed and convenience of running concurrently while reading, and thread safety of blocking while mutating
 39 |     private static let instanceMapQueue = DispatchQueue(label: "org.puremvc.facade.instanceMapQueue", attributes: DispatchQueue.Attributes.concurrent)
    |                                                                                                                   `- error: cannot find 'DispatchQueue' in scope
 40 |
 41 |     /// Message constant
[9/25] Compiling PureMVC IMediator.swift
[10/25] Compiling PureMVC IModel.swift
[11/25] Compiling PureMVC INotification.swift
[12/25] Compiling PureMVC IView.swift
[13/25] Compiling PureMVC MacroCommand.swift
[14/25] Compiling PureMVC SimpleCommand.swift
[15/25] Compiling PureMVC INotifier.swift
[16/25] Compiling PureMVC IObserver.swift
[17/25] Compiling PureMVC IProxy.swift
[18/25] Compiling PureMVC ICommand.swift
[19/25] Compiling PureMVC IController.swift
[20/25] Compiling PureMVC IFacade.swift
[21/25] 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 |     /// The Multiton Key for this app
/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 |     /// The Multiton Key for this app
/host/spi-builder-workspace/Sources/PureMVC/core/Controller.swift:59:40: error: cannot find 'DispatchQueue' in scope
 57 |
 58 |     // instance Queue for thread safety
 59 |     private static let instanceQueue = DispatchQueue(label: "org.puremvc.controller.instanceQueue", attributes: DispatchQueue.Attributes.concurrent)
    |                                        `- error: cannot find 'DispatchQueue' in scope
 60 |
 61 |     /// Message constant
/host/spi-builder-workspace/Sources/PureMVC/core/Controller.swift:59:113: error: cannot find 'DispatchQueue' in scope
 57 |
 58 |     // instance Queue for thread safety
 59 |     private static let instanceQueue = DispatchQueue(label: "org.puremvc.controller.instanceQueue", attributes: DispatchQueue.Attributes.concurrent)
    |                                                                                                                 `- error: cannot find 'DispatchQueue' in scope
 60 |
 61 |     /// Message constant
/host/spi-builder-workspace/Sources/PureMVC/core/Controller.swift:109:36: error: cannot infer contextual base in reference to member 'barrier'
107 |     */
108 |     open class func getInstance(_ key:String, factory: (String) -> IController) -> IController? {
109 |         instanceQueue.sync(flags: .barrier) {
    |                                    `- error: cannot infer contextual base in reference to member 'barrier'
110 |             if instanceMap[key] == nil {
111 |                 instanceMap[key] = factory(key)
/host/spi-builder-workspace/Sources/PureMVC/core/Controller.swift:132:38: error: cannot infer contextual base in reference to member 'barrier'
130 |     */
131 |     open func registerCommand(_ notificationName: String, factory: @escaping () -> ICommand) {
132 |         commandMapQueue.sync(flags: .barrier) {
    |                                      `- error: cannot infer contextual base in reference to member 'barrier'
133 |             if commandMap[notificationName] == nil { // weak reference to Controller (self) to avoid reference cycle with View and Observer
134 |                 view.registerObserver(notificationName, observer: Observer(notifyMethod: {[weak self] notification in self?.executeCommand(notification)}, notifyContext: self))
/host/spi-builder-workspace/Sources/PureMVC/core/Controller.swift:175:38: error: cannot infer contextual base in reference to member 'barrier'
173 |     */
174 |     open func removeCommand(_ notificationName: String) {
175 |         commandMapQueue.sync(flags: .barrier) {
    |                                      `- error: cannot infer contextual base in reference to member 'barrier'
176 |             guard commandMap[notificationName] != nil else { return }
177 |             view.removeObserver(notificationName, notifyContext: self)
/host/spi-builder-workspace/Sources/PureMVC/core/Controller.swift:189:36: error: cannot infer contextual base in reference to member 'barrier'
187 |     */
188 |     open class func removeController(_ key: String) {
189 |         instanceQueue.sync(flags: .barrier) {
    |                                    `- error: cannot infer contextual base in reference to member 'barrier'
190 |             _ = instanceMap.removeValue(forKey: key)
191 |         }
/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 |     /// The Multiton Key for this app
/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 |     /// The Multiton Key for this app
/host/spi-builder-workspace/Sources/PureMVC/core/Model.swift:48:40: error: cannot find 'DispatchQueue' in scope
 46 |
 47 |     // instance Queue for thread safety
 48 |     private static let instanceQueue = DispatchQueue(label: "org.puremvc.model.instanceQueue", attributes: DispatchQueue.Attributes.concurrent)
    |                                        `- error: cannot find 'DispatchQueue' in scope
 49 |
 50 |     /// Message constant
/host/spi-builder-workspace/Sources/PureMVC/core/Model.swift:48:108: error: cannot find 'DispatchQueue' in scope
 46 |
 47 |     // instance Queue for thread safety
 48 |     private static let instanceQueue = DispatchQueue(label: "org.puremvc.model.instanceQueue", attributes: DispatchQueue.Attributes.concurrent)
    |                                                                                                            `- error: cannot find 'DispatchQueue' in scope
 49 |
 50 |     /// Message constant
/host/spi-builder-workspace/Sources/PureMVC/core/Model.swift:92:36: error: cannot infer contextual base in reference to member 'barrier'
 90 |     */
 91 |     open class func getInstance(_ key: String, factory: (String) -> IModel) -> IModel? {
 92 |         instanceQueue.sync(flags: .barrier) {
    |                                    `- error: cannot infer contextual base in reference to member 'barrier'
 93 |             if instanceMap[key] == nil {
 94 |                 instanceMap[key] = factory(key)
/host/spi-builder-workspace/Sources/PureMVC/core/Model.swift:107:36: error: cannot infer contextual base in reference to member 'barrier'
105 |     open func registerProxy(_ proxy: IProxy) {
106 |         proxy.initializeNotifier(multitonKey)
107 |         proxyMapQueue.sync(flags: .barrier) {
    |                                    `- error: cannot infer contextual base in reference to member 'barrier'
108 |             proxyMap[proxy.name] = proxy
109 |         }
/host/spi-builder-workspace/Sources/PureMVC/core/Model.swift:145:36: error: cannot infer contextual base in reference to member 'barrier'
143 |     @discardableResult open func removeProxy(_ proxyName: String) -> IProxy? {
144 |         var removed: IProxy?
145 |         proxyMapQueue.sync(flags: .barrier) {
    |                                    `- error: cannot infer contextual base in reference to member 'barrier'
146 |             removed = proxyMap.removeValue(forKey: proxyName)
147 |         }
/host/spi-builder-workspace/Sources/PureMVC/core/Model.swift:159:36: error: cannot infer contextual base in reference to member 'barrier'
157 |     */
158 |     open class func removeModel(_ key: String) {
159 |         instanceQueue.sync(flags: .barrier) {
    |                                    `- error: cannot infer contextual base in reference to member 'barrier'
160 |             _ = instanceMap.removeValue(forKey: key)
161 |         }
/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 |     /// The Multiton Key for this app
/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 |     /// The Multiton Key for this app
/host/spi-builder-workspace/Sources/PureMVC/core/View.swift:53:40: error: cannot find 'DispatchQueue' in scope
 51 |
 52 |     // instance Queue for thread safety
 53 |     private static let instanceQueue = DispatchQueue(label: "org.puremvc.view.instanceQueue", attributes: DispatchQueue.Attributes.concurrent)
    |                                        `- error: cannot find 'DispatchQueue' in scope
 54 |
 55 |     /// Message constant
/host/spi-builder-workspace/Sources/PureMVC/core/View.swift:53:107: error: cannot find 'DispatchQueue' in scope
 51 |
 52 |     // instance Queue for thread safety
 53 |     private static let instanceQueue = DispatchQueue(label: "org.puremvc.view.instanceQueue", attributes: DispatchQueue.Attributes.concurrent)
    |                                                                                                           `- error: cannot find 'DispatchQueue' in scope
 54 |
 55 |     /// Message constant
/host/spi-builder-workspace/Sources/PureMVC/core/View.swift:97:36: error: cannot infer contextual base in reference to member 'barrier'
 95 |     */
 96 |     open class func getInstance(_ key: String, factory: (String) -> IView) -> IView? {
 97 |         instanceQueue.sync(flags: .barrier) {
    |                                    `- error: cannot infer contextual base in reference to member 'barrier'
 98 |             if instanceMap[key] == nil {
 99 |                 instanceMap[key] = factory(key)
/host/spi-builder-workspace/Sources/PureMVC/core/View.swift:113:39: error: cannot infer contextual base in reference to member 'barrier'
111 |     */
112 |     open func registerObserver(_ notificationName: String, observer: IObserver) {
113 |         observerMapQueue.sync(flags: .barrier) {
    |                                       `- error: cannot infer contextual base in reference to member 'barrier'
114 |             if observerMap[notificationName] != nil {
115 |                 observerMap[notificationName]!.append(observer)
/host/spi-builder-workspace/Sources/PureMVC/core/View.swift:150:39: error: cannot infer contextual base in reference to member 'barrier'
148 |     */
149 |     open func removeObserver(_ notificationName: String, notifyContext: AnyObject) {
150 |         observerMapQueue.sync(flags: .barrier) {
    |                                       `- error: cannot infer contextual base in reference to member 'barrier'
151 |             // the observer list for the notification under inspection
152 |             guard var observers = observerMap[notificationName] else { return }
/host/spi-builder-workspace/Sources/PureMVC/core/View.swift:192:39: error: cannot infer contextual base in reference to member 'barrier'
190 |         mediator.initializeNotifier(multitonKey)
191 |
192 |         mediatorMapQueue.sync(flags: .barrier) {
    |                                       `- error: cannot infer contextual base in reference to member 'barrier'
193 |             // Register the Mediator for retrieval by name
194 |             mediatorMap[mediator.name] = mediator
/host/spi-builder-workspace/Sources/PureMVC/core/View.swift:243:53: error: cannot infer contextual base in reference to member 'barrier'
241 |     @discardableResult open func removeMediator(_ mediatorName: String) -> IMediator? {
242 |         // remove the mediator from the map
243 |         let removed = mediatorMapQueue.sync(flags: .barrier) {
    |                                                     `- error: cannot infer contextual base in reference to member 'barrier'
244 |             mediatorMap.removeValue(forKey: mediatorName)
245 |         }
/host/spi-builder-workspace/Sources/PureMVC/core/View.swift:268:36: error: cannot infer contextual base in reference to member 'barrier'
266 |     */
267 |     open class func removeView(_ key: String) {
268 |         instanceQueue.sync(flags: .barrier) {
    |                                    `- error: cannot infer contextual base in reference to member 'barrier'
269 |             _ = instanceMap.removeValue(forKey: key)
270 |         }
[22/25] 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 |     /// The Multiton Key for this app
/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 |     /// The Multiton Key for this app
/host/spi-builder-workspace/Sources/PureMVC/core/Controller.swift:59:40: error: cannot find 'DispatchQueue' in scope
 57 |
 58 |     // instance Queue for thread safety
 59 |     private static let instanceQueue = DispatchQueue(label: "org.puremvc.controller.instanceQueue", attributes: DispatchQueue.Attributes.concurrent)
    |                                        `- error: cannot find 'DispatchQueue' in scope
 60 |
 61 |     /// Message constant
/host/spi-builder-workspace/Sources/PureMVC/core/Controller.swift:59:113: error: cannot find 'DispatchQueue' in scope
 57 |
 58 |     // instance Queue for thread safety
 59 |     private static let instanceQueue = DispatchQueue(label: "org.puremvc.controller.instanceQueue", attributes: DispatchQueue.Attributes.concurrent)
    |                                                                                                                 `- error: cannot find 'DispatchQueue' in scope
 60 |
 61 |     /// Message constant
/host/spi-builder-workspace/Sources/PureMVC/core/Controller.swift:109:36: error: cannot infer contextual base in reference to member 'barrier'
107 |     */
108 |     open class func getInstance(_ key:String, factory: (String) -> IController) -> IController? {
109 |         instanceQueue.sync(flags: .barrier) {
    |                                    `- error: cannot infer contextual base in reference to member 'barrier'
110 |             if instanceMap[key] == nil {
111 |                 instanceMap[key] = factory(key)
/host/spi-builder-workspace/Sources/PureMVC/core/Controller.swift:132:38: error: cannot infer contextual base in reference to member 'barrier'
130 |     */
131 |     open func registerCommand(_ notificationName: String, factory: @escaping () -> ICommand) {
132 |         commandMapQueue.sync(flags: .barrier) {
    |                                      `- error: cannot infer contextual base in reference to member 'barrier'
133 |             if commandMap[notificationName] == nil { // weak reference to Controller (self) to avoid reference cycle with View and Observer
134 |                 view.registerObserver(notificationName, observer: Observer(notifyMethod: {[weak self] notification in self?.executeCommand(notification)}, notifyContext: self))
/host/spi-builder-workspace/Sources/PureMVC/core/Controller.swift:175:38: error: cannot infer contextual base in reference to member 'barrier'
173 |     */
174 |     open func removeCommand(_ notificationName: String) {
175 |         commandMapQueue.sync(flags: .barrier) {
    |                                      `- error: cannot infer contextual base in reference to member 'barrier'
176 |             guard commandMap[notificationName] != nil else { return }
177 |             view.removeObserver(notificationName, notifyContext: self)
/host/spi-builder-workspace/Sources/PureMVC/core/Controller.swift:189:36: error: cannot infer contextual base in reference to member 'barrier'
187 |     */
188 |     open class func removeController(_ key: String) {
189 |         instanceQueue.sync(flags: .barrier) {
    |                                    `- error: cannot infer contextual base in reference to member 'barrier'
190 |             _ = instanceMap.removeValue(forKey: key)
191 |         }
/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 |     /// The Multiton Key for this app
/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 |     /// The Multiton Key for this app
/host/spi-builder-workspace/Sources/PureMVC/core/Model.swift:48:40: error: cannot find 'DispatchQueue' in scope
 46 |
 47 |     // instance Queue for thread safety
 48 |     private static let instanceQueue = DispatchQueue(label: "org.puremvc.model.instanceQueue", attributes: DispatchQueue.Attributes.concurrent)
    |                                        `- error: cannot find 'DispatchQueue' in scope
 49 |
 50 |     /// Message constant
/host/spi-builder-workspace/Sources/PureMVC/core/Model.swift:48:108: error: cannot find 'DispatchQueue' in scope
 46 |
 47 |     // instance Queue for thread safety
 48 |     private static let instanceQueue = DispatchQueue(label: "org.puremvc.model.instanceQueue", attributes: DispatchQueue.Attributes.concurrent)
    |                                                                                                            `- error: cannot find 'DispatchQueue' in scope
 49 |
 50 |     /// Message constant
/host/spi-builder-workspace/Sources/PureMVC/core/Model.swift:92:36: error: cannot infer contextual base in reference to member 'barrier'
 90 |     */
 91 |     open class func getInstance(_ key: String, factory: (String) -> IModel) -> IModel? {
 92 |         instanceQueue.sync(flags: .barrier) {
    |                                    `- error: cannot infer contextual base in reference to member 'barrier'
 93 |             if instanceMap[key] == nil {
 94 |                 instanceMap[key] = factory(key)
/host/spi-builder-workspace/Sources/PureMVC/core/Model.swift:107:36: error: cannot infer contextual base in reference to member 'barrier'
105 |     open func registerProxy(_ proxy: IProxy) {
106 |         proxy.initializeNotifier(multitonKey)
107 |         proxyMapQueue.sync(flags: .barrier) {
    |                                    `- error: cannot infer contextual base in reference to member 'barrier'
108 |             proxyMap[proxy.name] = proxy
109 |         }
/host/spi-builder-workspace/Sources/PureMVC/core/Model.swift:145:36: error: cannot infer contextual base in reference to member 'barrier'
143 |     @discardableResult open func removeProxy(_ proxyName: String) -> IProxy? {
144 |         var removed: IProxy?
145 |         proxyMapQueue.sync(flags: .barrier) {
    |                                    `- error: cannot infer contextual base in reference to member 'barrier'
146 |             removed = proxyMap.removeValue(forKey: proxyName)
147 |         }
/host/spi-builder-workspace/Sources/PureMVC/core/Model.swift:159:36: error: cannot infer contextual base in reference to member 'barrier'
157 |     */
158 |     open class func removeModel(_ key: String) {
159 |         instanceQueue.sync(flags: .barrier) {
    |                                    `- error: cannot infer contextual base in reference to member 'barrier'
160 |             _ = instanceMap.removeValue(forKey: key)
161 |         }
/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 |     /// The Multiton Key for this app
/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 |     /// The Multiton Key for this app
/host/spi-builder-workspace/Sources/PureMVC/core/View.swift:53:40: error: cannot find 'DispatchQueue' in scope
 51 |
 52 |     // instance Queue for thread safety
 53 |     private static let instanceQueue = DispatchQueue(label: "org.puremvc.view.instanceQueue", attributes: DispatchQueue.Attributes.concurrent)
    |                                        `- error: cannot find 'DispatchQueue' in scope
 54 |
 55 |     /// Message constant
/host/spi-builder-workspace/Sources/PureMVC/core/View.swift:53:107: error: cannot find 'DispatchQueue' in scope
 51 |
 52 |     // instance Queue for thread safety
 53 |     private static let instanceQueue = DispatchQueue(label: "org.puremvc.view.instanceQueue", attributes: DispatchQueue.Attributes.concurrent)
    |                                                                                                           `- error: cannot find 'DispatchQueue' in scope
 54 |
 55 |     /// Message constant
/host/spi-builder-workspace/Sources/PureMVC/core/View.swift:97:36: error: cannot infer contextual base in reference to member 'barrier'
 95 |     */
 96 |     open class func getInstance(_ key: String, factory: (String) -> IView) -> IView? {
 97 |         instanceQueue.sync(flags: .barrier) {
    |                                    `- error: cannot infer contextual base in reference to member 'barrier'
 98 |             if instanceMap[key] == nil {
 99 |                 instanceMap[key] = factory(key)
/host/spi-builder-workspace/Sources/PureMVC/core/View.swift:113:39: error: cannot infer contextual base in reference to member 'barrier'
111 |     */
112 |     open func registerObserver(_ notificationName: String, observer: IObserver) {
113 |         observerMapQueue.sync(flags: .barrier) {
    |                                       `- error: cannot infer contextual base in reference to member 'barrier'
114 |             if observerMap[notificationName] != nil {
115 |                 observerMap[notificationName]!.append(observer)
/host/spi-builder-workspace/Sources/PureMVC/core/View.swift:150:39: error: cannot infer contextual base in reference to member 'barrier'
148 |     */
149 |     open func removeObserver(_ notificationName: String, notifyContext: AnyObject) {
150 |         observerMapQueue.sync(flags: .barrier) {
    |                                       `- error: cannot infer contextual base in reference to member 'barrier'
151 |             // the observer list for the notification under inspection
152 |             guard var observers = observerMap[notificationName] else { return }
/host/spi-builder-workspace/Sources/PureMVC/core/View.swift:192:39: error: cannot infer contextual base in reference to member 'barrier'
190 |         mediator.initializeNotifier(multitonKey)
191 |
192 |         mediatorMapQueue.sync(flags: .barrier) {
    |                                       `- error: cannot infer contextual base in reference to member 'barrier'
193 |             // Register the Mediator for retrieval by name
194 |             mediatorMap[mediator.name] = mediator
/host/spi-builder-workspace/Sources/PureMVC/core/View.swift:243:53: error: cannot infer contextual base in reference to member 'barrier'
241 |     @discardableResult open func removeMediator(_ mediatorName: String) -> IMediator? {
242 |         // remove the mediator from the map
243 |         let removed = mediatorMapQueue.sync(flags: .barrier) {
    |                                                     `- error: cannot infer contextual base in reference to member 'barrier'
244 |             mediatorMap.removeValue(forKey: mediatorName)
245 |         }
/host/spi-builder-workspace/Sources/PureMVC/core/View.swift:268:36: error: cannot infer contextual base in reference to member 'barrier'
266 |     */
267 |     open class func removeView(_ key: String) {
268 |         instanceQueue.sync(flags: .barrier) {
    |                                    `- error: cannot infer contextual base in reference to member 'barrier'
269 |             _ = instanceMap.removeValue(forKey: key)
270 |         }
[23/25] 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 |     /// The Multiton Key for this app
/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 |     /// The Multiton Key for this app
/host/spi-builder-workspace/Sources/PureMVC/core/Controller.swift:59:40: error: cannot find 'DispatchQueue' in scope
 57 |
 58 |     // instance Queue for thread safety
 59 |     private static let instanceQueue = DispatchQueue(label: "org.puremvc.controller.instanceQueue", attributes: DispatchQueue.Attributes.concurrent)
    |                                        `- error: cannot find 'DispatchQueue' in scope
 60 |
 61 |     /// Message constant
/host/spi-builder-workspace/Sources/PureMVC/core/Controller.swift:59:113: error: cannot find 'DispatchQueue' in scope
 57 |
 58 |     // instance Queue for thread safety
 59 |     private static let instanceQueue = DispatchQueue(label: "org.puremvc.controller.instanceQueue", attributes: DispatchQueue.Attributes.concurrent)
    |                                                                                                                 `- error: cannot find 'DispatchQueue' in scope
 60 |
 61 |     /// Message constant
/host/spi-builder-workspace/Sources/PureMVC/core/Controller.swift:109:36: error: cannot infer contextual base in reference to member 'barrier'
107 |     */
108 |     open class func getInstance(_ key:String, factory: (String) -> IController) -> IController? {
109 |         instanceQueue.sync(flags: .barrier) {
    |                                    `- error: cannot infer contextual base in reference to member 'barrier'
110 |             if instanceMap[key] == nil {
111 |                 instanceMap[key] = factory(key)
/host/spi-builder-workspace/Sources/PureMVC/core/Controller.swift:132:38: error: cannot infer contextual base in reference to member 'barrier'
130 |     */
131 |     open func registerCommand(_ notificationName: String, factory: @escaping () -> ICommand) {
132 |         commandMapQueue.sync(flags: .barrier) {
    |                                      `- error: cannot infer contextual base in reference to member 'barrier'
133 |             if commandMap[notificationName] == nil { // weak reference to Controller (self) to avoid reference cycle with View and Observer
134 |                 view.registerObserver(notificationName, observer: Observer(notifyMethod: {[weak self] notification in self?.executeCommand(notification)}, notifyContext: self))
/host/spi-builder-workspace/Sources/PureMVC/core/Controller.swift:175:38: error: cannot infer contextual base in reference to member 'barrier'
173 |     */
174 |     open func removeCommand(_ notificationName: String) {
175 |         commandMapQueue.sync(flags: .barrier) {
    |                                      `- error: cannot infer contextual base in reference to member 'barrier'
176 |             guard commandMap[notificationName] != nil else { return }
177 |             view.removeObserver(notificationName, notifyContext: self)
/host/spi-builder-workspace/Sources/PureMVC/core/Controller.swift:189:36: error: cannot infer contextual base in reference to member 'barrier'
187 |     */
188 |     open class func removeController(_ key: String) {
189 |         instanceQueue.sync(flags: .barrier) {
    |                                    `- error: cannot infer contextual base in reference to member 'barrier'
190 |             _ = instanceMap.removeValue(forKey: key)
191 |         }
/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 |     /// The Multiton Key for this app
/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 |     /// The Multiton Key for this app
/host/spi-builder-workspace/Sources/PureMVC/core/Model.swift:48:40: error: cannot find 'DispatchQueue' in scope
 46 |
 47 |     // instance Queue for thread safety
 48 |     private static let instanceQueue = DispatchQueue(label: "org.puremvc.model.instanceQueue", attributes: DispatchQueue.Attributes.concurrent)
    |                                        `- error: cannot find 'DispatchQueue' in scope
 49 |
 50 |     /// Message constant
/host/spi-builder-workspace/Sources/PureMVC/core/Model.swift:48:108: error: cannot find 'DispatchQueue' in scope
 46 |
 47 |     // instance Queue for thread safety
 48 |     private static let instanceQueue = DispatchQueue(label: "org.puremvc.model.instanceQueue", attributes: DispatchQueue.Attributes.concurrent)
    |                                                                                                            `- error: cannot find 'DispatchQueue' in scope
 49 |
 50 |     /// Message constant
/host/spi-builder-workspace/Sources/PureMVC/core/Model.swift:92:36: error: cannot infer contextual base in reference to member 'barrier'
 90 |     */
 91 |     open class func getInstance(_ key: String, factory: (String) -> IModel) -> IModel? {
 92 |         instanceQueue.sync(flags: .barrier) {
    |                                    `- error: cannot infer contextual base in reference to member 'barrier'
 93 |             if instanceMap[key] == nil {
 94 |                 instanceMap[key] = factory(key)
/host/spi-builder-workspace/Sources/PureMVC/core/Model.swift:107:36: error: cannot infer contextual base in reference to member 'barrier'
105 |     open func registerProxy(_ proxy: IProxy) {
106 |         proxy.initializeNotifier(multitonKey)
107 |         proxyMapQueue.sync(flags: .barrier) {
    |                                    `- error: cannot infer contextual base in reference to member 'barrier'
108 |             proxyMap[proxy.name] = proxy
109 |         }
/host/spi-builder-workspace/Sources/PureMVC/core/Model.swift:145:36: error: cannot infer contextual base in reference to member 'barrier'
143 |     @discardableResult open func removeProxy(_ proxyName: String) -> IProxy? {
144 |         var removed: IProxy?
145 |         proxyMapQueue.sync(flags: .barrier) {
    |                                    `- error: cannot infer contextual base in reference to member 'barrier'
146 |             removed = proxyMap.removeValue(forKey: proxyName)
147 |         }
/host/spi-builder-workspace/Sources/PureMVC/core/Model.swift:159:36: error: cannot infer contextual base in reference to member 'barrier'
157 |     */
158 |     open class func removeModel(_ key: String) {
159 |         instanceQueue.sync(flags: .barrier) {
    |                                    `- error: cannot infer contextual base in reference to member 'barrier'
160 |             _ = instanceMap.removeValue(forKey: key)
161 |         }
/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 |     /// The Multiton Key for this app
/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 |     /// The Multiton Key for this app
/host/spi-builder-workspace/Sources/PureMVC/core/View.swift:53:40: error: cannot find 'DispatchQueue' in scope
 51 |
 52 |     // instance Queue for thread safety
 53 |     private static let instanceQueue = DispatchQueue(label: "org.puremvc.view.instanceQueue", attributes: DispatchQueue.Attributes.concurrent)
    |                                        `- error: cannot find 'DispatchQueue' in scope
 54 |
 55 |     /// Message constant
/host/spi-builder-workspace/Sources/PureMVC/core/View.swift:53:107: error: cannot find 'DispatchQueue' in scope
 51 |
 52 |     // instance Queue for thread safety
 53 |     private static let instanceQueue = DispatchQueue(label: "org.puremvc.view.instanceQueue", attributes: DispatchQueue.Attributes.concurrent)
    |                                                                                                           `- error: cannot find 'DispatchQueue' in scope
 54 |
 55 |     /// Message constant
/host/spi-builder-workspace/Sources/PureMVC/core/View.swift:97:36: error: cannot infer contextual base in reference to member 'barrier'
 95 |     */
 96 |     open class func getInstance(_ key: String, factory: (String) -> IView) -> IView? {
 97 |         instanceQueue.sync(flags: .barrier) {
    |                                    `- error: cannot infer contextual base in reference to member 'barrier'
 98 |             if instanceMap[key] == nil {
 99 |                 instanceMap[key] = factory(key)
/host/spi-builder-workspace/Sources/PureMVC/core/View.swift:113:39: error: cannot infer contextual base in reference to member 'barrier'
111 |     */
112 |     open func registerObserver(_ notificationName: String, observer: IObserver) {
113 |         observerMapQueue.sync(flags: .barrier) {
    |                                       `- error: cannot infer contextual base in reference to member 'barrier'
114 |             if observerMap[notificationName] != nil {
115 |                 observerMap[notificationName]!.append(observer)
/host/spi-builder-workspace/Sources/PureMVC/core/View.swift:150:39: error: cannot infer contextual base in reference to member 'barrier'
148 |     */
149 |     open func removeObserver(_ notificationName: String, notifyContext: AnyObject) {
150 |         observerMapQueue.sync(flags: .barrier) {
    |                                       `- error: cannot infer contextual base in reference to member 'barrier'
151 |             // the observer list for the notification under inspection
152 |             guard var observers = observerMap[notificationName] else { return }
/host/spi-builder-workspace/Sources/PureMVC/core/View.swift:192:39: error: cannot infer contextual base in reference to member 'barrier'
190 |         mediator.initializeNotifier(multitonKey)
191 |
192 |         mediatorMapQueue.sync(flags: .barrier) {
    |                                       `- error: cannot infer contextual base in reference to member 'barrier'
193 |             // Register the Mediator for retrieval by name
194 |             mediatorMap[mediator.name] = mediator
/host/spi-builder-workspace/Sources/PureMVC/core/View.swift:243:53: error: cannot infer contextual base in reference to member 'barrier'
241 |     @discardableResult open func removeMediator(_ mediatorName: String) -> IMediator? {
242 |         // remove the mediator from the map
243 |         let removed = mediatorMapQueue.sync(flags: .barrier) {
    |                                                     `- error: cannot infer contextual base in reference to member 'barrier'
244 |             mediatorMap.removeValue(forKey: mediatorName)
245 |         }
/host/spi-builder-workspace/Sources/PureMVC/core/View.swift:268:36: error: cannot infer contextual base in reference to member 'barrier'
266 |     */
267 |     open class func removeView(_ key: String) {
268 |         instanceQueue.sync(flags: .barrier) {
    |                                    `- error: cannot infer contextual base in reference to member 'barrier'
269 |             _ = instanceMap.removeValue(forKey: key)
270 |         }
[24/25] Compiling PureMVC Observer.swift
[25/25] Compiling PureMVC Proxy.swift
BUILD FAILURE 6.1 wasm