The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Successful build of Juice, reference main (8c33c7), with Swift 6.0 for Linux on 28 Nov 2024 08:10:13 UTC.

Swift 6 data race errors: 3

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.58.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/andrey-shavelev/Juice.git
Reference: main
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/andrey-shavelev/Juice
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 8c33c73 add ability to resign global scope
Cloned https://github.com/andrey-shavelev/Juice.git
Revision (git rev-parse @):
8c33c73f4c4c5e9715286ead267e0462fc2b7e61
SUCCESS checkout https://github.com/andrey-shavelev/Juice.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/andrey-shavelev/Juice.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/48] Emitting module Juice
/host/spi-builder-workspace/Sources/Juice/ContainerError.swift:11:10: warning: associated value 'scopeNotFound(scopeKey:)' of 'Sendable'-conforming enum 'ContainerError' has non-sendable type 'ScopeKey'; this is an error in the Swift 6 language mode
 9 |     case invalidScope
10 |     case missingLifetimeDefinition(componentType: Any.Type)
11 |     case scopeNotFound(scopeKey: ScopeKey)
   |          `- warning: associated value 'scopeNotFound(scopeKey:)' of 'Sendable'-conforming enum 'ContainerError' has non-sendable type 'ScopeKey'; this is an error in the Swift 6 language mode
12 |     case missingOwnershipDefinition(componentType: Any.Type)
13 |     case dependencyCycle(componentType: Any.Type)
/host/spi-builder-workspace/Sources/Juice/Scope/ScopeKey.swift:5:13: note: consider making enum 'ScopeKey' conform to the 'Sendable' protocol
 3 | //
 4 |
 5 | public enum ScopeKey {
   |             `- note: consider making enum 'ScopeKey' conform to the 'Sendable' protocol
 6 |     case any
 7 |     case unique(key: UniqueScopeKey)
/host/spi-builder-workspace/Sources/Juice/Scope/ScopeStack.swift:9:24: warning: static property 'stack' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 7 | class ScopeStack {
 8 |
 9 |     private static var stack = [Scope]()
   |                        |- warning: static property 'stack' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                        |- note: convert 'stack' to a 'let' constant to make 'Sendable' shared state immutable
   |                        |- note: annotate 'stack' 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
10 |     private static var globalScope: (Scope, UUID)?
11 |
/host/spi-builder-workspace/Sources/Juice/Scope/ScopeStack.swift:10:24: warning: static property 'globalScope' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 8 |
 9 |     private static var stack = [Scope]()
10 |     private static var globalScope: (Scope, UUID)?
   |                        |- warning: static property 'globalScope' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                        |- note: convert 'globalScope' to a 'let' constant to make 'Sendable' shared state immutable
   |                        |- note: annotate 'globalScope' 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
11 |
12 |     class var top: Scope? {
[4/54] Compiling Juice OptionalDynamicRegistrationSource.swift
[5/54] Compiling Juice ExternalInstanceRegistration.swift
[6/54] Compiling Juice InstancePerDependencyRegistration.swift
[7/54] Compiling Juice InstancePerScopeComponentFactoryWrapper.swift
[8/54] Compiling Juice InstancePerScopeRegistration.swift
[9/54] Compiling Juice MultiServiceRegistration.swift
[10/54] Compiling Juice Factory.swift
[11/54] Compiling Juice ComponentServicesBuilder.swift
[12/54] Compiling Juice ContainerBuilder.swift
[13/54] Compiling Juice DelegaitingFactory.swift
[14/54] Compiling Juice DynamicInstanceKind.swift
[15/54] Compiling Juice DynamicInstanceLifetimeBuilder.swift
[16/54] Compiling Juice DynamicInstanceRegistrationBuilder.swift
[17/54] Compiling Juice UniqueScopeKey.swift
[18/54] Compiling Juice ServiceKey.swift
[19/54] Compiling Juice InstanceFactory.swift
[20/54] Compiling Juice InstanceStorage.swift
[21/54] Compiling Juice InstanceStorageLocator.swift
[22/54] Compiling Juice StorageKey.swift
[23/54] Compiling Juice ValueRegistrationBuilder.swift
/host/spi-builder-workspace/Sources/Juice/ContainerError.swift:11:10: warning: associated value 'scopeNotFound(scopeKey:)' of 'Sendable'-conforming enum 'ContainerError' has non-sendable type 'ScopeKey'; this is an error in the Swift 6 language mode
 9 |     case invalidScope
10 |     case missingLifetimeDefinition(componentType: Any.Type)
11 |     case scopeNotFound(scopeKey: ScopeKey)
   |          `- warning: associated value 'scopeNotFound(scopeKey:)' of 'Sendable'-conforming enum 'ContainerError' has non-sendable type 'ScopeKey'; this is an error in the Swift 6 language mode
12 |     case missingOwnershipDefinition(componentType: Any.Type)
13 |     case dependencyCycle(componentType: Any.Type)
/host/spi-builder-workspace/Sources/Juice/Scope/ScopeKey.swift:5:13: note: consider making enum 'ScopeKey' conform to the 'Sendable' protocol
 3 | //
 4 |
 5 | public enum ScopeKey {
   |             `- note: consider making enum 'ScopeKey' conform to the 'Sendable' protocol
 6 |     case any
 7 |     case unique(key: UniqueScopeKey)
[24/54] Compiling Juice ValueRegistrationPrototype.swift
/host/spi-builder-workspace/Sources/Juice/ContainerError.swift:11:10: warning: associated value 'scopeNotFound(scopeKey:)' of 'Sendable'-conforming enum 'ContainerError' has non-sendable type 'ScopeKey'; this is an error in the Swift 6 language mode
 9 |     case invalidScope
10 |     case missingLifetimeDefinition(componentType: Any.Type)
11 |     case scopeNotFound(scopeKey: ScopeKey)
   |          `- warning: associated value 'scopeNotFound(scopeKey:)' of 'Sendable'-conforming enum 'ContainerError' has non-sendable type 'ScopeKey'; this is an error in the Swift 6 language mode
12 |     case missingOwnershipDefinition(componentType: Any.Type)
13 |     case dependencyCycle(componentType: Any.Type)
/host/spi-builder-workspace/Sources/Juice/Scope/ScopeKey.swift:5:13: note: consider making enum 'ScopeKey' conform to the 'Sendable' protocol
 3 | //
 4 |
 5 | public enum ScopeKey {
   |             `- note: consider making enum 'ScopeKey' conform to the 'Sendable' protocol
 6 |     case any
 7 |     case unique(key: UniqueScopeKey)
[25/54] Compiling Juice Container.swift
/host/spi-builder-workspace/Sources/Juice/ContainerError.swift:11:10: warning: associated value 'scopeNotFound(scopeKey:)' of 'Sendable'-conforming enum 'ContainerError' has non-sendable type 'ScopeKey'; this is an error in the Swift 6 language mode
 9 |     case invalidScope
10 |     case missingLifetimeDefinition(componentType: Any.Type)
11 |     case scopeNotFound(scopeKey: ScopeKey)
   |          `- warning: associated value 'scopeNotFound(scopeKey:)' of 'Sendable'-conforming enum 'ContainerError' has non-sendable type 'ScopeKey'; this is an error in the Swift 6 language mode
12 |     case missingOwnershipDefinition(componentType: Any.Type)
13 |     case dependencyCycle(componentType: Any.Type)
/host/spi-builder-workspace/Sources/Juice/Scope/ScopeKey.swift:5:13: note: consider making enum 'ScopeKey' conform to the 'Sendable' protocol
 3 | //
 4 |
 5 | public enum ScopeKey {
   |             `- note: consider making enum 'ScopeKey' conform to the 'Sendable' protocol
 6 |     case any
 7 |     case unique(key: UniqueScopeKey)
[26/54] Compiling Juice ContainerError.swift
/host/spi-builder-workspace/Sources/Juice/ContainerError.swift:11:10: warning: associated value 'scopeNotFound(scopeKey:)' of 'Sendable'-conforming enum 'ContainerError' has non-sendable type 'ScopeKey'; this is an error in the Swift 6 language mode
 9 |     case invalidScope
10 |     case missingLifetimeDefinition(componentType: Any.Type)
11 |     case scopeNotFound(scopeKey: ScopeKey)
   |          `- warning: associated value 'scopeNotFound(scopeKey:)' of 'Sendable'-conforming enum 'ContainerError' has non-sendable type 'ScopeKey'; this is an error in the Swift 6 language mode
12 |     case missingOwnershipDefinition(componentType: Any.Type)
13 |     case dependencyCycle(componentType: Any.Type)
/host/spi-builder-workspace/Sources/Juice/Scope/ScopeKey.swift:5:13: note: consider making enum 'ScopeKey' conform to the 'Sendable' protocol
 3 | //
 4 |
 5 | public enum ScopeKey {
   |             `- note: consider making enum 'ScopeKey' conform to the 'Sendable' protocol
 6 |     case any
 7 |     case unique(key: UniqueScopeKey)
[27/54] Compiling Juice Injectable.swift
/host/spi-builder-workspace/Sources/Juice/ContainerError.swift:11:10: warning: associated value 'scopeNotFound(scopeKey:)' of 'Sendable'-conforming enum 'ContainerError' has non-sendable type 'ScopeKey'; this is an error in the Swift 6 language mode
 9 |     case invalidScope
10 |     case missingLifetimeDefinition(componentType: Any.Type)
11 |     case scopeNotFound(scopeKey: ScopeKey)
   |          `- warning: associated value 'scopeNotFound(scopeKey:)' of 'Sendable'-conforming enum 'ContainerError' has non-sendable type 'ScopeKey'; this is an error in the Swift 6 language mode
12 |     case missingOwnershipDefinition(componentType: Any.Type)
13 |     case dependencyCycle(componentType: Any.Type)
/host/spi-builder-workspace/Sources/Juice/Scope/ScopeKey.swift:5:13: note: consider making enum 'ScopeKey' conform to the 'Sendable' protocol
 3 | //
 4 |
 5 | public enum ScopeKey {
   |             `- note: consider making enum 'ScopeKey' conform to the 'Sendable' protocol
 6 |     case any
 7 |     case unique(key: UniqueScopeKey)
[28/54] Compiling Juice Lazy.swift
/host/spi-builder-workspace/Sources/Juice/ContainerError.swift:11:10: warning: associated value 'scopeNotFound(scopeKey:)' of 'Sendable'-conforming enum 'ContainerError' has non-sendable type 'ScopeKey'; this is an error in the Swift 6 language mode
 9 |     case invalidScope
10 |     case missingLifetimeDefinition(componentType: Any.Type)
11 |     case scopeNotFound(scopeKey: ScopeKey)
   |          `- warning: associated value 'scopeNotFound(scopeKey:)' of 'Sendable'-conforming enum 'ContainerError' has non-sendable type 'ScopeKey'; this is an error in the Swift 6 language mode
12 |     case missingOwnershipDefinition(componentType: Any.Type)
13 |     case dependencyCycle(componentType: Any.Type)
/host/spi-builder-workspace/Sources/Juice/Scope/ScopeKey.swift:5:13: note: consider making enum 'ScopeKey' conform to the 'Sendable' protocol
 3 | //
 4 |
 5 | public enum ScopeKey {
   |             `- note: consider making enum 'ScopeKey' conform to the 'Sendable' protocol
 6 |     case any
 7 |     case unique(key: UniqueScopeKey)
[29/54] Compiling Juice PropertyInjectingFactoryWrapper.swift
/host/spi-builder-workspace/Sources/Juice/ContainerError.swift:11:10: warning: associated value 'scopeNotFound(scopeKey:)' of 'Sendable'-conforming enum 'ContainerError' has non-sendable type 'ScopeKey'; this is an error in the Swift 6 language mode
 9 |     case invalidScope
10 |     case missingLifetimeDefinition(componentType: Any.Type)
11 |     case scopeNotFound(scopeKey: ScopeKey)
   |          `- warning: associated value 'scopeNotFound(scopeKey:)' of 'Sendable'-conforming enum 'ContainerError' has non-sendable type 'ScopeKey'; this is an error in the Swift 6 language mode
12 |     case missingOwnershipDefinition(componentType: Any.Type)
13 |     case dependencyCycle(componentType: Any.Type)
/host/spi-builder-workspace/Sources/Juice/Scope/ScopeKey.swift:5:13: note: consider making enum 'ScopeKey' conform to the 'Sendable' protocol
 3 | //
 4 |
 5 | public enum ScopeKey {
   |             `- note: consider making enum 'ScopeKey' conform to the 'Sendable' protocol
 6 |     case any
 7 |     case unique(key: UniqueScopeKey)
[30/54] Compiling Juice ServiceRegistration.swift
[31/54] Compiling Juice ContainerWrapper.swift
[32/54] Compiling Juice ContainerWrapperProtocol.swift
[33/54] Compiling Juice CurrentScope.swift
[34/54] Compiling Juice Argument.swift
[35/54] Compiling Juice ParameterizedContainerWrapper.swift
[36/54] Compiling Juice ParameterizedScopeLocator.swift
/host/spi-builder-workspace/Sources/Juice/Scope/ScopeStack.swift:9:24: warning: static property 'stack' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 7 | class ScopeStack {
 8 |
 9 |     private static var stack = [Scope]()
   |                        |- warning: static property 'stack' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                        |- note: convert 'stack' to a 'let' constant to make 'Sendable' shared state immutable
   |                        |- note: annotate 'stack' 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
10 |     private static var globalScope: (Scope, UUID)?
11 |
/host/spi-builder-workspace/Sources/Juice/Scope/ScopeStack.swift:10:24: warning: static property 'globalScope' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 8 |
 9 |     private static var stack = [Scope]()
10 |     private static var globalScope: (Scope, UUID)?
   |                        |- warning: static property 'globalScope' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                        |- note: convert 'globalScope' to a 'let' constant to make 'Sendable' shared state immutable
   |                        |- note: annotate 'globalScope' 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
11 |
12 |     class var top: Scope? {
[37/54] Compiling Juice ResolutionScopeLocator.swift
/host/spi-builder-workspace/Sources/Juice/Scope/ScopeStack.swift:9:24: warning: static property 'stack' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 7 | class ScopeStack {
 8 |
 9 |     private static var stack = [Scope]()
   |                        |- warning: static property 'stack' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                        |- note: convert 'stack' to a 'let' constant to make 'Sendable' shared state immutable
   |                        |- note: annotate 'stack' 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
10 |     private static var globalScope: (Scope, UUID)?
11 |
/host/spi-builder-workspace/Sources/Juice/Scope/ScopeStack.swift:10:24: warning: static property 'globalScope' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 8 |
 9 |     private static var stack = [Scope]()
10 |     private static var globalScope: (Scope, UUID)?
   |                        |- warning: static property 'globalScope' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                        |- note: convert 'globalScope' to a 'let' constant to make 'Sendable' shared state immutable
   |                        |- note: annotate 'globalScope' 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
11 |
12 |     class var top: Scope? {
[38/54] Compiling Juice Scope.swift
/host/spi-builder-workspace/Sources/Juice/Scope/ScopeStack.swift:9:24: warning: static property 'stack' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 7 | class ScopeStack {
 8 |
 9 |     private static var stack = [Scope]()
   |                        |- warning: static property 'stack' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                        |- note: convert 'stack' to a 'let' constant to make 'Sendable' shared state immutable
   |                        |- note: annotate 'stack' 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
10 |     private static var globalScope: (Scope, UUID)?
11 |
/host/spi-builder-workspace/Sources/Juice/Scope/ScopeStack.swift:10:24: warning: static property 'globalScope' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 8 |
 9 |     private static var stack = [Scope]()
10 |     private static var globalScope: (Scope, UUID)?
   |                        |- warning: static property 'globalScope' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                        |- note: convert 'globalScope' to a 'let' constant to make 'Sendable' shared state immutable
   |                        |- note: annotate 'globalScope' 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
11 |
12 |     class var top: Scope? {
[39/54] Compiling Juice ScopeKey.swift
/host/spi-builder-workspace/Sources/Juice/Scope/ScopeStack.swift:9:24: warning: static property 'stack' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 7 | class ScopeStack {
 8 |
 9 |     private static var stack = [Scope]()
   |                        |- warning: static property 'stack' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                        |- note: convert 'stack' to a 'let' constant to make 'Sendable' shared state immutable
   |                        |- note: annotate 'stack' 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
10 |     private static var globalScope: (Scope, UUID)?
11 |
/host/spi-builder-workspace/Sources/Juice/Scope/ScopeStack.swift:10:24: warning: static property 'globalScope' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 8 |
 9 |     private static var stack = [Scope]()
10 |     private static var globalScope: (Scope, UUID)?
   |                        |- warning: static property 'globalScope' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                        |- note: convert 'globalScope' to a 'let' constant to make 'Sendable' shared state immutable
   |                        |- note: annotate 'globalScope' 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
11 |
12 |     class var top: Scope? {
[40/54] Compiling Juice ScopeLocator.swift
/host/spi-builder-workspace/Sources/Juice/Scope/ScopeStack.swift:9:24: warning: static property 'stack' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 7 | class ScopeStack {
 8 |
 9 |     private static var stack = [Scope]()
   |                        |- warning: static property 'stack' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                        |- note: convert 'stack' to a 'let' constant to make 'Sendable' shared state immutable
   |                        |- note: annotate 'stack' 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
10 |     private static var globalScope: (Scope, UUID)?
11 |
/host/spi-builder-workspace/Sources/Juice/Scope/ScopeStack.swift:10:24: warning: static property 'globalScope' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 8 |
 9 |     private static var stack = [Scope]()
10 |     private static var globalScope: (Scope, UUID)?
   |                        |- warning: static property 'globalScope' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                        |- note: convert 'globalScope' to a 'let' constant to make 'Sendable' shared state immutable
   |                        |- note: annotate 'globalScope' 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
11 |
12 |     class var top: Scope? {
[41/54] Compiling Juice ScopeStack.swift
/host/spi-builder-workspace/Sources/Juice/Scope/ScopeStack.swift:9:24: warning: static property 'stack' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 7 | class ScopeStack {
 8 |
 9 |     private static var stack = [Scope]()
   |                        |- warning: static property 'stack' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                        |- note: convert 'stack' to a 'let' constant to make 'Sendable' shared state immutable
   |                        |- note: annotate 'stack' 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
10 |     private static var globalScope: (Scope, UUID)?
11 |
/host/spi-builder-workspace/Sources/Juice/Scope/ScopeStack.swift:10:24: warning: static property 'globalScope' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 8 |
 9 |     private static var stack = [Scope]()
10 |     private static var globalScope: (Scope, UUID)?
   |                        |- warning: static property 'globalScope' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                        |- note: convert 'globalScope' to a 'let' constant to make 'Sendable' shared state immutable
   |                        |- note: annotate 'globalScope' 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
11 |
12 |     class var top: Scope? {
[42/54] Compiling Juice DynamicInstanceRegistrationPrototype.swift
[43/54] Compiling Juice ExternalInstanceOwnershipBuilder.swift
[44/54] Compiling Juice ExternalInstanceRegistrationBuilder.swift
[45/54] Compiling Juice ExternalInstanceRegistrationPrototype.swift
[46/54] Compiling Juice Module.swift
[47/54] Compiling Juice PropertyInjectionBuilder.swift
[48/54] Compiling Juice RegistrationPrototype.swift
[49/54] Compiling Juice PropertyInjector.swift
[50/54] Compiling Juice Inject.swift
[51/54] Compiling Juice ArrayDynamicRegistrationSource.swift
[52/54] Compiling Juice DynamicRegistrationsSource.swift
[53/54] Compiling Juice FactoryDynamicRegistrationSource.swift
[54/54] Compiling Juice LazyDynamicRegistrationSource.swift
Build complete! (15.47s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Juice",
  "name" : "Juice",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "Juice",
      "targets" : [
        "Juice"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "JuiceTests",
      "module_type" : "SwiftTarget",
      "name" : "JuiceTests",
      "path" : "Tests/JuiceTests",
      "sources" : [
        "AutoFactoriesTests.swift",
        "ChildContainerTests.swift",
        "CurrentScopeTests.swift",
        "DependencyCycleTests.swift",
        "EnumRegistrationTests.swift",
        "ExternalInstanceRegistrationTests.swift",
        "FactoryRegistrationTests.swift",
        "GlobalScopeTests.swift",
        "InitRegistrationsTests.swift",
        "InstancePerContainerRegistrationTests.swift",
        "InstancePerDependencyRegistrationTests.swift",
        "KeyedRegistrationsTests.swift",
        "LazyResolveTests.swift",
        "ModuleRegistrationTests.swift",
        "MultipleServicesRegistrationTests.swift",
        "OptionalResolutionTests.swift",
        "ParameterizedResolutionTests.swift",
        "PropertyInjectionTests.swift",
        "SingleInstanceRegistrationTests.swift",
        "TestableEntities/Ingredients.swift",
        "TestableEntities/Other.swift",
        "TestableEntities/Recipes.swift"
      ],
      "target_dependencies" : [
        "Juice"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Juice",
      "module_type" : "SwiftTarget",
      "name" : "Juice",
      "path" : "Sources/Juice",
      "product_memberships" : [
        "Juice"
      ],
      "sources" : [
        "AutoFactory/Factory.swift",
        "Build/ComponentServicesBuilder.swift",
        "Build/ContainerBuilder.swift",
        "Build/DelegaitingFactory.swift",
        "Build/DynamicInstance/DynamicInstanceKind.swift",
        "Build/DynamicInstance/DynamicInstanceLifetimeBuilder.swift",
        "Build/DynamicInstance/DynamicInstanceRegistrationBuilder.swift",
        "Build/DynamicInstance/DynamicInstanceRegistrationPrototype.swift",
        "Build/ExternalInstance/ExternalInstanceOwnershipBuilder.swift",
        "Build/ExternalInstance/ExternalInstanceRegistrationBuilder.swift",
        "Build/ExternalInstance/ExternalInstanceRegistrationPrototype.swift",
        "Build/Module.swift",
        "Build/PropertyInjectionBuilder.swift",
        "Build/RegistrationPrototype.swift",
        "Build/Value/ValueRegistrationBuilder.swift",
        "Build/Value/ValueRegistrationPrototype.swift",
        "Container.swift",
        "ContainerError.swift",
        "Injectable.swift",
        "Lazy/Lazy.swift",
        "ProtperyInjection/PropertyInjectingFactoryWrapper.swift",
        "ProtperyInjection/PropertyInjector.swift",
        "ProtperyInjection/Wrappers/Inject.swift",
        "Registrations/Dynamic/ArrayDynamicRegistrationSource.swift",
        "Registrations/Dynamic/DynamicRegistrationsSource.swift",
        "Registrations/Dynamic/FactoryDynamicRegistrationSource.swift",
        "Registrations/Dynamic/LazyDynamicRegistrationSource.swift",
        "Registrations/Dynamic/OptionalDynamicRegistrationSource.swift",
        "Registrations/ExternalInstanceRegistration.swift",
        "Registrations/InstancePerDependencyRegistration.swift",
        "Registrations/InstancePerScopeComponentFactoryWrapper.swift",
        "Registrations/InstancePerScopeRegistration.swift",
        "Registrations/MultiServiceRegistration.swift",
        "Registrations/ServiceRegistration.swift",
        "Scope/ContainerWrapper.swift",
        "Scope/ContainerWrapperProtocol.swift",
        "Scope/CurrentScope.swift",
        "Scope/Parameterized/Argument.swift",
        "Scope/Parameterized/ParameterizedContainerWrapper.swift",
        "Scope/Parameterized/ParameterizedScopeLocator.swift",
        "Scope/ResolutionScopeLocator.swift",
        "Scope/Scope.swift",
        "Scope/ScopeKey.swift",
        "Scope/ScopeLocator.swift",
        "Scope/ScopeStack.swift",
        "Scope/UniqueScopeKey.swift",
        "ServiceKey.swift",
        "Storage/InstanceFactory.swift",
        "Storage/InstanceStorage.swift",
        "Storage/InstanceStorageLocator.swift",
        "Storage/StorageKey.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.2"
}
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Done.