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

Successful build of PureMVC, reference 1.6.0 (b4dcba), with Swift 6.1 for Linux on 25 Apr 2025 21:44:17 UTC.

Swift 6 data race errors: 4

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -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

Build Log

========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/puremvc/puremvc-swift-standard-framework.git
Reference: 1.6.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-standard-framework
 * tag               1.6.0      -> FETCH_HEAD
HEAD is now at b4dcba6 update
Cloned https://github.com/puremvc/puremvc-swift-standard-framework.git
Revision (git rev-parse @):
b4dcba6cbac2280f8971fff222e41882a4e817a8
SUCCESS checkout https://github.com/puremvc/puremvc-swift-standard-framework.git at 1.6.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.1
Building package at path:  $PWD
https://github.com/puremvc/puremvc-swift-standard-framework.git
https://github.com/puremvc/puremvc-swift-standard-framework.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "PureMVC",
  "name" : "PureMVC",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "PureMVC",
      "targets" : [
        "PureMVC"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "PureMVCTests",
      "module_type" : "SwiftTarget",
      "name" : "PureMVCTests",
      "path" : "Tests/PureMVCTests",
      "sources" : [
        "core/ControllerTest.swift",
        "core/ControllerTestCommand.swift",
        "core/ControllerTestCommand2.swift",
        "core/ControllerTestVO.swift",
        "core/ModelTest.swift",
        "core/ModelTestProxy.swift",
        "core/ViewTest.swift",
        "core/ViewTestMediator.swift",
        "core/ViewTestMediator2.swift",
        "core/ViewTestMediator3.swift",
        "core/ViewTestMediator4.swift",
        "core/ViewTestMediator5.swift",
        "core/ViewTestMediator6.swift",
        "core/ViewTestNote.swift",
        "core/ViewTestVO.swift",
        "patterns/command/MacroCommandTest.swift",
        "patterns/command/MacroCommandTestCommand.swift",
        "patterns/command/MacroCommandTestSub1Command.swift",
        "patterns/command/MacroCommandTestSub2Command.swift",
        "patterns/command/MacroCommandTestVO.swift",
        "patterns/command/SimpleCommandTest.swift",
        "patterns/command/SimpleCommandTestCommand.swift",
        "patterns/command/SimpleCommandTestVO.swift",
        "patterns/facade/FacadeTest.swift",
        "patterns/facade/FacadeTestCommand.swift",
        "patterns/facade/FacadeTestVO.swift",
        "patterns/mediator/MediatorTest.swift",
        "patterns/observer/NotificationTest.swift",
        "patterns/observer/NotifierTest.swift",
        "patterns/observer/ObserverTest.swift",
        "patterns/proxy/ProxyTest.swift"
      ],
      "target_dependencies" : [
        "PureMVC"
      ],
      "type" : "test"
    },
    {
      "c99name" : "PureMVC",
      "module_type" : "SwiftTarget",
      "name" : "PureMVC",
      "path" : "Sources/PureMVC",
      "product_memberships" : [
        "PureMVC"
      ],
      "sources" : [
        "core/Controller.swift",
        "core/Model.swift",
        "core/View.swift",
        "interfaces/ICommand.swift",
        "interfaces/IController.swift",
        "interfaces/IFacade.swift",
        "interfaces/IMediator.swift",
        "interfaces/IModel.swift",
        "interfaces/INotification.swift",
        "interfaces/INotifier.swift",
        "interfaces/IObserver.swift",
        "interfaces/IProxy.swift",
        "interfaces/IView.swift",
        "patterns/command/MacroCommand.swift",
        "patterns/command/SimpleCommand.swift",
        "patterns/facade/Facade.swift",
        "patterns/mediator/Mediator.swift",
        "patterns/observer/Notification.swift",
        "patterns/observer/Notifier.swift",
        "patterns/observer/Observer.swift",
        "patterns/proxy/Proxy.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.1"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -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
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/22] Emitting module PureMVC
/host/spi-builder-workspace/Sources/PureMVC/core/Controller.swift:53:24: warning: static property 'instance' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 51 |
 52 |     // Singleton instance
 53 |     private static var instance: IController?
    |                        |- warning: static property 'instance' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert 'instance' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: add '@MainActor' to make static property 'instance' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 54 |
 55 |     // Concurrent queue for singleton instance
/host/spi-builder-workspace/Sources/PureMVC/core/Model.swift:42:24: warning: static property 'instance' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 40 |
 41 |     // Singleton instance
 42 |     private static var instance: IModel?
    |                        |- warning: static property 'instance' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert 'instance' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: add '@MainActor' to make static property 'instance' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 43 |
 44 |     // Concurrent queue for singleton instance
/host/spi-builder-workspace/Sources/PureMVC/core/View.swift:47:24: warning: static property 'instance' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 45 |
 46 |     // Singleton instance
 47 |     private static var instance: IView?
    |                        |- warning: static property 'instance' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert 'instance' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: add '@MainActor' to make static property 'instance' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 48 |
 49 |     // Concurrent queue for singleton instance
/host/spi-builder-workspace/Sources/PureMVC/patterns/facade/Facade.swift:42:24: warning: static property 'instance' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 40 |
 41 |     // The Singleton Facade instance
 42 |     private static var instance: IFacade?
    |                        |- warning: static property 'instance' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert 'instance' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: add '@MainActor' to make static property 'instance' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 43 |
 44 |     // Concurrent queue for singleton instance
[4/24] Compiling PureMVC Observer.swift
[5/24] Compiling PureMVC Proxy.swift
[6/24] Compiling PureMVC Notification.swift
[7/24] Compiling PureMVC Notifier.swift
[8/24] Compiling PureMVC ICommand.swift
[9/24] Compiling PureMVC IController.swift
[10/24] Compiling PureMVC IFacade.swift
[11/24] Compiling PureMVC INotifier.swift
[12/24] Compiling PureMVC IObserver.swift
[13/24] Compiling PureMVC IProxy.swift
[14/24] Compiling PureMVC IView.swift
[15/24] Compiling PureMVC MacroCommand.swift
[16/24] Compiling PureMVC SimpleCommand.swift
[17/24] Compiling PureMVC IMediator.swift
[18/24] Compiling PureMVC IModel.swift
[19/24] Compiling PureMVC INotification.swift
[20/24] Compiling PureMVC Facade.swift
/host/spi-builder-workspace/Sources/PureMVC/patterns/facade/Facade.swift:42:24: warning: static property 'instance' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 40 |
 41 |     // The Singleton Facade instance
 42 |     private static var instance: IFacade?
    |                        |- warning: static property 'instance' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert 'instance' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: add '@MainActor' to make static property 'instance' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 43 |
 44 |     // Concurrent queue for singleton instance
[21/24] Compiling PureMVC Mediator.swift
/host/spi-builder-workspace/Sources/PureMVC/patterns/facade/Facade.swift:42:24: warning: static property 'instance' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 40 |
 41 |     // The Singleton Facade instance
 42 |     private static var instance: IFacade?
    |                        |- warning: static property 'instance' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert 'instance' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: add '@MainActor' to make static property 'instance' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 43 |
 44 |     // Concurrent queue for singleton instance
[22/24] Compiling PureMVC Controller.swift
/host/spi-builder-workspace/Sources/PureMVC/core/Controller.swift:53:24: warning: static property 'instance' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 51 |
 52 |     // Singleton instance
 53 |     private static var instance: IController?
    |                        |- warning: static property 'instance' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert 'instance' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: add '@MainActor' to make static property 'instance' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 54 |
 55 |     // Concurrent queue for singleton instance
/host/spi-builder-workspace/Sources/PureMVC/core/Model.swift:42:24: warning: static property 'instance' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 40 |
 41 |     // Singleton instance
 42 |     private static var instance: IModel?
    |                        |- warning: static property 'instance' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert 'instance' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: add '@MainActor' to make static property 'instance' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 43 |
 44 |     // Concurrent queue for singleton instance
/host/spi-builder-workspace/Sources/PureMVC/core/View.swift:47:24: warning: static property 'instance' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 45 |
 46 |     // Singleton instance
 47 |     private static var instance: IView?
    |                        |- warning: static property 'instance' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert 'instance' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: add '@MainActor' to make static property 'instance' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 48 |
 49 |     // Concurrent queue for singleton instance
[23/24] Compiling PureMVC Model.swift
/host/spi-builder-workspace/Sources/PureMVC/core/Controller.swift:53:24: warning: static property 'instance' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 51 |
 52 |     // Singleton instance
 53 |     private static var instance: IController?
    |                        |- warning: static property 'instance' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert 'instance' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: add '@MainActor' to make static property 'instance' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 54 |
 55 |     // Concurrent queue for singleton instance
/host/spi-builder-workspace/Sources/PureMVC/core/Model.swift:42:24: warning: static property 'instance' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 40 |
 41 |     // Singleton instance
 42 |     private static var instance: IModel?
    |                        |- warning: static property 'instance' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert 'instance' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: add '@MainActor' to make static property 'instance' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 43 |
 44 |     // Concurrent queue for singleton instance
/host/spi-builder-workspace/Sources/PureMVC/core/View.swift:47:24: warning: static property 'instance' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 45 |
 46 |     // Singleton instance
 47 |     private static var instance: IView?
    |                        |- warning: static property 'instance' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert 'instance' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: add '@MainActor' to make static property 'instance' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 48 |
 49 |     // Concurrent queue for singleton instance
[24/24] Compiling PureMVC View.swift
/host/spi-builder-workspace/Sources/PureMVC/core/Controller.swift:53:24: warning: static property 'instance' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 51 |
 52 |     // Singleton instance
 53 |     private static var instance: IController?
    |                        |- warning: static property 'instance' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert 'instance' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: add '@MainActor' to make static property 'instance' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 54 |
 55 |     // Concurrent queue for singleton instance
/host/spi-builder-workspace/Sources/PureMVC/core/Model.swift:42:24: warning: static property 'instance' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 40 |
 41 |     // Singleton instance
 42 |     private static var instance: IModel?
    |                        |- warning: static property 'instance' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert 'instance' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: add '@MainActor' to make static property 'instance' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 43 |
 44 |     // Concurrent queue for singleton instance
/host/spi-builder-workspace/Sources/PureMVC/core/View.swift:47:24: warning: static property 'instance' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 45 |
 46 |     // Singleton instance
 47 |     private static var instance: IView?
    |                        |- warning: static property 'instance' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert 'instance' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: add '@MainActor' to make static property 'instance' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 48 |
 49 |     // Concurrent queue for singleton instance
Build complete! (8.07s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "PureMVC",
  "name" : "PureMVC",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "PureMVC",
      "targets" : [
        "PureMVC"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "PureMVCTests",
      "module_type" : "SwiftTarget",
      "name" : "PureMVCTests",
      "path" : "Tests/PureMVCTests",
      "sources" : [
        "core/ControllerTest.swift",
        "core/ControllerTestCommand.swift",
        "core/ControllerTestCommand2.swift",
        "core/ControllerTestVO.swift",
        "core/ModelTest.swift",
        "core/ModelTestProxy.swift",
        "core/ViewTest.swift",
        "core/ViewTestMediator.swift",
        "core/ViewTestMediator2.swift",
        "core/ViewTestMediator3.swift",
        "core/ViewTestMediator4.swift",
        "core/ViewTestMediator5.swift",
        "core/ViewTestMediator6.swift",
        "core/ViewTestNote.swift",
        "core/ViewTestVO.swift",
        "patterns/command/MacroCommandTest.swift",
        "patterns/command/MacroCommandTestCommand.swift",
        "patterns/command/MacroCommandTestSub1Command.swift",
        "patterns/command/MacroCommandTestSub2Command.swift",
        "patterns/command/MacroCommandTestVO.swift",
        "patterns/command/SimpleCommandTest.swift",
        "patterns/command/SimpleCommandTestCommand.swift",
        "patterns/command/SimpleCommandTestVO.swift",
        "patterns/facade/FacadeTest.swift",
        "patterns/facade/FacadeTestCommand.swift",
        "patterns/facade/FacadeTestVO.swift",
        "patterns/mediator/MediatorTest.swift",
        "patterns/observer/NotificationTest.swift",
        "patterns/observer/NotifierTest.swift",
        "patterns/observer/ObserverTest.swift",
        "patterns/proxy/ProxyTest.swift"
      ],
      "target_dependencies" : [
        "PureMVC"
      ],
      "type" : "test"
    },
    {
      "c99name" : "PureMVC",
      "module_type" : "SwiftTarget",
      "name" : "PureMVC",
      "path" : "Sources/PureMVC",
      "product_memberships" : [
        "PureMVC"
      ],
      "sources" : [
        "core/Controller.swift",
        "core/Model.swift",
        "core/View.swift",
        "interfaces/ICommand.swift",
        "interfaces/IController.swift",
        "interfaces/IFacade.swift",
        "interfaces/IMediator.swift",
        "interfaces/IModel.swift",
        "interfaces/INotification.swift",
        "interfaces/INotifier.swift",
        "interfaces/IObserver.swift",
        "interfaces/IProxy.swift",
        "interfaces/IView.swift",
        "patterns/command/MacroCommand.swift",
        "patterns/command/SimpleCommand.swift",
        "patterns/facade/Facade.swift",
        "patterns/mediator/Mediator.swift",
        "patterns/observer/Notification.swift",
        "patterns/observer/Notifier.swift",
        "patterns/observer/Observer.swift",
        "patterns/proxy/Proxy.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.1"
}
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Done.