Build Information
Successful build of Cleanse, reference master (ad53ff
), with Swift 6.0 for macOS (SPM) on 28 Nov 2024 04:37:57 UTC.
Swift 6 data race errors: 3
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -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
Build Log
========================================
RunAll
========================================
Builder version: 4.58.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/square/Cleanse.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/square/Cleanse
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at ad53ff6 Update README to include deprecation notice
Cloned https://github.com/square/Cleanse.git
Revision (git rev-parse @):
ad53ff66244350df042c4ffb15eb9a85462bdae8
SUCCESS checkout https://github.com/square/Cleanse.git at master
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "cleanse",
"name": "Cleanse",
"url": "https://github.com/square/Cleanse.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Cleanse",
"dependencies": [
]
}
]
}
Fetching https://github.com/square/Cleanse.git
[1/3167] Fetching cleanse
Fetched https://github.com/square/Cleanse.git from cache (1.57s)
Creating working copy for https://github.com/square/Cleanse.git
Working copy of https://github.com/square/Cleanse.git resolved at master (ad53ff6)
warning: '.resolve-product-dependencies': dependency 'cleanse' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/square/Cleanse.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -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
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--7754E27361AE5C74.txt
[3/57] Emitting module Cleanse
/Users/admin/builder/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 }
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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: annotate 'weakProviderAssociatedObjectKey' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 |
13 | class ScopedProvider {
[4/63] Compiling Cleanse CollectionBindingBuilderDecorator.swift
[5/63] Compiling Cleanse CombinedHashable.swift
[6/63] Compiling Cleanse Component.swift
[7/63] Compiling Cleanse ComponentBase.swift
[8/63] Compiling Cleanse ComponentBinding.swift
[9/63] Compiling Cleanse ComponentBindingBuilder.swift
[10/63] Compiling Cleanse RawProviderBinding.swift
[11/63] Compiling Cleanse ReceiptBinder.swift
[12/63] Compiling Cleanse RootComponent.swift
[13/63] Compiling Cleanse Scope.swift
[14/63] Compiling Cleanse ScopedBinder.swift
[15/63] Compiling Cleanse ScopedBindingBuilder.swift
[16/63] Compiling Cleanse ScopedBindingDecorator.swift
/Users/admin/builder/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: annotate 'weakProviderAssociatedObjectKey' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 |
13 | class ScopedProvider {
[17/63] Compiling Cleanse ScopedModule.swift
/Users/admin/builder/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: annotate 'weakProviderAssociatedObjectKey' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 |
13 | class ScopedProvider {
[18/63] Compiling Cleanse ScopedProvider.swift
/Users/admin/builder/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: annotate 'weakProviderAssociatedObjectKey' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 |
13 | class ScopedProvider {
[19/63] Compiling Cleanse SingularCollectionBindingBuilderDecorator.swift
/Users/admin/builder/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: annotate 'weakProviderAssociatedObjectKey' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 |
13 | class ScopedProvider {
[20/63] Compiling Cleanse SourceLocation.swift
/Users/admin/builder/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: annotate 'weakProviderAssociatedObjectKey' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 |
13 | class ScopedProvider {
[21/63] Compiling Cleanse TaggedBindingBuilderDecorator.swift
/Users/admin/builder/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: annotate 'weakProviderAssociatedObjectKey' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 |
13 | class ScopedProvider {
[22/63] Compiling Cleanse ComponentFactory.swift
/Users/admin/builder/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 }
/Users/admin/builder/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
/Users/admin/builder/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 ComponentVisitor.swift
/Users/admin/builder/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 }
/Users/admin/builder/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
/Users/admin/builder/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 DelegatedHashable.swift
/Users/admin/builder/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 }
/Users/admin/builder/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
/Users/admin/builder/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 Errors.swift
/Users/admin/builder/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 }
/Users/admin/builder/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
/Users/admin/builder/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] Compiling Cleanse Factory.swift
/Users/admin/builder/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 }
/Users/admin/builder/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
/Users/admin/builder/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
[27/63] Compiling Cleanse Finalizable.swift
/Users/admin/builder/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 }
/Users/admin/builder/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
/Users/admin/builder/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
[28/63] Compiling Cleanse TaggedProvider.swift
[29/63] Compiling Cleanse Tags.swift
[30/63] Compiling Cleanse TypeKeyProtocol.swift
[31/63] Compiling Cleanse ValidationVisitor.swift
[32/63] Compiling Cleanse WeakProvider.swift
[33/63] Compiling Cleanse WrappedBinder.swift
[34/63] Compiling Cleanse AssistedInjectionSeedDecorator.swift
[35/63] Compiling Cleanse BaseBindingBuilder.swift
[36/63] Compiling Cleanse BindToable.swift
[37/63] Compiling Cleanse Binder.swift
[38/63] Compiling Cleanse BinderArities.swift
[39/63] Compiling Cleanse BindingBuilder.swift
[40/63] Compiling Cleanse AnyBinder.swift
[41/63] Compiling Cleanse Assisted.swift
[42/63] Compiling Cleanse AssistedFactory.swift
[43/63] Compiling Cleanse AssistedInjection.swift
[44/63] Compiling Cleanse AssistedInjectionArities.swift
[45/63] Compiling Cleanse AssistedInjectionBuilder.swift
[46/63] Compiling Cleanse BindingBuilderDecorator.swift
[47/63] Compiling Cleanse BindingReceipt.swift
[48/63] Compiling Cleanse CanonicalRepresentable.swift
[49/63] Compiling Cleanse CleanseBindingPlugin.swift
[50/63] Compiling Cleanse CleanseErrorReporter.swift
[51/63] Compiling Cleanse CleanseServiceLoader.swift
[52/63] Compiling Cleanse Graph.swift
[53/63] Compiling Cleanse Installer.swift
[54/63] Compiling Cleanse LegacyKey.swift
[55/63] Compiling Cleanse LegacyObjectGraph.swift
[56/63] Compiling Cleanse Lock.swift
[57/63] Compiling Cleanse Module.swift
[58/63] Compiling Cleanse PropertyInjection.swift
[59/63] Compiling Cleanse PropertyInjectionArities.swift
[60/63] Compiling Cleanse PropertyInjectionReceiptBinder.swift
[61/63] Compiling Cleanse PropertyInjector.swift
[62/63] Compiling Cleanse Provider.swift
[63/63] Compiling Cleanse ProviderProvider.swift
Build complete! (17.41s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "Cleanse",
"name" : "Cleanse",
"path" : "/Users/admin/builder/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"
}
Done.