Build Information
Failed to build SwiftDI with Swift 6.0 for macOS (SPM).
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/litecode/swiftdi.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/litecode/swiftdi
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 0836fd6 Merge pull request #10 from benyo/patch-1
Cloned https://github.com/litecode/swiftdi.git
Revision (git rev-parse @):
0836fd68479ed3ee0c4f83c0ab2ad148b08a0ac1
SUCCESS checkout https://github.com/litecode/swiftdi.git at master
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $workDir
https://github.com/litecode/swiftdi.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-6F35C1178C84523A.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/25] Emitting module SwiftDI
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDI/DSL/DIBuilder.swift:10:2: warning: '@_functionBuilder' has been renamed to '@resultBuilder'
8 | import Foundation
9 |
10 | @_functionBuilder
| `- warning: '@_functionBuilder' has been renamed to '@resultBuilder'
11 | public struct DIBuilder {
12 | public static func buildBlock() -> EmptyDIPart {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDI/SwiftDI.swift:8:27: warning: static property 'lifeCycle' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
6 | public enum Defaults {
7 | /// Set life time for you instantces. By default is `DILifeCycle.objectGraph`
8 | public static var lifeCycle = DILifeCycle.objectGraph
| |- warning: static property 'lifeCycle' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'lifeCycle' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'lifeCycle' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 | }
10 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDI/SwiftDI.swift:11:38: warning: static property 'sharedContainer' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
9 | }
10 |
11 | internal private(set) static var sharedContainer: DIContainer = DIContainer()
| |- warning: static property 'sharedContainer' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'sharedContainer' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'sharedContainer' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 |
13 | /// Use container for inject dependencies.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDI/SwiftUI/View+SwiftDI.swift:29:16: warning: static property 'defaultValue' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
27 | @available(iOS 13.0, OSX 10.15, tvOS 13.0, watchOS 6.0, *)
28 | struct DIContainerEnvironmentKey: EnvironmentKey {
29 | static var defaultValue: DIContainer = SwiftDI.sharedContainer
| |- warning: static property 'defaultValue' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 | }
31 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDI/Utils/InjectableProperty.swift:30:11: error: 'EnvironmentInject' is only available in macOS 10.15 or newer
28 |
29 | @available(iOS 13.0, *)
30 | extension EnvironmentInject: InjectableProperty {
| | `- error: 'EnvironmentInject' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing extension
31 | var type: Any.Type {
32 | return Value.self
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDI/Utils/InjectableProperty.swift:38:9: warning: main actor-isolated property 'type' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
9 |
10 | protocol InjectableProperty {
11 | var type: Any.Type { get }
| `- note: 'type' declared here
12 | var bundle: Bundle? { get }
13 | }
:
35 |
36 | @available(iOS 13.0, *)
37 | extension EnvironmentObservedInject: InjectableProperty {
| `- note: add '@preconcurrency' to the 'InjectableProperty' conformance to defer isolation checking to run time
38 | var type: Any.Type {
| `- warning: main actor-isolated property 'type' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
39 | return Value.self
40 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDI/Utils/InjectableProperty.swift:37:11: error: 'EnvironmentObservedInject' is only available in macOS 10.15 or newer
35 |
36 | @available(iOS 13.0, *)
37 | extension EnvironmentObservedInject: InjectableProperty {
| | `- error: 'EnvironmentObservedInject' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing extension
38 | var type: Any.Type {
39 | return Value.self
[4/27] Compiling SwiftDI InjectableProperty.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDI/Utils/InjectableProperty.swift:30:11: error: 'EnvironmentInject' is only available in macOS 10.15 or newer
28 |
29 | @available(iOS 13.0, *)
30 | extension EnvironmentInject: InjectableProperty {
| | `- error: 'EnvironmentInject' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing extension
31 | var type: Any.Type {
32 | return Value.self
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDI/Utils/InjectableProperty.swift:38:9: warning: main actor-isolated property 'type' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
9 |
10 | protocol InjectableProperty {
11 | var type: Any.Type { get }
| `- note: 'type' declared here
12 | var bundle: Bundle? { get }
13 | }
:
35 |
36 | @available(iOS 13.0, *)
37 | extension EnvironmentObservedInject: InjectableProperty {
| `- note: add '@preconcurrency' to the 'InjectableProperty' conformance to defer isolation checking to run time
38 | var type: Any.Type {
| `- warning: main actor-isolated property 'type' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
39 | return Value.self
40 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDI/Utils/InjectableProperty.swift:37:11: error: 'EnvironmentObservedInject' is only available in macOS 10.15 or newer
35 |
36 | @available(iOS 13.0, *)
37 | extension EnvironmentObservedInject: InjectableProperty {
| | `- error: 'EnvironmentObservedInject' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing extension
38 | var type: Any.Type {
39 | return Value.self
[5/27] Compiling SwiftDI Utils.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDI/Utils/InjectableProperty.swift:30:11: error: 'EnvironmentInject' is only available in macOS 10.15 or newer
28 |
29 | @available(iOS 13.0, *)
30 | extension EnvironmentInject: InjectableProperty {
| | `- error: 'EnvironmentInject' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing extension
31 | var type: Any.Type {
32 | return Value.self
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDI/Utils/InjectableProperty.swift:38:9: warning: main actor-isolated property 'type' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
9 |
10 | protocol InjectableProperty {
11 | var type: Any.Type { get }
| `- note: 'type' declared here
12 | var bundle: Bundle? { get }
13 | }
:
35 |
36 | @available(iOS 13.0, *)
37 | extension EnvironmentObservedInject: InjectableProperty {
| `- note: add '@preconcurrency' to the 'InjectableProperty' conformance to defer isolation checking to run time
38 | var type: Any.Type {
| `- warning: main actor-isolated property 'type' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
39 | return Value.self
40 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDI/Utils/InjectableProperty.swift:37:11: error: 'EnvironmentObservedInject' is only available in macOS 10.15 or newer
35 |
36 | @available(iOS 13.0, *)
37 | extension EnvironmentObservedInject: InjectableProperty {
| | `- error: 'EnvironmentObservedInject' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing extension
38 | var type: Any.Type {
39 | return Value.self
[6/27] Compiling SwiftDI Resolver.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDI/SwiftDI.swift:8:27: warning: static property 'lifeCycle' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
6 | public enum Defaults {
7 | /// Set life time for you instantces. By default is `DILifeCycle.objectGraph`
8 | public static var lifeCycle = DILifeCycle.objectGraph
| |- warning: static property 'lifeCycle' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'lifeCycle' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'lifeCycle' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 | }
10 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDI/SwiftDI.swift:11:38: warning: static property 'sharedContainer' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
9 | }
10 |
11 | internal private(set) static var sharedContainer: DIContainer = DIContainer()
| |- warning: static property 'sharedContainer' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'sharedContainer' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'sharedContainer' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 |
13 | /// Use container for inject dependencies.
[7/27] Compiling SwiftDI SwiftDI.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDI/SwiftDI.swift:8:27: warning: static property 'lifeCycle' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
6 | public enum Defaults {
7 | /// Set life time for you instantces. By default is `DILifeCycle.objectGraph`
8 | public static var lifeCycle = DILifeCycle.objectGraph
| |- warning: static property 'lifeCycle' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'lifeCycle' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'lifeCycle' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 | }
10 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDI/SwiftDI.swift:11:38: warning: static property 'sharedContainer' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
9 | }
10 |
11 | internal private(set) static var sharedContainer: DIContainer = DIContainer()
| |- warning: static property 'sharedContainer' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'sharedContainer' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'sharedContainer' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 |
13 | /// Use container for inject dependencies.
[8/27] Compiling SwiftDI DIObject.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDI/DSL/DIBuilder.swift:10:2: warning: '@_functionBuilder' has been renamed to '@resultBuilder'
8 | import Foundation
9 |
10 | @_functionBuilder
| `- warning: '@_functionBuilder' has been renamed to '@resultBuilder'
11 | public struct DIBuilder {
12 | public static func buildBlock() -> EmptyDIPart {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDI/SwiftDI.swift:8:27: warning: static property 'lifeCycle' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
6 | public enum Defaults {
7 | /// Set life time for you instantces. By default is `DILifeCycle.objectGraph`
8 | public static var lifeCycle = DILifeCycle.objectGraph
| |- warning: static property 'lifeCycle' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'lifeCycle' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'lifeCycle' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 | }
10 |
[9/27] Compiling SwiftDI AnyDIPart.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDI/DSL/DIBuilder.swift:10:2: warning: '@_functionBuilder' has been renamed to '@resultBuilder'
8 | import Foundation
9 |
10 | @_functionBuilder
| `- warning: '@_functionBuilder' has been renamed to '@resultBuilder'
11 | public struct DIBuilder {
12 | public static func buildBlock() -> EmptyDIPart {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDI/SwiftDI.swift:8:27: warning: static property 'lifeCycle' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
6 | public enum Defaults {
7 | /// Set life time for you instantces. By default is `DILifeCycle.objectGraph`
8 | public static var lifeCycle = DILifeCycle.objectGraph
| |- warning: static property 'lifeCycle' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'lifeCycle' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'lifeCycle' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 | }
10 |
[10/27] Compiling SwiftDI DIBuilder.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDI/DSL/DIBuilder.swift:10:2: warning: '@_functionBuilder' has been renamed to '@resultBuilder'
8 | import Foundation
9 |
10 | @_functionBuilder
| `- warning: '@_functionBuilder' has been renamed to '@resultBuilder'
11 | public struct DIBuilder {
12 | public static func buildBlock() -> EmptyDIPart {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDI/SwiftDI.swift:8:27: warning: static property 'lifeCycle' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
6 | public enum Defaults {
7 | /// Set life time for you instantces. By default is `DILifeCycle.objectGraph`
8 | public static var lifeCycle = DILifeCycle.objectGraph
| |- warning: static property 'lifeCycle' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'lifeCycle' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'lifeCycle' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 | }
10 |
[11/27] Compiling SwiftDI DIGroup.swift
[12/27] Compiling SwiftDI DIObject+DIPartBuildable.swift
[13/27] Compiling SwiftDI DIPart+DIPartBuildable.swift
[14/27] Compiling SwiftDI DITuplePart.swift
[15/27] Compiling SwiftDI EmptyDIPart.swift
[16/27] Compiling SwiftDI View+SwiftDI.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDI/SwiftUI/View+SwiftDI.swift:29:16: warning: static property 'defaultValue' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
27 | @available(iOS 13.0, OSX 10.15, tvOS 13.0, watchOS 6.0, *)
28 | struct DIContainerEnvironmentKey: EnvironmentKey {
29 | static var defaultValue: DIContainer = SwiftDI.sharedContainer
| |- warning: static property 'defaultValue' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 | }
31 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDI/SwiftDI.swift:11:38: warning: static property 'sharedContainer' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
9 | }
10 |
11 | internal private(set) static var sharedContainer: DIContainer = DIContainer()
| |- warning: static property 'sharedContainer' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'sharedContainer' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'sharedContainer' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 |
13 | /// Use container for inject dependencies.
[17/27] Compiling SwiftDI Extensions.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDI/SwiftUI/View+SwiftDI.swift:29:16: warning: static property 'defaultValue' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
27 | @available(iOS 13.0, OSX 10.15, tvOS 13.0, watchOS 6.0, *)
28 | struct DIContainerEnvironmentKey: EnvironmentKey {
29 | static var defaultValue: DIContainer = SwiftDI.sharedContainer
| |- warning: static property 'defaultValue' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 | }
31 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDI/SwiftDI.swift:11:38: warning: static property 'sharedContainer' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
9 | }
10 |
11 | internal private(set) static var sharedContainer: DIContainer = DIContainer()
| |- warning: static property 'sharedContainer' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'sharedContainer' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'sharedContainer' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 |
13 | /// Use container for inject dependencies.
[18/27] Compiling SwiftDI EnvironmentInject.swift
[19/27] Compiling SwiftDI EnvironmentObservedInject.swift
[20/27] Compiling SwiftDI DIComponentContext.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDI/DIContainer.swift:29:14: warning: 'load(container:)' is deprecated: Use `var body: some DIPart` instead
27 |
28 | public func appendPart<Content: DIPart>(_ part: Content.Type) {
29 | part.load(container: self)
| `- warning: 'load(container:)' is deprecated: Use `var body: some DIPart` instead
30 | }
31 |
[21/27] Compiling SwiftDI DIComponentManager.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDI/DIContainer.swift:29:14: warning: 'load(container:)' is deprecated: Use `var body: some DIPart` instead
27 |
28 | public func appendPart<Content: DIPart>(_ part: Content.Type) {
29 | part.load(container: self)
| `- warning: 'load(container:)' is deprecated: Use `var body: some DIPart` instead
30 | }
31 |
[22/27] Compiling SwiftDI DIContainer.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDI/DIContainer.swift:29:14: warning: 'load(container:)' is deprecated: Use `var body: some DIPart` instead
27 |
28 | public func appendPart<Content: DIPart>(_ part: Content.Type) {
29 | part.load(container: self)
| `- warning: 'load(container:)' is deprecated: Use `var body: some DIPart` instead
30 | }
31 |
[23/27] Compiling SwiftDI Never.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDI/SwiftDI.swift:11:38: warning: static property 'sharedContainer' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
9 | }
10 |
11 | internal private(set) static var sharedContainer: DIContainer = DIContainer()
| |- warning: static property 'sharedContainer' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'sharedContainer' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'sharedContainer' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 |
13 | /// Use container for inject dependencies.
[24/27] Compiling SwiftDI Inject.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDI/SwiftDI.swift:11:38: warning: static property 'sharedContainer' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
9 | }
10 |
11 | internal private(set) static var sharedContainer: DIContainer = DIContainer()
| |- warning: static property 'sharedContainer' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'sharedContainer' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'sharedContainer' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 |
13 | /// Use container for inject dependencies.
[25/27] Compiling SwiftDI DIPart.swift
[26/27] Compiling SwiftDI DIPartBuildable.swift
[27/27] Compiling SwiftDI DIRegister.swift
BUILD FAILURE 6.0 macosSpm