Build Information
Successful build of Factory with Swift 6.0 (beta) for macOS (SPM).
Swift 6 data race errors: 18
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/hmlongco/Factory.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/hmlongco/Factory
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 2729a04 Merge pull request #203 from 942v/fix/privacyinfo
Cloned https://github.com/hmlongco/Factory.git
Revision (git rev-parse @):
2729a04b17946f6e7f475395db1695caa94eaee2
SPI manifest file found: $workDir/.spi.yml
SUCCESS checkout https://github.com/hmlongco/Factory.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $workDir
https://github.com/hmlongco/Factory.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
[1/1] Compiling plugin Swift-DocC
[2/2] Compiling plugin Swift-DocC Preview
Building for debugging...
[2/5] Write sources
[3/5] Copying PrivacyInfo.xcprivacy
[4/5] Write swift-version-6F35C1178C84523A.txt
[6/19] Compiling Factory Resolver.swift
/Users/admin/builder/spi-builder-workspace/Sources/Factory/Factory/Locking.swift:32:14: warning: var 'globalRecursiveLock' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
30 |
31 | /// Master recursive lock
32 | internal var globalRecursiveLock = RecursiveLock()
| |- warning: var 'globalRecursiveLock' 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 'globalRecursiveLock' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'globalRecursiveLock' 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
33 |
34 | /// Custom recursive lock
/Users/admin/builder/spi-builder-workspace/Sources/Factory/Factory/Globals.swift:35:14: warning: var 'globalResolverKey' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
33 |
34 | /// Internal key used for Resolver mode
35 | internal var globalResolverKey: StaticString = "*"
| |- warning: var 'globalResolverKey' 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 'globalResolverKey' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'globalResolverKey' 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
36 |
37 | #if DEBUG
[7/19] Compiling Factory Resolutions.swift
/Users/admin/builder/spi-builder-workspace/Sources/Factory/Factory/Containers.swift:46:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'Container' may have shared mutable state; this is an error in the Swift 6 language mode
42 | ///
43 | /// See <doc:Containers> for more information.
44 | public final class Container: SharedContainer {
| `- note: class 'Container' does not conform to the 'Sendable' protocol
45 | /// Define the default shared container.
46 | public static let shared = Container()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'Container' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' 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
47 | /// Define the container's manager.
48 | public let manager: ContainerManager = ContainerManager()
[8/19] Compiling Factory Scopes.swift
/Users/admin/builder/spi-builder-workspace/Sources/Factory/Factory/Scopes.swift:101:23: warning: static property 'cached' is not concurrency-safe because non-'Sendable' type 'Scope.Cached' may have shared mutable state; this is an error in the Swift 6 language mode
99 |
100 | /// A reference to the default cached scope manager.
101 | public static let cached = Cached()
| |- warning: static property 'cached' is not concurrency-safe because non-'Sendable' type 'Scope.Cached' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'cached' 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
102 | /// Defines a cached scope. The same instance will be returned by the factory until the cache is reset.
103 | public final class Cached: Scope {
| `- note: class 'Cached' does not conform to the 'Sendable' protocol
104 | public override init() {
105 | super.init()
/Users/admin/builder/spi-builder-workspace/Sources/Factory/Factory/Scopes.swift:110:23: warning: static property 'graph' is not concurrency-safe because non-'Sendable' type 'Scope.Graph' may have shared mutable state; this is an error in the Swift 6 language mode
108 |
109 | /// A reference to the default graph scope manager.
110 | public static let graph = Graph()
| |- warning: static property 'graph' is not concurrency-safe because non-'Sendable' type 'Scope.Graph' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'graph' 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
111 | /// Defines the graph scope. A single instance of a given type will be returned during a given resolution cycle.
112 | ///
113 | /// This scope is managed and cleared by the main resolution function at the end of each resolution cycle.
114 | public final class Graph: Scope {
| `- note: class 'Graph' does not conform to the 'Sendable' protocol
115 | public override init() {
116 | super.init()
/Users/admin/builder/spi-builder-workspace/Sources/Factory/Factory/Scopes.swift:127:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'Scope.Shared' may have shared mutable state; this is an error in the Swift 6 language mode
125 |
126 | /// A reference to the default shared scope manager.
127 | public static let shared = Shared()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'Scope.Shared' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' 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
128 | /// Defines a shared (weak) scope. The same instance will be returned by the factory as long as someone maintains a strong reference.
129 | public final class Shared: Scope {
| `- note: class 'Shared' does not conform to the 'Sendable' protocol
130 | public override init() {
131 | super.init()
/Users/admin/builder/spi-builder-workspace/Sources/Factory/Factory/Scopes.swift:160:23: warning: static property 'singleton' is not concurrency-safe because non-'Sendable' type 'Scope.Singleton' may have shared mutable state; this is an error in the Swift 6 language mode
158 |
159 | /// A reference to the default singleton scope manager.
160 | public static let singleton = Singleton()
| |- warning: static property 'singleton' is not concurrency-safe because non-'Sendable' type 'Scope.Singleton' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'singleton' 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
161 | /// Defines the singleton scope. The same instance will always be returned by the factory.
162 | public final class Singleton: Scope, InternalScopeCaching {
| `- note: class 'Singleton' does not conform to the 'Sendable' protocol
163 | public override init() {
164 | super.init()
/Users/admin/builder/spi-builder-workspace/Sources/Factory/Factory/Scopes.swift:183:23: warning: static property 'unique' is not concurrency-safe because non-'Sendable' type 'Scope.Unique' may have shared mutable state; this is an error in the Swift 6 language mode
181 | ///
182 | /// If no scope cache is specified then Factory is running in unique more.
183 | public static let unique = Unique()
| |- warning: static property 'unique' is not concurrency-safe because non-'Sendable' type 'Scope.Unique' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'unique' 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
184 | /// Defines the unique scope. A new instance of a given type will be returned on every resolution cycle.
185 | public final class Unique: Scope {
| `- note: class 'Unique' does not conform to the 'Sendable' protocol
186 | public override init() {
187 | super.init()
/Users/admin/builder/spi-builder-workspace/Sources/Factory/Factory/Locking.swift:32:14: warning: var 'globalRecursiveLock' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
30 |
31 | /// Master recursive lock
32 | internal var globalRecursiveLock = RecursiveLock()
| |- warning: var 'globalRecursiveLock' 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 'globalRecursiveLock' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'globalRecursiveLock' 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
33 |
34 | /// Custom recursive lock
[9/19] Compiling Factory Modifiers.swift
/Users/admin/builder/spi-builder-workspace/Sources/Factory/Factory/Scopes.swift:101:23: warning: static property 'cached' is not concurrency-safe because non-'Sendable' type 'Scope.Cached' may have shared mutable state; this is an error in the Swift 6 language mode
99 |
100 | /// A reference to the default cached scope manager.
101 | public static let cached = Cached()
| |- warning: static property 'cached' is not concurrency-safe because non-'Sendable' type 'Scope.Cached' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'cached' 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
102 | /// Defines a cached scope. The same instance will be returned by the factory until the cache is reset.
103 | public final class Cached: Scope {
| `- note: class 'Cached' does not conform to the 'Sendable' protocol
104 | public override init() {
105 | super.init()
/Users/admin/builder/spi-builder-workspace/Sources/Factory/Factory/Scopes.swift:110:23: warning: static property 'graph' is not concurrency-safe because non-'Sendable' type 'Scope.Graph' may have shared mutable state; this is an error in the Swift 6 language mode
108 |
109 | /// A reference to the default graph scope manager.
110 | public static let graph = Graph()
| |- warning: static property 'graph' is not concurrency-safe because non-'Sendable' type 'Scope.Graph' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'graph' 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
111 | /// Defines the graph scope. A single instance of a given type will be returned during a given resolution cycle.
112 | ///
113 | /// This scope is managed and cleared by the main resolution function at the end of each resolution cycle.
114 | public final class Graph: Scope {
| `- note: class 'Graph' does not conform to the 'Sendable' protocol
115 | public override init() {
116 | super.init()
/Users/admin/builder/spi-builder-workspace/Sources/Factory/Factory/Scopes.swift:127:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'Scope.Shared' may have shared mutable state; this is an error in the Swift 6 language mode
125 |
126 | /// A reference to the default shared scope manager.
127 | public static let shared = Shared()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'Scope.Shared' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' 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
128 | /// Defines a shared (weak) scope. The same instance will be returned by the factory as long as someone maintains a strong reference.
129 | public final class Shared: Scope {
| `- note: class 'Shared' does not conform to the 'Sendable' protocol
130 | public override init() {
131 | super.init()
/Users/admin/builder/spi-builder-workspace/Sources/Factory/Factory/Scopes.swift:160:23: warning: static property 'singleton' is not concurrency-safe because non-'Sendable' type 'Scope.Singleton' may have shared mutable state; this is an error in the Swift 6 language mode
158 |
159 | /// A reference to the default singleton scope manager.
160 | public static let singleton = Singleton()
| |- warning: static property 'singleton' is not concurrency-safe because non-'Sendable' type 'Scope.Singleton' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'singleton' 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
161 | /// Defines the singleton scope. The same instance will always be returned by the factory.
162 | public final class Singleton: Scope, InternalScopeCaching {
| `- note: class 'Singleton' does not conform to the 'Sendable' protocol
163 | public override init() {
164 | super.init()
/Users/admin/builder/spi-builder-workspace/Sources/Factory/Factory/Scopes.swift:183:23: warning: static property 'unique' is not concurrency-safe because non-'Sendable' type 'Scope.Unique' may have shared mutable state; this is an error in the Swift 6 language mode
181 | ///
182 | /// If no scope cache is specified then Factory is running in unique more.
183 | public static let unique = Unique()
| |- warning: static property 'unique' is not concurrency-safe because non-'Sendable' type 'Scope.Unique' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'unique' 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
184 | /// Defines the unique scope. A new instance of a given type will be returned on every resolution cycle.
185 | public final class Unique: Scope {
| `- note: class 'Unique' does not conform to the 'Sendable' protocol
186 | public override init() {
187 | super.init()
[10/19] Compiling Factory Key.swift
/Users/admin/builder/spi-builder-workspace/Sources/Factory/Factory/Locking.swift:32:14: warning: var 'globalRecursiveLock' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
30 |
31 | /// Master recursive lock
32 | internal var globalRecursiveLock = RecursiveLock()
| |- warning: var 'globalRecursiveLock' 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 'globalRecursiveLock' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'globalRecursiveLock' 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
33 |
34 | /// Custom recursive lock
/Users/admin/builder/spi-builder-workspace/Sources/Factory/Factory/Locking.swift:65:14: warning: let 'globalDebugLock' is not concurrency-safe because non-'Sendable' type 'SpinLock' may have shared mutable state; this is an error in the Swift 6 language mode
63 |
64 | /// Master spin lock
65 | internal let globalDebugLock = SpinLock()
| |- warning: let 'globalDebugLock' is not concurrency-safe because non-'Sendable' type 'SpinLock' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'globalDebugLock' 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
66 |
67 | #if os(macOS) || os(iOS) || os(watchOS)
68 | /// Custom spin lock
69 | internal struct SpinLock {
| `- note: consider making struct 'SpinLock' conform to the 'Sendable' protocol
70 |
71 | init() {
[11/19] Compiling Factory Locking.swift
/Users/admin/builder/spi-builder-workspace/Sources/Factory/Factory/Locking.swift:32:14: warning: var 'globalRecursiveLock' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
30 |
31 | /// Master recursive lock
32 | internal var globalRecursiveLock = RecursiveLock()
| |- warning: var 'globalRecursiveLock' 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 'globalRecursiveLock' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'globalRecursiveLock' 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
33 |
34 | /// Custom recursive lock
/Users/admin/builder/spi-builder-workspace/Sources/Factory/Factory/Locking.swift:65:14: warning: let 'globalDebugLock' is not concurrency-safe because non-'Sendable' type 'SpinLock' may have shared mutable state; this is an error in the Swift 6 language mode
63 |
64 | /// Master spin lock
65 | internal let globalDebugLock = SpinLock()
| |- warning: let 'globalDebugLock' is not concurrency-safe because non-'Sendable' type 'SpinLock' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'globalDebugLock' 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
66 |
67 | #if os(macOS) || os(iOS) || os(watchOS)
68 | /// Custom spin lock
69 | internal struct SpinLock {
| `- note: consider making struct 'SpinLock' conform to the 'Sendable' protocol
70 |
71 | init() {
[12/19] Compiling Factory Registrations.swift
/Users/admin/builder/spi-builder-workspace/Sources/Factory/Factory/Locking.swift:65:14: warning: let 'globalDebugLock' is not concurrency-safe because non-'Sendable' type 'SpinLock' may have shared mutable state; this is an error in the Swift 6 language mode
63 |
64 | /// Master spin lock
65 | internal let globalDebugLock = SpinLock()
| |- warning: let 'globalDebugLock' is not concurrency-safe because non-'Sendable' type 'SpinLock' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'globalDebugLock' 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
66 |
67 | #if os(macOS) || os(iOS) || os(watchOS)
68 | /// Custom spin lock
69 | internal struct SpinLock {
| `- note: consider making struct 'SpinLock' conform to the 'Sendable' protocol
70 |
71 | init() {
/Users/admin/builder/spi-builder-workspace/Sources/Factory/Factory/Globals.swift:44:14: warning: var 'globalDebugInformationMap' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
42 | internal var globalTraceResolutions: [String] = []
43 | internal var globalLogger: (String) -> Void = { print($0) }
44 | internal var globalDebugInformationMap: [FactoryKey:FactoryDebugInformation] = [:]
| |- warning: var 'globalDebugInformationMap' 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 'globalDebugInformationMap' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'globalDebugInformationMap' 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
45 |
46 | /// Triggers fatalError after resetting enough stuff so unit tests can continue
/Users/admin/builder/spi-builder-workspace/Sources/Factory/Factory/Locking.swift:32:14: warning: var 'globalRecursiveLock' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
30 |
31 | /// Master recursive lock
32 | internal var globalRecursiveLock = RecursiveLock()
| |- warning: var 'globalRecursiveLock' 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 'globalRecursiveLock' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'globalRecursiveLock' 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
33 |
34 | /// Custom recursive lock
/Users/admin/builder/spi-builder-workspace/Sources/Factory/Factory/Globals.swift:42:14: warning: var 'globalTraceResolutions' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
40 | internal var globalDependencyChainMessages: [String] = []
41 | internal var globalTraceFlag: Bool = false
42 | internal var globalTraceResolutions: [String] = []
| |- warning: var 'globalTraceResolutions' 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 'globalTraceResolutions' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'globalTraceResolutions' 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
43 | internal var globalLogger: (String) -> Void = { print($0) }
44 | internal var globalDebugInformationMap: [FactoryKey:FactoryDebugInformation] = [:]
/Users/admin/builder/spi-builder-workspace/Sources/Factory/Factory/Globals.swift:32:14: warning: var 'globalGraphResolutionDepth' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
30 |
31 | /// Master graph resolution depth counter
32 | internal var globalGraphResolutionDepth = 0
| |- warning: var 'globalGraphResolutionDepth' 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 'globalGraphResolutionDepth' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'globalGraphResolutionDepth' 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
33 |
34 | /// Internal key used for Resolver mode
/Users/admin/builder/spi-builder-workspace/Sources/Factory/Factory/Scopes.swift:110:23: warning: static property 'graph' is not concurrency-safe because non-'Sendable' type 'Scope.Graph' may have shared mutable state; this is an error in the Swift 6 language mode
108 |
109 | /// A reference to the default graph scope manager.
110 | public static let graph = Graph()
| |- warning: static property 'graph' is not concurrency-safe because non-'Sendable' type 'Scope.Graph' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'graph' 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
111 | /// Defines the graph scope. A single instance of a given type will be returned during a given resolution cycle.
112 | ///
113 | /// This scope is managed and cleared by the main resolution function at the end of each resolution cycle.
114 | public final class Graph: Scope {
| `- note: class 'Graph' does not conform to the 'Sendable' protocol
115 | public override init() {
116 | super.init()
/Users/admin/builder/spi-builder-workspace/Sources/Factory/Factory/Globals.swift:40:14: warning: var 'globalDependencyChainMessages' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
38 | /// Internal variables used for debugging
39 | internal var globalDependencyChain: [String] = []
40 | internal var globalDependencyChainMessages: [String] = []
| |- warning: var 'globalDependencyChainMessages' 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 'globalDependencyChainMessages' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'globalDependencyChainMessages' 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
41 | internal var globalTraceFlag: Bool = false
42 | internal var globalTraceResolutions: [String] = []
/Users/admin/builder/spi-builder-workspace/Sources/Factory/Factory/Globals.swift:39:14: warning: var 'globalDependencyChain' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
37 | #if DEBUG
38 | /// Internal variables used for debugging
39 | internal var globalDependencyChain: [String] = []
| |- warning: var 'globalDependencyChain' 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 'globalDependencyChain' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'globalDependencyChain' 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
40 | internal var globalDependencyChainMessages: [String] = []
41 | internal var globalTraceFlag: Bool = false
/Users/admin/builder/spi-builder-workspace/Sources/Factory/Factory/Globals.swift:43:14: warning: var 'globalLogger' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
41 | internal var globalTraceFlag: Bool = false
42 | internal var globalTraceResolutions: [String] = []
43 | internal var globalLogger: (String) -> Void = { print($0) }
| |- warning: var 'globalLogger' 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 'globalLogger' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'globalLogger' 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
44 | internal var globalDebugInformationMap: [FactoryKey:FactoryDebugInformation] = [:]
45 |
/Users/admin/builder/spi-builder-workspace/Sources/Factory/Factory/Contexts.swift:69:23: warning: static property 'current' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
67 | extension FactoryContext {
68 | /// Global current context.
69 | public static var current = FactoryContext()
| |- warning: static property 'current' 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 'current' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'current' 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
70 | }
71 |
[13/20] Compiling Factory resource_bundle_accessor.swift
[14/20] Compiling Factory Aliases.swift
/Users/admin/builder/spi-builder-workspace/Sources/Factory/Factory/Containers.swift:46:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'Container' may have shared mutable state; this is an error in the Swift 6 language mode
42 | ///
43 | /// See <doc:Containers> for more information.
44 | public final class Container: SharedContainer {
| `- note: class 'Container' does not conform to the 'Sendable' protocol
45 | /// Define the default shared container.
46 | public static let shared = Container()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'Container' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' 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
47 | /// Define the container's manager.
48 | public let manager: ContainerManager = ContainerManager()
/Users/admin/builder/spi-builder-workspace/Sources/Factory/Factory/Contexts.swift:69:23: warning: static property 'current' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
67 | extension FactoryContext {
68 | /// Global current context.
69 | public static var current = FactoryContext()
| |- warning: static property 'current' 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 'current' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'current' 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
70 | }
71 |
/Users/admin/builder/spi-builder-workspace/Sources/Factory/Factory/Globals.swift:41:14: warning: var 'globalTraceFlag' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
39 | internal var globalDependencyChain: [String] = []
40 | internal var globalDependencyChainMessages: [String] = []
41 | internal var globalTraceFlag: Bool = false
| |- warning: var 'globalTraceFlag' 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 'globalTraceFlag' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'globalTraceFlag' 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
42 | internal var globalTraceResolutions: [String] = []
43 | internal var globalLogger: (String) -> Void = { print($0) }
/Users/admin/builder/spi-builder-workspace/Sources/Factory/Factory/Globals.swift:43:14: warning: var 'globalLogger' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
41 | internal var globalTraceFlag: Bool = false
42 | internal var globalTraceResolutions: [String] = []
43 | internal var globalLogger: (String) -> Void = { print($0) }
| |- warning: var 'globalLogger' 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 'globalLogger' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'globalLogger' 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
44 | internal var globalDebugInformationMap: [FactoryKey:FactoryDebugInformation] = [:]
45 |
/Users/admin/builder/spi-builder-workspace/Sources/Factory/Factory/Locking.swift:32:14: warning: var 'globalRecursiveLock' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
30 |
31 | /// Master recursive lock
32 | internal var globalRecursiveLock = RecursiveLock()
| |- warning: var 'globalRecursiveLock' 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 'globalRecursiveLock' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'globalRecursiveLock' 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
33 |
34 | /// Custom recursive lock
[15/20] Compiling Factory Containers.swift
/Users/admin/builder/spi-builder-workspace/Sources/Factory/Factory/Containers.swift:46:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'Container' may have shared mutable state; this is an error in the Swift 6 language mode
42 | ///
43 | /// See <doc:Containers> for more information.
44 | public final class Container: SharedContainer {
| `- note: class 'Container' does not conform to the 'Sendable' protocol
45 | /// Define the default shared container.
46 | public static let shared = Container()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'Container' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' 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
47 | /// Define the container's manager.
48 | public let manager: ContainerManager = ContainerManager()
/Users/admin/builder/spi-builder-workspace/Sources/Factory/Factory/Contexts.swift:69:23: warning: static property 'current' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
67 | extension FactoryContext {
68 | /// Global current context.
69 | public static var current = FactoryContext()
| |- warning: static property 'current' 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 'current' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'current' 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
70 | }
71 |
/Users/admin/builder/spi-builder-workspace/Sources/Factory/Factory/Globals.swift:41:14: warning: var 'globalTraceFlag' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
39 | internal var globalDependencyChain: [String] = []
40 | internal var globalDependencyChainMessages: [String] = []
41 | internal var globalTraceFlag: Bool = false
| |- warning: var 'globalTraceFlag' 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 'globalTraceFlag' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'globalTraceFlag' 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
42 | internal var globalTraceResolutions: [String] = []
43 | internal var globalLogger: (String) -> Void = { print($0) }
/Users/admin/builder/spi-builder-workspace/Sources/Factory/Factory/Globals.swift:43:14: warning: var 'globalLogger' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
41 | internal var globalTraceFlag: Bool = false
42 | internal var globalTraceResolutions: [String] = []
43 | internal var globalLogger: (String) -> Void = { print($0) }
| |- warning: var 'globalLogger' 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 'globalLogger' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'globalLogger' 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
44 | internal var globalDebugInformationMap: [FactoryKey:FactoryDebugInformation] = [:]
45 |
/Users/admin/builder/spi-builder-workspace/Sources/Factory/Factory/Locking.swift:32:14: warning: var 'globalRecursiveLock' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
30 |
31 | /// Master recursive lock
32 | internal var globalRecursiveLock = RecursiveLock()
| |- warning: var 'globalRecursiveLock' 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 'globalRecursiveLock' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'globalRecursiveLock' 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
33 |
34 | /// Custom recursive lock
[16/20] Emitting module Factory
/Users/admin/builder/spi-builder-workspace/Sources/Factory/Factory/Containers.swift:46:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'Container' may have shared mutable state; this is an error in the Swift 6 language mode
42 | ///
43 | /// See <doc:Containers> for more information.
44 | public final class Container: SharedContainer {
| `- note: class 'Container' does not conform to the 'Sendable' protocol
45 | /// Define the default shared container.
46 | public static let shared = Container()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'Container' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' 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
47 | /// Define the container's manager.
48 | public let manager: ContainerManager = ContainerManager()
/Users/admin/builder/spi-builder-workspace/Sources/Factory/Factory/Contexts.swift:69:23: warning: static property 'current' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
67 | extension FactoryContext {
68 | /// Global current context.
69 | public static var current = FactoryContext()
| |- warning: static property 'current' 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 'current' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'current' 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
70 | }
71 |
/Users/admin/builder/spi-builder-workspace/Sources/Factory/Factory/Globals.swift:32:14: warning: var 'globalGraphResolutionDepth' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
30 |
31 | /// Master graph resolution depth counter
32 | internal var globalGraphResolutionDepth = 0
| |- warning: var 'globalGraphResolutionDepth' 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 'globalGraphResolutionDepth' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'globalGraphResolutionDepth' 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
33 |
34 | /// Internal key used for Resolver mode
/Users/admin/builder/spi-builder-workspace/Sources/Factory/Factory/Globals.swift:35:14: warning: var 'globalResolverKey' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
33 |
34 | /// Internal key used for Resolver mode
35 | internal var globalResolverKey: StaticString = "*"
| |- warning: var 'globalResolverKey' 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 'globalResolverKey' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'globalResolverKey' 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
36 |
37 | #if DEBUG
/Users/admin/builder/spi-builder-workspace/Sources/Factory/Factory/Globals.swift:39:14: warning: var 'globalDependencyChain' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
37 | #if DEBUG
38 | /// Internal variables used for debugging
39 | internal var globalDependencyChain: [String] = []
| |- warning: var 'globalDependencyChain' 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 'globalDependencyChain' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'globalDependencyChain' 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
40 | internal var globalDependencyChainMessages: [String] = []
41 | internal var globalTraceFlag: Bool = false
/Users/admin/builder/spi-builder-workspace/Sources/Factory/Factory/Globals.swift:40:14: warning: var 'globalDependencyChainMessages' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
38 | /// Internal variables used for debugging
39 | internal var globalDependencyChain: [String] = []
40 | internal var globalDependencyChainMessages: [String] = []
| |- warning: var 'globalDependencyChainMessages' 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 'globalDependencyChainMessages' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'globalDependencyChainMessages' 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
41 | internal var globalTraceFlag: Bool = false
42 | internal var globalTraceResolutions: [String] = []
/Users/admin/builder/spi-builder-workspace/Sources/Factory/Factory/Globals.swift:41:14: warning: var 'globalTraceFlag' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
39 | internal var globalDependencyChain: [String] = []
40 | internal var globalDependencyChainMessages: [String] = []
41 | internal var globalTraceFlag: Bool = false
| |- warning: var 'globalTraceFlag' 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 'globalTraceFlag' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'globalTraceFlag' 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
42 | internal var globalTraceResolutions: [String] = []
43 | internal var globalLogger: (String) -> Void = { print($0) }
/Users/admin/builder/spi-builder-workspace/Sources/Factory/Factory/Globals.swift:42:14: warning: var 'globalTraceResolutions' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
40 | internal var globalDependencyChainMessages: [String] = []
41 | internal var globalTraceFlag: Bool = false
42 | internal var globalTraceResolutions: [String] = []
| |- warning: var 'globalTraceResolutions' 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 'globalTraceResolutions' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'globalTraceResolutions' 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
43 | internal var globalLogger: (String) -> Void = { print($0) }
44 | internal var globalDebugInformationMap: [FactoryKey:FactoryDebugInformation] = [:]
/Users/admin/builder/spi-builder-workspace/Sources/Factory/Factory/Globals.swift:43:14: warning: var 'globalLogger' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
41 | internal var globalTraceFlag: Bool = false
42 | internal var globalTraceResolutions: [String] = []
43 | internal var globalLogger: (String) -> Void = { print($0) }
| |- warning: var 'globalLogger' 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 'globalLogger' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'globalLogger' 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
44 | internal var globalDebugInformationMap: [FactoryKey:FactoryDebugInformation] = [:]
45 |
/Users/admin/builder/spi-builder-workspace/Sources/Factory/Factory/Globals.swift:44:14: warning: var 'globalDebugInformationMap' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
42 | internal var globalTraceResolutions: [String] = []
43 | internal var globalLogger: (String) -> Void = { print($0) }
44 | internal var globalDebugInformationMap: [FactoryKey:FactoryDebugInformation] = [:]
| |- warning: var 'globalDebugInformationMap' 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 'globalDebugInformationMap' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'globalDebugInformationMap' 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
45 |
46 | /// Triggers fatalError after resetting enough stuff so unit tests can continue
/Users/admin/builder/spi-builder-workspace/Sources/Factory/Factory/Globals.swift:58:14: warning: var 'triggerFatalError' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
56 | /// Allow unit test interception of any fatal errors that may occur running the circular dependency check
57 | /// Variation of solution: https://stackoverflow.com/questions/32873212/unit-test-fatalerror-in-swift#
58 | internal var triggerFatalError = Swift.fatalError
| |- warning: var 'triggerFatalError' 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 'triggerFatalError' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'triggerFatalError' 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
59 | #endif
60 |
/Users/admin/builder/spi-builder-workspace/Sources/Factory/Factory/Locking.swift:32:14: warning: var 'globalRecursiveLock' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
30 |
31 | /// Master recursive lock
32 | internal var globalRecursiveLock = RecursiveLock()
| |- warning: var 'globalRecursiveLock' 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 'globalRecursiveLock' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'globalRecursiveLock' 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
33 |
34 | /// Custom recursive lock
/Users/admin/builder/spi-builder-workspace/Sources/Factory/Factory/Locking.swift:65:14: warning: let 'globalDebugLock' is not concurrency-safe because non-'Sendable' type 'SpinLock' may have shared mutable state; this is an error in the Swift 6 language mode
63 |
64 | /// Master spin lock
65 | internal let globalDebugLock = SpinLock()
| |- warning: let 'globalDebugLock' is not concurrency-safe because non-'Sendable' type 'SpinLock' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'globalDebugLock' 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
66 |
67 | #if os(macOS) || os(iOS) || os(watchOS)
68 | /// Custom spin lock
69 | internal struct SpinLock {
| `- note: consider making struct 'SpinLock' conform to the 'Sendable' protocol
70 |
71 | init() {
/Users/admin/builder/spi-builder-workspace/Sources/Factory/Factory/Scopes.swift:101:23: warning: static property 'cached' is not concurrency-safe because non-'Sendable' type 'Scope.Cached' may have shared mutable state; this is an error in the Swift 6 language mode
99 |
100 | /// A reference to the default cached scope manager.
101 | public static let cached = Cached()
| |- warning: static property 'cached' is not concurrency-safe because non-'Sendable' type 'Scope.Cached' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'cached' 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
102 | /// Defines a cached scope. The same instance will be returned by the factory until the cache is reset.
103 | public final class Cached: Scope {
| `- note: class 'Cached' does not conform to the 'Sendable' protocol
104 | public override init() {
105 | super.init()
/Users/admin/builder/spi-builder-workspace/Sources/Factory/Factory/Scopes.swift:110:23: warning: static property 'graph' is not concurrency-safe because non-'Sendable' type 'Scope.Graph' may have shared mutable state; this is an error in the Swift 6 language mode
108 |
109 | /// A reference to the default graph scope manager.
110 | public static let graph = Graph()
| |- warning: static property 'graph' is not concurrency-safe because non-'Sendable' type 'Scope.Graph' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'graph' 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
111 | /// Defines the graph scope. A single instance of a given type will be returned during a given resolution cycle.
112 | ///
113 | /// This scope is managed and cleared by the main resolution function at the end of each resolution cycle.
114 | public final class Graph: Scope {
| `- note: class 'Graph' does not conform to the 'Sendable' protocol
115 | public override init() {
116 | super.init()
/Users/admin/builder/spi-builder-workspace/Sources/Factory/Factory/Scopes.swift:127:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'Scope.Shared' may have shared mutable state; this is an error in the Swift 6 language mode
125 |
126 | /// A reference to the default shared scope manager.
127 | public static let shared = Shared()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'Scope.Shared' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' 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
128 | /// Defines a shared (weak) scope. The same instance will be returned by the factory as long as someone maintains a strong reference.
129 | public final class Shared: Scope {
| `- note: class 'Shared' does not conform to the 'Sendable' protocol
130 | public override init() {
131 | super.init()
/Users/admin/builder/spi-builder-workspace/Sources/Factory/Factory/Scopes.swift:160:23: warning: static property 'singleton' is not concurrency-safe because non-'Sendable' type 'Scope.Singleton' may have shared mutable state; this is an error in the Swift 6 language mode
158 |
159 | /// A reference to the default singleton scope manager.
160 | public static let singleton = Singleton()
| |- warning: static property 'singleton' is not concurrency-safe because non-'Sendable' type 'Scope.Singleton' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'singleton' 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
161 | /// Defines the singleton scope. The same instance will always be returned by the factory.
162 | public final class Singleton: Scope, InternalScopeCaching {
| `- note: class 'Singleton' does not conform to the 'Sendable' protocol
163 | public override init() {
164 | super.init()
/Users/admin/builder/spi-builder-workspace/Sources/Factory/Factory/Scopes.swift:183:23: warning: static property 'unique' is not concurrency-safe because non-'Sendable' type 'Scope.Unique' may have shared mutable state; this is an error in the Swift 6 language mode
181 | ///
182 | /// If no scope cache is specified then Factory is running in unique more.
183 | public static let unique = Unique()
| |- warning: static property 'unique' is not concurrency-safe because non-'Sendable' type 'Scope.Unique' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'unique' 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
184 | /// Defines the unique scope. A new instance of a given type will be returned on every resolution cycle.
185 | public final class Unique: Scope {
| `- note: class 'Unique' does not conform to the 'Sendable' protocol
186 | public override init() {
187 | super.init()
[17/20] Compiling Factory Contexts.swift
/Users/admin/builder/spi-builder-workspace/Sources/Factory/Factory/Contexts.swift:69:23: warning: static property 'current' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
67 | extension FactoryContext {
68 | /// Global current context.
69 | public static var current = FactoryContext()
| |- warning: static property 'current' 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 'current' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'current' 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
70 | }
71 |
[18/20] Compiling Factory Factory.swift
/Users/admin/builder/spi-builder-workspace/Sources/Factory/Factory/Contexts.swift:69:23: warning: static property 'current' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
67 | extension FactoryContext {
68 | /// Global current context.
69 | public static var current = FactoryContext()
| |- warning: static property 'current' 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 'current' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'current' 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
70 | }
71 |
[19/20] Compiling Factory Globals.swift
/Users/admin/builder/spi-builder-workspace/Sources/Factory/Factory/Globals.swift:32:14: warning: var 'globalGraphResolutionDepth' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
30 |
31 | /// Master graph resolution depth counter
32 | internal var globalGraphResolutionDepth = 0
| |- warning: var 'globalGraphResolutionDepth' 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 'globalGraphResolutionDepth' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'globalGraphResolutionDepth' 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
33 |
34 | /// Internal key used for Resolver mode
/Users/admin/builder/spi-builder-workspace/Sources/Factory/Factory/Globals.swift:35:14: warning: var 'globalResolverKey' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
33 |
34 | /// Internal key used for Resolver mode
35 | internal var globalResolverKey: StaticString = "*"
| |- warning: var 'globalResolverKey' 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 'globalResolverKey' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'globalResolverKey' 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
36 |
37 | #if DEBUG
/Users/admin/builder/spi-builder-workspace/Sources/Factory/Factory/Globals.swift:39:14: warning: var 'globalDependencyChain' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
37 | #if DEBUG
38 | /// Internal variables used for debugging
39 | internal var globalDependencyChain: [String] = []
| |- warning: var 'globalDependencyChain' 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 'globalDependencyChain' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'globalDependencyChain' 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
40 | internal var globalDependencyChainMessages: [String] = []
41 | internal var globalTraceFlag: Bool = false
/Users/admin/builder/spi-builder-workspace/Sources/Factory/Factory/Globals.swift:40:14: warning: var 'globalDependencyChainMessages' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
38 | /// Internal variables used for debugging
39 | internal var globalDependencyChain: [String] = []
40 | internal var globalDependencyChainMessages: [String] = []
| |- warning: var 'globalDependencyChainMessages' 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 'globalDependencyChainMessages' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'globalDependencyChainMessages' 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
41 | internal var globalTraceFlag: Bool = false
42 | internal var globalTraceResolutions: [String] = []
/Users/admin/builder/spi-builder-workspace/Sources/Factory/Factory/Globals.swift:41:14: warning: var 'globalTraceFlag' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
39 | internal var globalDependencyChain: [String] = []
40 | internal var globalDependencyChainMessages: [String] = []
41 | internal var globalTraceFlag: Bool = false
| |- warning: var 'globalTraceFlag' 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 'globalTraceFlag' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'globalTraceFlag' 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
42 | internal var globalTraceResolutions: [String] = []
43 | internal var globalLogger: (String) -> Void = { print($0) }
/Users/admin/builder/spi-builder-workspace/Sources/Factory/Factory/Globals.swift:42:14: warning: var 'globalTraceResolutions' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
40 | internal var globalDependencyChainMessages: [String] = []
41 | internal var globalTraceFlag: Bool = false
42 | internal var globalTraceResolutions: [String] = []
| |- warning: var 'globalTraceResolutions' 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 'globalTraceResolutions' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'globalTraceResolutions' 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
43 | internal var globalLogger: (String) -> Void = { print($0) }
44 | internal var globalDebugInformationMap: [FactoryKey:FactoryDebugInformation] = [:]
/Users/admin/builder/spi-builder-workspace/Sources/Factory/Factory/Globals.swift:43:14: warning: var 'globalLogger' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
41 | internal var globalTraceFlag: Bool = false
42 | internal var globalTraceResolutions: [String] = []
43 | internal var globalLogger: (String) -> Void = { print($0) }
| |- warning: var 'globalLogger' 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 'globalLogger' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'globalLogger' 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
44 | internal var globalDebugInformationMap: [FactoryKey:FactoryDebugInformation] = [:]
45 |
/Users/admin/builder/spi-builder-workspace/Sources/Factory/Factory/Globals.swift:44:14: warning: var 'globalDebugInformationMap' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
42 | internal var globalTraceResolutions: [String] = []
43 | internal var globalLogger: (String) -> Void = { print($0) }
44 | internal var globalDebugInformationMap: [FactoryKey:FactoryDebugInformation] = [:]
| |- warning: var 'globalDebugInformationMap' 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 'globalDebugInformationMap' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'globalDebugInformationMap' 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
45 |
46 | /// Triggers fatalError after resetting enough stuff so unit tests can continue
/Users/admin/builder/spi-builder-workspace/Sources/Factory/Factory/Globals.swift:58:14: warning: var 'triggerFatalError' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
56 | /// Allow unit test interception of any fatal errors that may occur running the circular dependency check
57 | /// Variation of solution: https://stackoverflow.com/questions/32873212/unit-test-fatalerror-in-swift#
58 | internal var triggerFatalError = Swift.fatalError
| |- warning: var 'triggerFatalError' 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 'triggerFatalError' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'triggerFatalError' 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
59 | #endif
60 |
/Users/admin/builder/spi-builder-workspace/Sources/Factory/Factory/Locking.swift:32:14: warning: var 'globalRecursiveLock' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
30 |
31 | /// Master recursive lock
32 | internal var globalRecursiveLock = RecursiveLock()
| |- warning: var 'globalRecursiveLock' 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 'globalRecursiveLock' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'globalRecursiveLock' 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
33 |
34 | /// Custom recursive lock
/Users/admin/builder/spi-builder-workspace/Sources/Factory/Factory/Containers.swift:46:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'Container' may have shared mutable state; this is an error in the Swift 6 language mode
42 | ///
43 | /// See <doc:Containers> for more information.
44 | public final class Container: SharedContainer {
| `- note: class 'Container' does not conform to the 'Sendable' protocol
45 | /// Define the default shared container.
46 | public static let shared = Container()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'Container' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' 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
47 | /// Define the container's manager.
48 | public let manager: ContainerManager = ContainerManager()
[20/20] Compiling Factory Injections.swift
/Users/admin/builder/spi-builder-workspace/Sources/Factory/Factory/Globals.swift:32:14: warning: var 'globalGraphResolutionDepth' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
30 |
31 | /// Master graph resolution depth counter
32 | internal var globalGraphResolutionDepth = 0
| |- warning: var 'globalGraphResolutionDepth' 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 'globalGraphResolutionDepth' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'globalGraphResolutionDepth' 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
33 |
34 | /// Internal key used for Resolver mode
/Users/admin/builder/spi-builder-workspace/Sources/Factory/Factory/Globals.swift:35:14: warning: var 'globalResolverKey' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
33 |
34 | /// Internal key used for Resolver mode
35 | internal var globalResolverKey: StaticString = "*"
| |- warning: var 'globalResolverKey' 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 'globalResolverKey' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'globalResolverKey' 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
36 |
37 | #if DEBUG
/Users/admin/builder/spi-builder-workspace/Sources/Factory/Factory/Globals.swift:39:14: warning: var 'globalDependencyChain' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
37 | #if DEBUG
38 | /// Internal variables used for debugging
39 | internal var globalDependencyChain: [String] = []
| |- warning: var 'globalDependencyChain' 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 'globalDependencyChain' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'globalDependencyChain' 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
40 | internal var globalDependencyChainMessages: [String] = []
41 | internal var globalTraceFlag: Bool = false
/Users/admin/builder/spi-builder-workspace/Sources/Factory/Factory/Globals.swift:40:14: warning: var 'globalDependencyChainMessages' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
38 | /// Internal variables used for debugging
39 | internal var globalDependencyChain: [String] = []
40 | internal var globalDependencyChainMessages: [String] = []
| |- warning: var 'globalDependencyChainMessages' 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 'globalDependencyChainMessages' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'globalDependencyChainMessages' 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
41 | internal var globalTraceFlag: Bool = false
42 | internal var globalTraceResolutions: [String] = []
/Users/admin/builder/spi-builder-workspace/Sources/Factory/Factory/Globals.swift:41:14: warning: var 'globalTraceFlag' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
39 | internal var globalDependencyChain: [String] = []
40 | internal var globalDependencyChainMessages: [String] = []
41 | internal var globalTraceFlag: Bool = false
| |- warning: var 'globalTraceFlag' 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 'globalTraceFlag' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'globalTraceFlag' 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
42 | internal var globalTraceResolutions: [String] = []
43 | internal var globalLogger: (String) -> Void = { print($0) }
/Users/admin/builder/spi-builder-workspace/Sources/Factory/Factory/Globals.swift:42:14: warning: var 'globalTraceResolutions' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
40 | internal var globalDependencyChainMessages: [String] = []
41 | internal var globalTraceFlag: Bool = false
42 | internal var globalTraceResolutions: [String] = []
| |- warning: var 'globalTraceResolutions' 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 'globalTraceResolutions' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'globalTraceResolutions' 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
43 | internal var globalLogger: (String) -> Void = { print($0) }
44 | internal var globalDebugInformationMap: [FactoryKey:FactoryDebugInformation] = [:]
/Users/admin/builder/spi-builder-workspace/Sources/Factory/Factory/Globals.swift:43:14: warning: var 'globalLogger' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
41 | internal var globalTraceFlag: Bool = false
42 | internal var globalTraceResolutions: [String] = []
43 | internal var globalLogger: (String) -> Void = { print($0) }
| |- warning: var 'globalLogger' 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 'globalLogger' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'globalLogger' 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
44 | internal var globalDebugInformationMap: [FactoryKey:FactoryDebugInformation] = [:]
45 |
/Users/admin/builder/spi-builder-workspace/Sources/Factory/Factory/Globals.swift:44:14: warning: var 'globalDebugInformationMap' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
42 | internal var globalTraceResolutions: [String] = []
43 | internal var globalLogger: (String) -> Void = { print($0) }
44 | internal var globalDebugInformationMap: [FactoryKey:FactoryDebugInformation] = [:]
| |- warning: var 'globalDebugInformationMap' 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 'globalDebugInformationMap' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'globalDebugInformationMap' 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
45 |
46 | /// Triggers fatalError after resetting enough stuff so unit tests can continue
/Users/admin/builder/spi-builder-workspace/Sources/Factory/Factory/Globals.swift:58:14: warning: var 'triggerFatalError' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
56 | /// Allow unit test interception of any fatal errors that may occur running the circular dependency check
57 | /// Variation of solution: https://stackoverflow.com/questions/32873212/unit-test-fatalerror-in-swift#
58 | internal var triggerFatalError = Swift.fatalError
| |- warning: var 'triggerFatalError' 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 'triggerFatalError' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'triggerFatalError' 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
59 | #endif
60 |
/Users/admin/builder/spi-builder-workspace/Sources/Factory/Factory/Locking.swift:32:14: warning: var 'globalRecursiveLock' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
30 |
31 | /// Master recursive lock
32 | internal var globalRecursiveLock = RecursiveLock()
| |- warning: var 'globalRecursiveLock' 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 'globalRecursiveLock' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'globalRecursiveLock' 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
33 |
34 | /// Custom recursive lock
/Users/admin/builder/spi-builder-workspace/Sources/Factory/Factory/Containers.swift:46:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'Container' may have shared mutable state; this is an error in the Swift 6 language mode
42 | ///
43 | /// See <doc:Containers> for more information.
44 | public final class Container: SharedContainer {
| `- note: class 'Container' does not conform to the 'Sendable' protocol
45 | /// Define the default shared container.
46 | public static let shared = Container()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'Container' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' 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
47 | /// Define the container's manager.
48 | public let manager: ContainerManager = ContainerManager()
Build complete! (53.92s)
Fetching https://github.com/apple/swift-docc-symbolkit
Fetching https://github.com/apple/swift-docc-plugin
[1/1465] Fetching swift-docc-plugin
[558/4326] Fetching swift-docc-plugin, swift-docc-symbolkit
Fetched https://github.com/apple/swift-docc-plugin from cache (1.35s)
Fetched https://github.com/apple/swift-docc-symbolkit from cache (1.35s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.1.0 (1.06s)
Computing version for https://github.com/apple/swift-docc-symbolkit
Computed https://github.com/apple/swift-docc-symbolkit at 1.0.0 (0.77s)
Creating working copy for https://github.com/apple/swift-docc-symbolkit
Working copy of https://github.com/apple/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.1.0
Build complete.
{
"dependencies" : [
{
"identity" : "swift-docc-plugin",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-docc-plugin"
}
],
"manifest_display_name" : "Factory",
"name" : "Factory",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "12.0"
},
{
"name" : "macos",
"version" : "10.14"
},
{
"name" : "tvos",
"version" : "13.0"
},
{
"name" : "watchos",
"version" : "8.0"
},
{
"name" : "visionos",
"version" : "1.0"
}
],
"products" : [
{
"name" : "Factory",
"targets" : [
"Factory"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "FactoryTests",
"module_type" : "SwiftTarget",
"name" : "FactoryTests",
"path" : "Tests/FactoryTests",
"sources" : [
"FactoryComponentTests.swift",
"FactoryContainerTests.swift",
"FactoryContextTests.swift",
"FactoryCoreTests.swift",
"FactoryDefectTests.swift",
"FactoryFunctionalTests.swift",
"FactoryInjectionTests.swift",
"FactoryMultithreadingTests.swift",
"FactoryParameterTests.swift",
"FactoryResolverTests.swift",
"FactoryScopeTests.swift",
"MockServices.swift",
"XCTestExtensions.swift"
],
"target_dependencies" : [
"Factory"
],
"type" : "test"
},
{
"c99name" : "Factory",
"module_type" : "SwiftTarget",
"name" : "Factory",
"path" : "Sources/Factory",
"product_memberships" : [
"Factory"
],
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/Factory/PrivacyInfo.xcprivacy",
"rule" : {
"copy" : {
}
}
}
],
"sources" : [
"Factory/Aliases.swift",
"Factory/Containers.swift",
"Factory/Contexts.swift",
"Factory/Factory.swift",
"Factory/Globals.swift",
"Factory/Injections.swift",
"Factory/Key.swift",
"Factory/Locking.swift",
"Factory/Modifiers.swift",
"Factory/Registrations.swift",
"Factory/Resolutions.swift",
"Factory/Resolver.swift",
"Factory/Scopes.swift"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
Done.