Build Information
Successful build of Cleanse, reference 4.2.6 (c85478
), with Swift 6.1 for Linux on 26 Apr 2025 13:56:49 UTC.
Swift 6 data race errors: 3
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/square/Cleanse.git
Reference: 4.2.6
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/square/Cleanse
* tag 4.2.6 -> FETCH_HEAD
HEAD is now at c854787 Merge pull request #168 from square/sebastianv1/change-log-4.2.6
Cloned https://github.com/square/Cleanse.git
Revision (git rev-parse @):
c854787f83d99527587b5387f04ccd0030e6133a
SUCCESS checkout https://github.com/square/Cleanse.git at 4.2.6
========================================
Build
========================================
Selected platform: linux
Swift version: 6.1
Building package at path: $PWD
https://github.com/square/Cleanse.git
https://github.com/square/Cleanse.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
],
"manifest_display_name" : "Cleanse",
"name" : "Cleanse",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "Cleanse",
"targets" : [
"Cleanse"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "Cleanse",
"module_type" : "SwiftTarget",
"name" : "Cleanse",
"path" : "Cleanse",
"product_memberships" : [
"Cleanse"
],
"sources" : [
"AnyBinder.swift",
"Assisted.swift",
"AssistedFactory.swift",
"AssistedInjection.swift",
"AssistedInjectionArities.swift",
"AssistedInjectionBuilder.swift",
"AssistedInjectionSeedDecorator.swift",
"BaseBindingBuilder.swift",
"BindToable.swift",
"Binder.swift",
"BinderArities.swift",
"BindingBuilder.swift",
"BindingBuilderDecorator.swift",
"BindingReceipt.swift",
"CanonicalRepresentable.swift",
"CleanseBindingPlugin.swift",
"CleanseErrorReporter.swift",
"CleanseServiceLoader.swift",
"CollectionBindingBuilderDecorator.swift",
"CombinedHashable.swift",
"Component.swift",
"ComponentBase.swift",
"ComponentBinding.swift",
"ComponentBindingBuilder.swift",
"ComponentFactory.swift",
"ComponentVisitor.swift",
"DelegatedHashable.swift",
"Errors.swift",
"Factory.swift",
"Finalizable.swift",
"Graph.swift",
"Installer.swift",
"LegacyKey.swift",
"LegacyObjectGraph.swift",
"Lock.swift",
"Module.swift",
"PropertyInjection.swift",
"PropertyInjectionArities.swift",
"PropertyInjectionReceiptBinder.swift",
"PropertyInjector.swift",
"Provider.swift",
"ProviderProvider.swift",
"RawProviderBinding.swift",
"ReceiptBinder.swift",
"RootComponent.swift",
"Scope.swift",
"ScopedBinder.swift",
"ScopedBindingBuilder.swift",
"ScopedBindingDecorator.swift",
"ScopedModule.swift",
"ScopedProvider.swift",
"SingularCollectionBindingBuilderDecorator.swift",
"SourceLocation.swift",
"TaggedBindingBuilderDecorator.swift",
"TaggedProvider.swift",
"Tags.swift",
"TypeKeyProtocol.swift",
"ValidationVisitor.swift",
"WeakProvider.swift",
"WrappedBinder.swift"
],
"type" : "library"
}
],
"tools_version" : "5.1"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/56] Compiling Cleanse CleanseErrorReporter.swift
[4/56] Compiling Cleanse CleanseServiceLoader.swift
[5/56] Compiling Cleanse CollectionBindingBuilderDecorator.swift
[6/56] Compiling Cleanse CombinedHashable.swift
[7/56] Compiling Cleanse Component.swift
[8/56] Compiling Cleanse ComponentBase.swift
[9/56] Compiling Cleanse ComponentBinding.swift
[10/56] Compiling Cleanse ComponentBindingBuilder.swift
[11/63] Compiling Cleanse ScopedBinder.swift
/host/spi-builder-workspace/Cleanse/ScopedProvider.swift:11:13: warning: var 'weakProviderAssociatedObjectKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
9 | import Foundation
10 |
11 | private var weakProviderAssociatedObjectKey = 0
| |- warning: var 'weakProviderAssociatedObjectKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'weakProviderAssociatedObjectKey' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'weakProviderAssociatedObjectKey' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 |
13 | class ScopedProvider {
[12/63] Compiling Cleanse ScopedBindingBuilder.swift
/host/spi-builder-workspace/Cleanse/ScopedProvider.swift:11:13: warning: var 'weakProviderAssociatedObjectKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
9 | import Foundation
10 |
11 | private var weakProviderAssociatedObjectKey = 0
| |- warning: var 'weakProviderAssociatedObjectKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'weakProviderAssociatedObjectKey' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'weakProviderAssociatedObjectKey' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 |
13 | class ScopedProvider {
[13/63] Compiling Cleanse ScopedBindingDecorator.swift
/host/spi-builder-workspace/Cleanse/ScopedProvider.swift:11:13: warning: var 'weakProviderAssociatedObjectKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
9 | import Foundation
10 |
11 | private var weakProviderAssociatedObjectKey = 0
| |- warning: var 'weakProviderAssociatedObjectKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'weakProviderAssociatedObjectKey' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'weakProviderAssociatedObjectKey' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 |
13 | class ScopedProvider {
[14/63] Compiling Cleanse ScopedModule.swift
/host/spi-builder-workspace/Cleanse/ScopedProvider.swift:11:13: warning: var 'weakProviderAssociatedObjectKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
9 | import Foundation
10 |
11 | private var weakProviderAssociatedObjectKey = 0
| |- warning: var 'weakProviderAssociatedObjectKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'weakProviderAssociatedObjectKey' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'weakProviderAssociatedObjectKey' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 |
13 | class ScopedProvider {
[15/63] Compiling Cleanse ScopedProvider.swift
/host/spi-builder-workspace/Cleanse/ScopedProvider.swift:11:13: warning: var 'weakProviderAssociatedObjectKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
9 | import Foundation
10 |
11 | private var weakProviderAssociatedObjectKey = 0
| |- warning: var 'weakProviderAssociatedObjectKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'weakProviderAssociatedObjectKey' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'weakProviderAssociatedObjectKey' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 |
13 | class ScopedProvider {
[16/63] Compiling Cleanse SingularCollectionBindingBuilderDecorator.swift
/host/spi-builder-workspace/Cleanse/ScopedProvider.swift:11:13: warning: var 'weakProviderAssociatedObjectKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
9 | import Foundation
10 |
11 | private var weakProviderAssociatedObjectKey = 0
| |- warning: var 'weakProviderAssociatedObjectKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'weakProviderAssociatedObjectKey' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'weakProviderAssociatedObjectKey' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 |
13 | class ScopedProvider {
[17/63] Compiling Cleanse SourceLocation.swift
/host/spi-builder-workspace/Cleanse/ScopedProvider.swift:11:13: warning: var 'weakProviderAssociatedObjectKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
9 | import Foundation
10 |
11 | private var weakProviderAssociatedObjectKey = 0
| |- warning: var 'weakProviderAssociatedObjectKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'weakProviderAssociatedObjectKey' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'weakProviderAssociatedObjectKey' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 |
13 | class ScopedProvider {
[18/63] Compiling Cleanse ComponentFactory.swift
/host/spi-builder-workspace/Cleanse/ComponentVisitor.swift:19:29: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
17 | }
18 |
19 | protocol ComponentVisitor : class, BinderBase {
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
20 | /// Used to track state for binder
21 | var visitorState: VisitorState<Self> { get set }
/host/spi-builder-workspace/Cleanse/Errors.swift:57:9: warning: stored property 'requests' of 'Sendable'-conforming struct 'MissingProvider' has non-sendable type '[ProviderRequestDebugInfo]'; this is an error in the Swift 6 language mode
15 |
16 |
17 | public struct ProviderRequestDebugInfo {
| `- note: consider making struct 'ProviderRequestDebugInfo' conform to the 'Sendable' protocol
18 | /// This is what was passed to the first argument of
19 | let requestedType: Any.Type
:
55 | public struct MissingProvider : CleanseError {
56 | /// The types that depend on the requested type
57 | let requests: [ProviderRequestDebugInfo]
| `- warning: stored property 'requests' of 'Sendable'-conforming struct 'MissingProvider' has non-sendable type '[ProviderRequestDebugInfo]'; this is an error in the Swift 6 language mode
58 |
59 | /// The type that was requested
/host/spi-builder-workspace/Cleanse/Errors.swift:107:9: warning: stored property 'requirementStack' of 'Sendable'-conforming struct 'DependencyCycle' has non-sendable type '[ProviderRequestDebugInfo]'; this is an error in the Swift 6 language mode
15 |
16 |
17 | public struct ProviderRequestDebugInfo {
| `- note: consider making struct 'ProviderRequestDebugInfo' conform to the 'Sendable' protocol
18 | /// This is what was passed to the first argument of
19 | let requestedType: Any.Type
:
105 | public struct DependencyCycle : CleanseError {
106 | /// The types that depend on the requested type
107 | let requirementStack: [ProviderRequestDebugInfo]
| `- warning: stored property 'requirementStack' of 'Sendable'-conforming struct 'DependencyCycle' has non-sendable type '[ProviderRequestDebugInfo]'; this is an error in the Swift 6 language mode
108 |
109 | /// The type that was requested
[19/63] Compiling Cleanse ComponentVisitor.swift
/host/spi-builder-workspace/Cleanse/ComponentVisitor.swift:19:29: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
17 | }
18 |
19 | protocol ComponentVisitor : class, BinderBase {
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
20 | /// Used to track state for binder
21 | var visitorState: VisitorState<Self> { get set }
/host/spi-builder-workspace/Cleanse/Errors.swift:57:9: warning: stored property 'requests' of 'Sendable'-conforming struct 'MissingProvider' has non-sendable type '[ProviderRequestDebugInfo]'; this is an error in the Swift 6 language mode
15 |
16 |
17 | public struct ProviderRequestDebugInfo {
| `- note: consider making struct 'ProviderRequestDebugInfo' conform to the 'Sendable' protocol
18 | /// This is what was passed to the first argument of
19 | let requestedType: Any.Type
:
55 | public struct MissingProvider : CleanseError {
56 | /// The types that depend on the requested type
57 | let requests: [ProviderRequestDebugInfo]
| `- warning: stored property 'requests' of 'Sendable'-conforming struct 'MissingProvider' has non-sendable type '[ProviderRequestDebugInfo]'; this is an error in the Swift 6 language mode
58 |
59 | /// The type that was requested
/host/spi-builder-workspace/Cleanse/Errors.swift:107:9: warning: stored property 'requirementStack' of 'Sendable'-conforming struct 'DependencyCycle' has non-sendable type '[ProviderRequestDebugInfo]'; this is an error in the Swift 6 language mode
15 |
16 |
17 | public struct ProviderRequestDebugInfo {
| `- note: consider making struct 'ProviderRequestDebugInfo' conform to the 'Sendable' protocol
18 | /// This is what was passed to the first argument of
19 | let requestedType: Any.Type
:
105 | public struct DependencyCycle : CleanseError {
106 | /// The types that depend on the requested type
107 | let requirementStack: [ProviderRequestDebugInfo]
| `- warning: stored property 'requirementStack' of 'Sendable'-conforming struct 'DependencyCycle' has non-sendable type '[ProviderRequestDebugInfo]'; this is an error in the Swift 6 language mode
108 |
109 | /// The type that was requested
[20/63] Compiling Cleanse DelegatedHashable.swift
/host/spi-builder-workspace/Cleanse/ComponentVisitor.swift:19:29: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
17 | }
18 |
19 | protocol ComponentVisitor : class, BinderBase {
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
20 | /// Used to track state for binder
21 | var visitorState: VisitorState<Self> { get set }
/host/spi-builder-workspace/Cleanse/Errors.swift:57:9: warning: stored property 'requests' of 'Sendable'-conforming struct 'MissingProvider' has non-sendable type '[ProviderRequestDebugInfo]'; this is an error in the Swift 6 language mode
15 |
16 |
17 | public struct ProviderRequestDebugInfo {
| `- note: consider making struct 'ProviderRequestDebugInfo' conform to the 'Sendable' protocol
18 | /// This is what was passed to the first argument of
19 | let requestedType: Any.Type
:
55 | public struct MissingProvider : CleanseError {
56 | /// The types that depend on the requested type
57 | let requests: [ProviderRequestDebugInfo]
| `- warning: stored property 'requests' of 'Sendable'-conforming struct 'MissingProvider' has non-sendable type '[ProviderRequestDebugInfo]'; this is an error in the Swift 6 language mode
58 |
59 | /// The type that was requested
/host/spi-builder-workspace/Cleanse/Errors.swift:107:9: warning: stored property 'requirementStack' of 'Sendable'-conforming struct 'DependencyCycle' has non-sendable type '[ProviderRequestDebugInfo]'; this is an error in the Swift 6 language mode
15 |
16 |
17 | public struct ProviderRequestDebugInfo {
| `- note: consider making struct 'ProviderRequestDebugInfo' conform to the 'Sendable' protocol
18 | /// This is what was passed to the first argument of
19 | let requestedType: Any.Type
:
105 | public struct DependencyCycle : CleanseError {
106 | /// The types that depend on the requested type
107 | let requirementStack: [ProviderRequestDebugInfo]
| `- warning: stored property 'requirementStack' of 'Sendable'-conforming struct 'DependencyCycle' has non-sendable type '[ProviderRequestDebugInfo]'; this is an error in the Swift 6 language mode
108 |
109 | /// The type that was requested
[21/63] Compiling Cleanse Errors.swift
/host/spi-builder-workspace/Cleanse/ComponentVisitor.swift:19:29: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
17 | }
18 |
19 | protocol ComponentVisitor : class, BinderBase {
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
20 | /// Used to track state for binder
21 | var visitorState: VisitorState<Self> { get set }
/host/spi-builder-workspace/Cleanse/Errors.swift:57:9: warning: stored property 'requests' of 'Sendable'-conforming struct 'MissingProvider' has non-sendable type '[ProviderRequestDebugInfo]'; this is an error in the Swift 6 language mode
15 |
16 |
17 | public struct ProviderRequestDebugInfo {
| `- note: consider making struct 'ProviderRequestDebugInfo' conform to the 'Sendable' protocol
18 | /// This is what was passed to the first argument of
19 | let requestedType: Any.Type
:
55 | public struct MissingProvider : CleanseError {
56 | /// The types that depend on the requested type
57 | let requests: [ProviderRequestDebugInfo]
| `- warning: stored property 'requests' of 'Sendable'-conforming struct 'MissingProvider' has non-sendable type '[ProviderRequestDebugInfo]'; this is an error in the Swift 6 language mode
58 |
59 | /// The type that was requested
/host/spi-builder-workspace/Cleanse/Errors.swift:107:9: warning: stored property 'requirementStack' of 'Sendable'-conforming struct 'DependencyCycle' has non-sendable type '[ProviderRequestDebugInfo]'; this is an error in the Swift 6 language mode
15 |
16 |
17 | public struct ProviderRequestDebugInfo {
| `- note: consider making struct 'ProviderRequestDebugInfo' conform to the 'Sendable' protocol
18 | /// This is what was passed to the first argument of
19 | let requestedType: Any.Type
:
105 | public struct DependencyCycle : CleanseError {
106 | /// The types that depend on the requested type
107 | let requirementStack: [ProviderRequestDebugInfo]
| `- warning: stored property 'requirementStack' of 'Sendable'-conforming struct 'DependencyCycle' has non-sendable type '[ProviderRequestDebugInfo]'; this is an error in the Swift 6 language mode
108 |
109 | /// The type that was requested
[22/63] Compiling Cleanse Factory.swift
/host/spi-builder-workspace/Cleanse/ComponentVisitor.swift:19:29: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
17 | }
18 |
19 | protocol ComponentVisitor : class, BinderBase {
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
20 | /// Used to track state for binder
21 | var visitorState: VisitorState<Self> { get set }
/host/spi-builder-workspace/Cleanse/Errors.swift:57:9: warning: stored property 'requests' of 'Sendable'-conforming struct 'MissingProvider' has non-sendable type '[ProviderRequestDebugInfo]'; this is an error in the Swift 6 language mode
15 |
16 |
17 | public struct ProviderRequestDebugInfo {
| `- note: consider making struct 'ProviderRequestDebugInfo' conform to the 'Sendable' protocol
18 | /// This is what was passed to the first argument of
19 | let requestedType: Any.Type
:
55 | public struct MissingProvider : CleanseError {
56 | /// The types that depend on the requested type
57 | let requests: [ProviderRequestDebugInfo]
| `- warning: stored property 'requests' of 'Sendable'-conforming struct 'MissingProvider' has non-sendable type '[ProviderRequestDebugInfo]'; this is an error in the Swift 6 language mode
58 |
59 | /// The type that was requested
/host/spi-builder-workspace/Cleanse/Errors.swift:107:9: warning: stored property 'requirementStack' of 'Sendable'-conforming struct 'DependencyCycle' has non-sendable type '[ProviderRequestDebugInfo]'; this is an error in the Swift 6 language mode
15 |
16 |
17 | public struct ProviderRequestDebugInfo {
| `- note: consider making struct 'ProviderRequestDebugInfo' conform to the 'Sendable' protocol
18 | /// This is what was passed to the first argument of
19 | let requestedType: Any.Type
:
105 | public struct DependencyCycle : CleanseError {
106 | /// The types that depend on the requested type
107 | let requirementStack: [ProviderRequestDebugInfo]
| `- warning: stored property 'requirementStack' of 'Sendable'-conforming struct 'DependencyCycle' has non-sendable type '[ProviderRequestDebugInfo]'; this is an error in the Swift 6 language mode
108 |
109 | /// The type that was requested
[23/63] Compiling Cleanse Finalizable.swift
/host/spi-builder-workspace/Cleanse/ComponentVisitor.swift:19:29: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
17 | }
18 |
19 | protocol ComponentVisitor : class, BinderBase {
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
20 | /// Used to track state for binder
21 | var visitorState: VisitorState<Self> { get set }
/host/spi-builder-workspace/Cleanse/Errors.swift:57:9: warning: stored property 'requests' of 'Sendable'-conforming struct 'MissingProvider' has non-sendable type '[ProviderRequestDebugInfo]'; this is an error in the Swift 6 language mode
15 |
16 |
17 | public struct ProviderRequestDebugInfo {
| `- note: consider making struct 'ProviderRequestDebugInfo' conform to the 'Sendable' protocol
18 | /// This is what was passed to the first argument of
19 | let requestedType: Any.Type
:
55 | public struct MissingProvider : CleanseError {
56 | /// The types that depend on the requested type
57 | let requests: [ProviderRequestDebugInfo]
| `- warning: stored property 'requests' of 'Sendable'-conforming struct 'MissingProvider' has non-sendable type '[ProviderRequestDebugInfo]'; this is an error in the Swift 6 language mode
58 |
59 | /// The type that was requested
/host/spi-builder-workspace/Cleanse/Errors.swift:107:9: warning: stored property 'requirementStack' of 'Sendable'-conforming struct 'DependencyCycle' has non-sendable type '[ProviderRequestDebugInfo]'; this is an error in the Swift 6 language mode
15 |
16 |
17 | public struct ProviderRequestDebugInfo {
| `- note: consider making struct 'ProviderRequestDebugInfo' conform to the 'Sendable' protocol
18 | /// This is what was passed to the first argument of
19 | let requestedType: Any.Type
:
105 | public struct DependencyCycle : CleanseError {
106 | /// The types that depend on the requested type
107 | let requirementStack: [ProviderRequestDebugInfo]
| `- warning: stored property 'requirementStack' of 'Sendable'-conforming struct 'DependencyCycle' has non-sendable type '[ProviderRequestDebugInfo]'; this is an error in the Swift 6 language mode
108 |
109 | /// The type that was requested
[24/63] Compiling Cleanse Graph.swift
/host/spi-builder-workspace/Cleanse/ComponentVisitor.swift:19:29: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
17 | }
18 |
19 | protocol ComponentVisitor : class, BinderBase {
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
20 | /// Used to track state for binder
21 | var visitorState: VisitorState<Self> { get set }
/host/spi-builder-workspace/Cleanse/Errors.swift:57:9: warning: stored property 'requests' of 'Sendable'-conforming struct 'MissingProvider' has non-sendable type '[ProviderRequestDebugInfo]'; this is an error in the Swift 6 language mode
15 |
16 |
17 | public struct ProviderRequestDebugInfo {
| `- note: consider making struct 'ProviderRequestDebugInfo' conform to the 'Sendable' protocol
18 | /// This is what was passed to the first argument of
19 | let requestedType: Any.Type
:
55 | public struct MissingProvider : CleanseError {
56 | /// The types that depend on the requested type
57 | let requests: [ProviderRequestDebugInfo]
| `- warning: stored property 'requests' of 'Sendable'-conforming struct 'MissingProvider' has non-sendable type '[ProviderRequestDebugInfo]'; this is an error in the Swift 6 language mode
58 |
59 | /// The type that was requested
/host/spi-builder-workspace/Cleanse/Errors.swift:107:9: warning: stored property 'requirementStack' of 'Sendable'-conforming struct 'DependencyCycle' has non-sendable type '[ProviderRequestDebugInfo]'; this is an error in the Swift 6 language mode
15 |
16 |
17 | public struct ProviderRequestDebugInfo {
| `- note: consider making struct 'ProviderRequestDebugInfo' conform to the 'Sendable' protocol
18 | /// This is what was passed to the first argument of
19 | let requestedType: Any.Type
:
105 | public struct DependencyCycle : CleanseError {
106 | /// The types that depend on the requested type
107 | let requirementStack: [ProviderRequestDebugInfo]
| `- warning: stored property 'requirementStack' of 'Sendable'-conforming struct 'DependencyCycle' has non-sendable type '[ProviderRequestDebugInfo]'; this is an error in the Swift 6 language mode
108 |
109 | /// The type that was requested
[25/63] Compiling Cleanse Installer.swift
/host/spi-builder-workspace/Cleanse/ComponentVisitor.swift:19:29: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
17 | }
18 |
19 | protocol ComponentVisitor : class, BinderBase {
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
20 | /// Used to track state for binder
21 | var visitorState: VisitorState<Self> { get set }
/host/spi-builder-workspace/Cleanse/Errors.swift:57:9: warning: stored property 'requests' of 'Sendable'-conforming struct 'MissingProvider' has non-sendable type '[ProviderRequestDebugInfo]'; this is an error in the Swift 6 language mode
15 |
16 |
17 | public struct ProviderRequestDebugInfo {
| `- note: consider making struct 'ProviderRequestDebugInfo' conform to the 'Sendable' protocol
18 | /// This is what was passed to the first argument of
19 | let requestedType: Any.Type
:
55 | public struct MissingProvider : CleanseError {
56 | /// The types that depend on the requested type
57 | let requests: [ProviderRequestDebugInfo]
| `- warning: stored property 'requests' of 'Sendable'-conforming struct 'MissingProvider' has non-sendable type '[ProviderRequestDebugInfo]'; this is an error in the Swift 6 language mode
58 |
59 | /// The type that was requested
/host/spi-builder-workspace/Cleanse/Errors.swift:107:9: warning: stored property 'requirementStack' of 'Sendable'-conforming struct 'DependencyCycle' has non-sendable type '[ProviderRequestDebugInfo]'; this is an error in the Swift 6 language mode
15 |
16 |
17 | public struct ProviderRequestDebugInfo {
| `- note: consider making struct 'ProviderRequestDebugInfo' conform to the 'Sendable' protocol
18 | /// This is what was passed to the first argument of
19 | let requestedType: Any.Type
:
105 | public struct DependencyCycle : CleanseError {
106 | /// The types that depend on the requested type
107 | let requirementStack: [ProviderRequestDebugInfo]
| `- warning: stored property 'requirementStack' of 'Sendable'-conforming struct 'DependencyCycle' has non-sendable type '[ProviderRequestDebugInfo]'; this is an error in the Swift 6 language mode
108 |
109 | /// The type that was requested
[26/63] Emitting module Cleanse
/host/spi-builder-workspace/Cleanse/ComponentVisitor.swift:19:29: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
17 | }
18 |
19 | protocol ComponentVisitor : class, BinderBase {
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
20 | /// Used to track state for binder
21 | var visitorState: VisitorState<Self> { get set }
/host/spi-builder-workspace/Cleanse/Errors.swift:57:9: warning: stored property 'requests' of 'Sendable'-conforming struct 'MissingProvider' has non-sendable type '[ProviderRequestDebugInfo]'; this is an error in the Swift 6 language mode
15 |
16 |
17 | public struct ProviderRequestDebugInfo {
| `- note: consider making struct 'ProviderRequestDebugInfo' conform to the 'Sendable' protocol
18 | /// This is what was passed to the first argument of
19 | let requestedType: Any.Type
:
55 | public struct MissingProvider : CleanseError {
56 | /// The types that depend on the requested type
57 | let requests: [ProviderRequestDebugInfo]
| `- warning: stored property 'requests' of 'Sendable'-conforming struct 'MissingProvider' has non-sendable type '[ProviderRequestDebugInfo]'; this is an error in the Swift 6 language mode
58 |
59 | /// The type that was requested
/host/spi-builder-workspace/Cleanse/Errors.swift:107:9: warning: stored property 'requirementStack' of 'Sendable'-conforming struct 'DependencyCycle' has non-sendable type '[ProviderRequestDebugInfo]'; this is an error in the Swift 6 language mode
15 |
16 |
17 | public struct ProviderRequestDebugInfo {
| `- note: consider making struct 'ProviderRequestDebugInfo' conform to the 'Sendable' protocol
18 | /// This is what was passed to the first argument of
19 | let requestedType: Any.Type
:
105 | public struct DependencyCycle : CleanseError {
106 | /// The types that depend on the requested type
107 | let requirementStack: [ProviderRequestDebugInfo]
| `- warning: stored property 'requirementStack' of 'Sendable'-conforming struct 'DependencyCycle' has non-sendable type '[ProviderRequestDebugInfo]'; this is an error in the Swift 6 language mode
108 |
109 | /// The type that was requested
/host/spi-builder-workspace/Cleanse/ScopedProvider.swift:11:13: warning: var 'weakProviderAssociatedObjectKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
9 | import Foundation
10 |
11 | private var weakProviderAssociatedObjectKey = 0
| |- warning: var 'weakProviderAssociatedObjectKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'weakProviderAssociatedObjectKey' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'weakProviderAssociatedObjectKey' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 |
13 | class ScopedProvider {
[27/63] Compiling Cleanse BindToable.swift
[28/63] Compiling Cleanse Binder.swift
[29/63] Compiling Cleanse BinderArities.swift
[30/63] Compiling Cleanse BindingBuilder.swift
[31/63] Compiling Cleanse BindingBuilderDecorator.swift
[32/63] Compiling Cleanse BindingReceipt.swift
[33/63] Compiling Cleanse CanonicalRepresentable.swift
[34/63] Compiling Cleanse CleanseBindingPlugin.swift
[35/63] Compiling Cleanse PropertyInjector.swift
[36/63] Compiling Cleanse Provider.swift
[37/63] Compiling Cleanse ProviderProvider.swift
[38/63] Compiling Cleanse RawProviderBinding.swift
[39/63] Compiling Cleanse ReceiptBinder.swift
[40/63] Compiling Cleanse RootComponent.swift
[41/63] Compiling Cleanse Scope.swift
[42/63] Compiling Cleanse LegacyKey.swift
[43/63] Compiling Cleanse LegacyObjectGraph.swift
[44/63] Compiling Cleanse Lock.swift
[45/63] Compiling Cleanse Module.swift
[46/63] Compiling Cleanse PropertyInjection.swift
[47/63] Compiling Cleanse PropertyInjectionArities.swift
[48/63] Compiling Cleanse PropertyInjectionReceiptBinder.swift
[49/63] Compiling Cleanse AnyBinder.swift
[50/63] Compiling Cleanse Assisted.swift
[51/63] Compiling Cleanse AssistedFactory.swift
[52/63] Compiling Cleanse AssistedInjection.swift
[53/63] Compiling Cleanse AssistedInjectionArities.swift
[54/63] Compiling Cleanse AssistedInjectionBuilder.swift
[55/63] Compiling Cleanse AssistedInjectionSeedDecorator.swift
[56/63] Compiling Cleanse BaseBindingBuilder.swift
[57/63] Compiling Cleanse TaggedBindingBuilderDecorator.swift
[58/63] Compiling Cleanse TaggedProvider.swift
[59/63] Compiling Cleanse Tags.swift
[60/63] Compiling Cleanse TypeKeyProtocol.swift
[61/63] Compiling Cleanse ValidationVisitor.swift
[62/63] Compiling Cleanse WeakProvider.swift
[63/63] Compiling Cleanse WrappedBinder.swift
Build complete! (10.02s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "Cleanse",
"name" : "Cleanse",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "Cleanse",
"targets" : [
"Cleanse"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "Cleanse",
"module_type" : "SwiftTarget",
"name" : "Cleanse",
"path" : "Cleanse",
"product_memberships" : [
"Cleanse"
],
"sources" : [
"AnyBinder.swift",
"Assisted.swift",
"AssistedFactory.swift",
"AssistedInjection.swift",
"AssistedInjectionArities.swift",
"AssistedInjectionBuilder.swift",
"AssistedInjectionSeedDecorator.swift",
"BaseBindingBuilder.swift",
"BindToable.swift",
"Binder.swift",
"BinderArities.swift",
"BindingBuilder.swift",
"BindingBuilderDecorator.swift",
"BindingReceipt.swift",
"CanonicalRepresentable.swift",
"CleanseBindingPlugin.swift",
"CleanseErrorReporter.swift",
"CleanseServiceLoader.swift",
"CollectionBindingBuilderDecorator.swift",
"CombinedHashable.swift",
"Component.swift",
"ComponentBase.swift",
"ComponentBinding.swift",
"ComponentBindingBuilder.swift",
"ComponentFactory.swift",
"ComponentVisitor.swift",
"DelegatedHashable.swift",
"Errors.swift",
"Factory.swift",
"Finalizable.swift",
"Graph.swift",
"Installer.swift",
"LegacyKey.swift",
"LegacyObjectGraph.swift",
"Lock.swift",
"Module.swift",
"PropertyInjection.swift",
"PropertyInjectionArities.swift",
"PropertyInjectionReceiptBinder.swift",
"PropertyInjector.swift",
"Provider.swift",
"ProviderProvider.swift",
"RawProviderBinding.swift",
"ReceiptBinder.swift",
"RootComponent.swift",
"Scope.swift",
"ScopedBinder.swift",
"ScopedBindingBuilder.swift",
"ScopedBindingDecorator.swift",
"ScopedModule.swift",
"ScopedProvider.swift",
"SingularCollectionBindingBuilderDecorator.swift",
"SourceLocation.swift",
"TaggedBindingBuilderDecorator.swift",
"TaggedProvider.swift",
"Tags.swift",
"TypeKeyProtocol.swift",
"ValidationVisitor.swift",
"WeakProvider.swift",
"WrappedBinder.swift"
],
"type" : "library"
}
],
"tools_version" : "5.1"
}
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Done.