Build Information
Successful build of DITranquillity, reference v5.0.5 (9e7511), with Swift 6.1 for macOS (SPM) on 21 Nov 2025 20:51:09 UTC.
Swift 6 data race errors: 0
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.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 InferSendableFromCapturesBuild Log
========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ivlevAstef/DITranquillity.git
Reference: v5.0.5
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/ivlevAstef/DITranquillity
* tag v5.0.5 -> FETCH_HEAD
HEAD is now at 9e7511a Update switflint dependency version. no critical, only for other build systems
Cloned https://github.com/ivlevAstef/DITranquillity.git
Revision (git rev-parse @):
9e7511a7bafe4955fc90f1b521836c2f37359764
SUCCESS checkout https://github.com/ivlevAstef/DITranquillity.git at v5.0.5
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/ivlevAstef/DITranquillity.git
https://github.com/ivlevAstef/DITranquillity.git
{
"dependencies" : [
{
"identity" : "swiftlazy",
"requirement" : {
"range" : [
{
"lower_bound" : "1.6.1",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/ivlevAstef/SwiftLazy.git"
}
],
"manifest_display_name" : "DITranquillity",
"name" : "DITranquillity",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "watchos",
"version" : "8.0"
},
{
"name" : "macos",
"version" : "10.15"
},
{
"name" : "tvos",
"version" : "13.0"
}
],
"products" : [
{
"name" : "DITranquillity",
"targets" : [
"DITranquillity"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "DITranquillity_Tests",
"module_type" : "SwiftTarget",
"name" : "DITranquillity_Tests",
"path" : "Tests",
"sources" : [
"DITranquillityTests_Extensions.swift",
"DITranquillityTests_Lifetime.swift",
"DITranquillityTests_Modular.swift",
"DITranquillityTests_MoreParameters.swift",
"DITranquillityTests_Parent.swift",
"DITranquillityTests_Resolve.swift",
"DITranquillityTests_ResolveByInit.swift",
"DITranquillityTests_SwiftLazy.swift",
"DITranquillityTests_Threads.swift",
"DITranquillityTests_Validation.swift",
"ResolveTestClasses.swift"
],
"target_dependencies" : [
"DITranquillity"
],
"type" : "test"
},
{
"c99name" : "DITranquillity",
"module_type" : "SwiftTarget",
"name" : "DITranquillity",
"path" : "Sources",
"product_dependencies" : [
"SwiftLazy"
],
"product_memberships" : [
"DITranquillity"
],
"sources" : [
"Core/API/AutoResolve/DIComponentBuilder.Injection.swift",
"Core/API/AutoResolve/DIContainer.Reg.swift",
"Core/API/AutoResolve/DIContainer.RegModify.swift",
"Core/API/ComponentAlternativeType.swift",
"Core/API/DIComponentBuilder.swift",
"Core/API/DIComponentPriority.swift",
"Core/API/DIContainer.swift",
"Core/API/DILifetime.swift",
"Core/API/DIModificators.swift",
"Core/API/DIScope.swift",
"Core/API/DISettings.swift",
"Core/API/DIStorage.swift",
"Core/API/DITypes.swift",
"Core/API/Extensions/DIExtensions.swift",
"Core/API/Extensions/SwiftLazy.swift",
"Core/API/Hierarchy/DIFramework.swift",
"Core/API/Hierarchy/DIPart.swift",
"Core/Internal/AnyArguments.swift",
"Core/Internal/Component.swift",
"Core/Internal/ExtensionsContainer.swift",
"Core/Internal/FrameworksDependenciesContainer.swift",
"Core/Internal/Log.swift",
"Core/Internal/MethodMaker.swift",
"Core/Internal/MethodSignature.swift",
"Core/Internal/Modificators.swift",
"Core/Internal/ParsedType.swift",
"Core/Internal/ProtocolMagic.swift",
"Core/Internal/Resolver.swift",
"Core/Internal/SpecificType.swift",
"Core/Internal/TypeKey.swift",
"Core/Internal/threads/FastLock.swift",
"Core/Internal/threads/Multithread.swift",
"Core/Internal/threads/ThreadDictionary.swift",
"GraphAPI/DIContainer+makeGraph.swift",
"GraphAPI/DIEdge.swift",
"GraphAPI/DIGraph+Cycle.swift",
"GraphAPI/DIGraph+Validate.swift",
"GraphAPI/DIGraph+ValidationErrors.swift",
"GraphAPI/DIGraph.swift",
"GraphAPI/DIVertex.swift"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.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/3] Write sources
[2/3] Write swift-version-2F0A5646E1D333AE.txt
[4/10] Compiling SwiftLazy Provider.swift
[5/10] Compiling SwiftLazy Lazy.swift
[6/10] Compiling SwiftLazy BaseProvider.swift
[7/10] Compiling SwiftLazy PrefixOperator.swift
[8/10] Compiling SwiftLazy ProviderArgs.swift
[9/10] Compiling SwiftLazy BaseLazy.swift
[10/10] Emitting module SwiftLazy
[11/47] Emitting module DITranquillity
[12/51] Compiling DITranquillity DIComponentBuilder.Injection.swift
/Users/admin/builder/spi-builder-workspace/Sources/Core/API/AutoResolve/DIContainer.RegModify.swift:65:45: warning: type 'Impl' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
56 | /// - Returns: component builder, to configure the component.
57 | @discardableResult
58 | public func register<Impl,P0,each P,M0>(
| `- note: consider making generic parameter 'Impl' conform to the 'Sendable' protocol
59 | isolation: isolated (any Actor)? = #isolation,
60 | file: String = #file,
:
63 | modificator: @escaping (M0) -> P0
64 | ) -> DIComponentBuilder<Impl> {
65 | return register(file, line, MethodMaker.eachMakeMainActor(by: closure, modificator: modificator))
| `- warning: type 'Impl' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
66 | }
67 |
/Users/admin/builder/spi-builder-workspace/Sources/Core/API/AutoResolve/DIContainer.RegModify.swift:85:47: warning: type 'Impl' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
76 | /// - Returns: component builder, to configure the component.
77 | @discardableResult
78 | public func register<Impl,P0,P1,each P,M0,M1>(
| `- note: consider making generic parameter 'Impl' conform to the 'Sendable' protocol
79 | isolation: isolated (any Actor)? = #isolation,
80 | file: String = #file,
:
83 | modificator: @escaping (M0, M1) -> (P0, P1)
84 | ) -> DIComponentBuilder<Impl> {
85 | return register(file, line, MethodMaker.eachMakeMainActor(by: closure, modificator: modificator))
| `- warning: type 'Impl' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
86 | }
87 | }
[13/51] Compiling DITranquillity DIContainer.Reg.swift
/Users/admin/builder/spi-builder-workspace/Sources/Core/API/AutoResolve/DIContainer.RegModify.swift:65:45: warning: type 'Impl' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
56 | /// - Returns: component builder, to configure the component.
57 | @discardableResult
58 | public func register<Impl,P0,each P,M0>(
| `- note: consider making generic parameter 'Impl' conform to the 'Sendable' protocol
59 | isolation: isolated (any Actor)? = #isolation,
60 | file: String = #file,
:
63 | modificator: @escaping (M0) -> P0
64 | ) -> DIComponentBuilder<Impl> {
65 | return register(file, line, MethodMaker.eachMakeMainActor(by: closure, modificator: modificator))
| `- warning: type 'Impl' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
66 | }
67 |
/Users/admin/builder/spi-builder-workspace/Sources/Core/API/AutoResolve/DIContainer.RegModify.swift:85:47: warning: type 'Impl' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
76 | /// - Returns: component builder, to configure the component.
77 | @discardableResult
78 | public func register<Impl,P0,P1,each P,M0,M1>(
| `- note: consider making generic parameter 'Impl' conform to the 'Sendable' protocol
79 | isolation: isolated (any Actor)? = #isolation,
80 | file: String = #file,
:
83 | modificator: @escaping (M0, M1) -> (P0, P1)
84 | ) -> DIComponentBuilder<Impl> {
85 | return register(file, line, MethodMaker.eachMakeMainActor(by: closure, modificator: modificator))
| `- warning: type 'Impl' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
86 | }
87 | }
[14/51] Compiling DITranquillity DIContainer.RegModify.swift
/Users/admin/builder/spi-builder-workspace/Sources/Core/API/AutoResolve/DIContainer.RegModify.swift:65:45: warning: type 'Impl' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
56 | /// - Returns: component builder, to configure the component.
57 | @discardableResult
58 | public func register<Impl,P0,each P,M0>(
| `- note: consider making generic parameter 'Impl' conform to the 'Sendable' protocol
59 | isolation: isolated (any Actor)? = #isolation,
60 | file: String = #file,
:
63 | modificator: @escaping (M0) -> P0
64 | ) -> DIComponentBuilder<Impl> {
65 | return register(file, line, MethodMaker.eachMakeMainActor(by: closure, modificator: modificator))
| `- warning: type 'Impl' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
66 | }
67 |
/Users/admin/builder/spi-builder-workspace/Sources/Core/API/AutoResolve/DIContainer.RegModify.swift:85:47: warning: type 'Impl' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
76 | /// - Returns: component builder, to configure the component.
77 | @discardableResult
78 | public func register<Impl,P0,P1,each P,M0,M1>(
| `- note: consider making generic parameter 'Impl' conform to the 'Sendable' protocol
79 | isolation: isolated (any Actor)? = #isolation,
80 | file: String = #file,
:
83 | modificator: @escaping (M0, M1) -> (P0, P1)
84 | ) -> DIComponentBuilder<Impl> {
85 | return register(file, line, MethodMaker.eachMakeMainActor(by: closure, modificator: modificator))
| `- warning: type 'Impl' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
86 | }
87 | }
[15/51] Compiling DITranquillity ComponentAlternativeType.swift
/Users/admin/builder/spi-builder-workspace/Sources/Core/API/AutoResolve/DIContainer.RegModify.swift:65:45: warning: type 'Impl' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
56 | /// - Returns: component builder, to configure the component.
57 | @discardableResult
58 | public func register<Impl,P0,each P,M0>(
| `- note: consider making generic parameter 'Impl' conform to the 'Sendable' protocol
59 | isolation: isolated (any Actor)? = #isolation,
60 | file: String = #file,
:
63 | modificator: @escaping (M0) -> P0
64 | ) -> DIComponentBuilder<Impl> {
65 | return register(file, line, MethodMaker.eachMakeMainActor(by: closure, modificator: modificator))
| `- warning: type 'Impl' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
66 | }
67 |
/Users/admin/builder/spi-builder-workspace/Sources/Core/API/AutoResolve/DIContainer.RegModify.swift:85:47: warning: type 'Impl' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
76 | /// - Returns: component builder, to configure the component.
77 | @discardableResult
78 | public func register<Impl,P0,P1,each P,M0,M1>(
| `- note: consider making generic parameter 'Impl' conform to the 'Sendable' protocol
79 | isolation: isolated (any Actor)? = #isolation,
80 | file: String = #file,
:
83 | modificator: @escaping (M0, M1) -> (P0, P1)
84 | ) -> DIComponentBuilder<Impl> {
85 | return register(file, line, MethodMaker.eachMakeMainActor(by: closure, modificator: modificator))
| `- warning: type 'Impl' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
86 | }
87 | }
[16/51] Compiling DITranquillity DIModificators.swift
[17/51] Compiling DITranquillity DIScope.swift
[18/51] Compiling DITranquillity DISettings.swift
[19/51] Compiling DITranquillity DIStorage.swift
[20/51] Compiling DITranquillity DITypes.swift
[21/51] Compiling DITranquillity DIExtensions.swift
[22/51] Compiling DITranquillity SwiftLazy.swift
[23/51] Compiling DITranquillity DIFramework.swift
[24/51] Compiling DITranquillity DIGraph+Validate.swift
[25/51] Compiling DITranquillity DIGraph+ValidationErrors.swift
[26/51] Compiling DITranquillity DIGraph.swift
[27/51] Compiling DITranquillity DIVertex.swift
[28/51] Compiling DITranquillity Modificators.swift
[29/51] Compiling DITranquillity ParsedType.swift
[30/51] Compiling DITranquillity ProtocolMagic.swift
[31/51] Compiling DITranquillity Resolver.swift
[32/51] Compiling DITranquillity DIComponentBuilder.swift
[33/51] Compiling DITranquillity DIComponentPriority.swift
[34/51] Compiling DITranquillity DIContainer.swift
[35/51] Compiling DITranquillity DILifetime.swift
[36/51] Compiling DITranquillity SpecificType.swift
[37/51] Compiling DITranquillity TypeKey.swift
[38/51] Compiling DITranquillity FastLock.swift
[39/51] Compiling DITranquillity Multithread.swift
[40/51] Compiling DITranquillity FrameworksDependenciesContainer.swift
/Users/admin/builder/spi-builder-workspace/Sources/Core/Internal/MethodMaker.swift:54:14: warning: capture of 'f' with non-sendable type '(repeat each P) -> R' in a '@Sendable' closure; this is an error in the Swift 6 language mode
52 | return MethodSignature(types.result, names) { params in
53 | let maker = EachMaker(params: params)
54 | return f(repeat maker.make() as each P)
| |- warning: capture of 'f' with non-sendable type '(repeat each P) -> R' in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
55 | }
56 | }
/Users/admin/builder/spi-builder-workspace/Sources/Core/Internal/MethodMaker.swift:68:14: warning: capture of 'f' with non-sendable type '(P0, repeat each P) -> R' in a '@Sendable' closure; this is an error in the Swift 6 language mode
66 | return MethodSignature(types.result, nil) { params in
67 | let maker = EachMaker(params: params)
68 | return f(modificator(maker.make()), repeat maker.make() as each P)
| |- warning: capture of 'f' with non-sendable type '(P0, repeat each P) -> R' in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
69 | }
70 | }
/Users/admin/builder/spi-builder-workspace/Sources/Core/Internal/MethodMaker.swift:68:16: warning: capture of 'modificator' with non-sendable type '(M0) -> P0' in a '@Sendable' closure; this is an error in the Swift 6 language mode
66 | return MethodSignature(types.result, nil) { params in
67 | let maker = EachMaker(params: params)
68 | return f(modificator(maker.make()), repeat maker.make() as each P)
| |- warning: capture of 'modificator' with non-sendable type '(M0) -> P0' in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
69 | }
70 | }
/Users/admin/builder/spi-builder-workspace/Sources/Core/Internal/MethodMaker.swift:83:26: warning: capture of 'modificator' with non-sendable type '(M0, M1) -> (P0, P1)' in a '@Sendable' closure; this is an error in the Swift 6 language mode
81 | return MethodSignature(types.result, nil) { params in
82 | let maker = EachMaker(params: params)
83 | let modifyResult = modificator(maker.make(), maker.make())
| |- warning: capture of 'modificator' with non-sendable type '(M0, M1) -> (P0, P1)' in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
84 | return f(modifyResult.0, modifyResult.1, repeat maker.make() as each P)
85 | }
/Users/admin/builder/spi-builder-workspace/Sources/Core/Internal/MethodMaker.swift:84:14: warning: capture of 'f' with non-sendable type '(P0, P1, repeat each P) -> R' in a '@Sendable' closure; this is an error in the Swift 6 language mode
82 | let maker = EachMaker(params: params)
83 | let modifyResult = modificator(maker.make(), maker.make())
84 | return f(modifyResult.0, modifyResult.1, repeat maker.make() as each P)
| |- warning: capture of 'f' with non-sendable type '(P0, P1, repeat each P) -> R' in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
85 | }
86 | }
/Users/admin/builder/spi-builder-workspace/Sources/Core/Internal/MethodMaker.swift:94:24: warning: type 'R' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
90 |
91 | extension MethodMaker {
92 | private static func mainIsolated<R>(closure: @escaping @MainActor () -> R) -> R {
| `- note: consider making generic parameter 'R' conform to the 'Sendable' protocol
93 | if Thread.isMainThread {
94 | return MainActor.assumeIsolated {
| `- warning: type 'R' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
95 | return closure()
96 | }
/Users/admin/builder/spi-builder-workspace/Sources/Core/Internal/MethodMaker.swift:99:19: warning: type 'R' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
90 |
91 | extension MethodMaker {
92 | private static func mainIsolated<R>(closure: @escaping @MainActor () -> R) -> R {
| `- note: consider making generic parameter 'R' conform to the 'Sendable' protocol
93 | if Thread.isMainThread {
94 | return MainActor.assumeIsolated {
:
97 | } else {
98 | let result: R = DispatchQueue.main.sync {
99 | MainActor.assumeIsolated {
| `- warning: type 'R' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
100 | closure()
101 | }
/Users/admin/builder/spi-builder-workspace/Sources/Core/Internal/MethodMaker.swift:137:26: warning: capture of 'modificator' with non-sendable type '(M0) -> P0' in a '@Sendable' closure; this is an error in the Swift 6 language mode
135 | return MethodSignature(types.result, nil) { params in
136 | let maker = EachMaker(params: params)
137 | let modifyResult = modificator(maker.make())
| |- warning: capture of 'modificator' with non-sendable type '(M0) -> P0' in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
138 | return mainIsolated {
139 | f(modifyResult, repeat maker.make() as each P)
/Users/admin/builder/spi-builder-workspace/Sources/Core/Internal/MethodMaker.swift:155:26: warning: capture of 'modificator' with non-sendable type '(M0, M1) -> (P0, P1)' in a '@Sendable' closure; this is an error in the Swift 6 language mode
153 | return MethodSignature(types.result, nil) { params in
154 | let maker = EachMaker(params: params)
155 | let modifyResult = modificator(maker.make(), maker.make())
| |- warning: capture of 'modificator' with non-sendable type '(M0, M1) -> (P0, P1)' in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
156 | return mainIsolated {
157 | f(modifyResult.0, modifyResult.1, repeat maker.make() as each P)
[41/51] Compiling DITranquillity Log.swift
/Users/admin/builder/spi-builder-workspace/Sources/Core/Internal/MethodMaker.swift:54:14: warning: capture of 'f' with non-sendable type '(repeat each P) -> R' in a '@Sendable' closure; this is an error in the Swift 6 language mode
52 | return MethodSignature(types.result, names) { params in
53 | let maker = EachMaker(params: params)
54 | return f(repeat maker.make() as each P)
| |- warning: capture of 'f' with non-sendable type '(repeat each P) -> R' in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
55 | }
56 | }
/Users/admin/builder/spi-builder-workspace/Sources/Core/Internal/MethodMaker.swift:68:14: warning: capture of 'f' with non-sendable type '(P0, repeat each P) -> R' in a '@Sendable' closure; this is an error in the Swift 6 language mode
66 | return MethodSignature(types.result, nil) { params in
67 | let maker = EachMaker(params: params)
68 | return f(modificator(maker.make()), repeat maker.make() as each P)
| |- warning: capture of 'f' with non-sendable type '(P0, repeat each P) -> R' in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
69 | }
70 | }
/Users/admin/builder/spi-builder-workspace/Sources/Core/Internal/MethodMaker.swift:68:16: warning: capture of 'modificator' with non-sendable type '(M0) -> P0' in a '@Sendable' closure; this is an error in the Swift 6 language mode
66 | return MethodSignature(types.result, nil) { params in
67 | let maker = EachMaker(params: params)
68 | return f(modificator(maker.make()), repeat maker.make() as each P)
| |- warning: capture of 'modificator' with non-sendable type '(M0) -> P0' in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
69 | }
70 | }
/Users/admin/builder/spi-builder-workspace/Sources/Core/Internal/MethodMaker.swift:83:26: warning: capture of 'modificator' with non-sendable type '(M0, M1) -> (P0, P1)' in a '@Sendable' closure; this is an error in the Swift 6 language mode
81 | return MethodSignature(types.result, nil) { params in
82 | let maker = EachMaker(params: params)
83 | let modifyResult = modificator(maker.make(), maker.make())
| |- warning: capture of 'modificator' with non-sendable type '(M0, M1) -> (P0, P1)' in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
84 | return f(modifyResult.0, modifyResult.1, repeat maker.make() as each P)
85 | }
/Users/admin/builder/spi-builder-workspace/Sources/Core/Internal/MethodMaker.swift:84:14: warning: capture of 'f' with non-sendable type '(P0, P1, repeat each P) -> R' in a '@Sendable' closure; this is an error in the Swift 6 language mode
82 | let maker = EachMaker(params: params)
83 | let modifyResult = modificator(maker.make(), maker.make())
84 | return f(modifyResult.0, modifyResult.1, repeat maker.make() as each P)
| |- warning: capture of 'f' with non-sendable type '(P0, P1, repeat each P) -> R' in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
85 | }
86 | }
/Users/admin/builder/spi-builder-workspace/Sources/Core/Internal/MethodMaker.swift:94:24: warning: type 'R' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
90 |
91 | extension MethodMaker {
92 | private static func mainIsolated<R>(closure: @escaping @MainActor () -> R) -> R {
| `- note: consider making generic parameter 'R' conform to the 'Sendable' protocol
93 | if Thread.isMainThread {
94 | return MainActor.assumeIsolated {
| `- warning: type 'R' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
95 | return closure()
96 | }
/Users/admin/builder/spi-builder-workspace/Sources/Core/Internal/MethodMaker.swift:99:19: warning: type 'R' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
90 |
91 | extension MethodMaker {
92 | private static func mainIsolated<R>(closure: @escaping @MainActor () -> R) -> R {
| `- note: consider making generic parameter 'R' conform to the 'Sendable' protocol
93 | if Thread.isMainThread {
94 | return MainActor.assumeIsolated {
:
97 | } else {
98 | let result: R = DispatchQueue.main.sync {
99 | MainActor.assumeIsolated {
| `- warning: type 'R' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
100 | closure()
101 | }
/Users/admin/builder/spi-builder-workspace/Sources/Core/Internal/MethodMaker.swift:137:26: warning: capture of 'modificator' with non-sendable type '(M0) -> P0' in a '@Sendable' closure; this is an error in the Swift 6 language mode
135 | return MethodSignature(types.result, nil) { params in
136 | let maker = EachMaker(params: params)
137 | let modifyResult = modificator(maker.make())
| |- warning: capture of 'modificator' with non-sendable type '(M0) -> P0' in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
138 | return mainIsolated {
139 | f(modifyResult, repeat maker.make() as each P)
/Users/admin/builder/spi-builder-workspace/Sources/Core/Internal/MethodMaker.swift:155:26: warning: capture of 'modificator' with non-sendable type '(M0, M1) -> (P0, P1)' in a '@Sendable' closure; this is an error in the Swift 6 language mode
153 | return MethodSignature(types.result, nil) { params in
154 | let maker = EachMaker(params: params)
155 | let modifyResult = modificator(maker.make(), maker.make())
| |- warning: capture of 'modificator' with non-sendable type '(M0, M1) -> (P0, P1)' in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
156 | return mainIsolated {
157 | f(modifyResult.0, modifyResult.1, repeat maker.make() as each P)
[42/51] Compiling DITranquillity MethodMaker.swift
/Users/admin/builder/spi-builder-workspace/Sources/Core/Internal/MethodMaker.swift:54:14: warning: capture of 'f' with non-sendable type '(repeat each P) -> R' in a '@Sendable' closure; this is an error in the Swift 6 language mode
52 | return MethodSignature(types.result, names) { params in
53 | let maker = EachMaker(params: params)
54 | return f(repeat maker.make() as each P)
| |- warning: capture of 'f' with non-sendable type '(repeat each P) -> R' in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
55 | }
56 | }
/Users/admin/builder/spi-builder-workspace/Sources/Core/Internal/MethodMaker.swift:68:14: warning: capture of 'f' with non-sendable type '(P0, repeat each P) -> R' in a '@Sendable' closure; this is an error in the Swift 6 language mode
66 | return MethodSignature(types.result, nil) { params in
67 | let maker = EachMaker(params: params)
68 | return f(modificator(maker.make()), repeat maker.make() as each P)
| |- warning: capture of 'f' with non-sendable type '(P0, repeat each P) -> R' in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
69 | }
70 | }
/Users/admin/builder/spi-builder-workspace/Sources/Core/Internal/MethodMaker.swift:68:16: warning: capture of 'modificator' with non-sendable type '(M0) -> P0' in a '@Sendable' closure; this is an error in the Swift 6 language mode
66 | return MethodSignature(types.result, nil) { params in
67 | let maker = EachMaker(params: params)
68 | return f(modificator(maker.make()), repeat maker.make() as each P)
| |- warning: capture of 'modificator' with non-sendable type '(M0) -> P0' in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
69 | }
70 | }
/Users/admin/builder/spi-builder-workspace/Sources/Core/Internal/MethodMaker.swift:83:26: warning: capture of 'modificator' with non-sendable type '(M0, M1) -> (P0, P1)' in a '@Sendable' closure; this is an error in the Swift 6 language mode
81 | return MethodSignature(types.result, nil) { params in
82 | let maker = EachMaker(params: params)
83 | let modifyResult = modificator(maker.make(), maker.make())
| |- warning: capture of 'modificator' with non-sendable type '(M0, M1) -> (P0, P1)' in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
84 | return f(modifyResult.0, modifyResult.1, repeat maker.make() as each P)
85 | }
/Users/admin/builder/spi-builder-workspace/Sources/Core/Internal/MethodMaker.swift:84:14: warning: capture of 'f' with non-sendable type '(P0, P1, repeat each P) -> R' in a '@Sendable' closure; this is an error in the Swift 6 language mode
82 | let maker = EachMaker(params: params)
83 | let modifyResult = modificator(maker.make(), maker.make())
84 | return f(modifyResult.0, modifyResult.1, repeat maker.make() as each P)
| |- warning: capture of 'f' with non-sendable type '(P0, P1, repeat each P) -> R' in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
85 | }
86 | }
/Users/admin/builder/spi-builder-workspace/Sources/Core/Internal/MethodMaker.swift:94:24: warning: type 'R' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
90 |
91 | extension MethodMaker {
92 | private static func mainIsolated<R>(closure: @escaping @MainActor () -> R) -> R {
| `- note: consider making generic parameter 'R' conform to the 'Sendable' protocol
93 | if Thread.isMainThread {
94 | return MainActor.assumeIsolated {
| `- warning: type 'R' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
95 | return closure()
96 | }
/Users/admin/builder/spi-builder-workspace/Sources/Core/Internal/MethodMaker.swift:99:19: warning: type 'R' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
90 |
91 | extension MethodMaker {
92 | private static func mainIsolated<R>(closure: @escaping @MainActor () -> R) -> R {
| `- note: consider making generic parameter 'R' conform to the 'Sendable' protocol
93 | if Thread.isMainThread {
94 | return MainActor.assumeIsolated {
:
97 | } else {
98 | let result: R = DispatchQueue.main.sync {
99 | MainActor.assumeIsolated {
| `- warning: type 'R' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
100 | closure()
101 | }
/Users/admin/builder/spi-builder-workspace/Sources/Core/Internal/MethodMaker.swift:137:26: warning: capture of 'modificator' with non-sendable type '(M0) -> P0' in a '@Sendable' closure; this is an error in the Swift 6 language mode
135 | return MethodSignature(types.result, nil) { params in
136 | let maker = EachMaker(params: params)
137 | let modifyResult = modificator(maker.make())
| |- warning: capture of 'modificator' with non-sendable type '(M0) -> P0' in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
138 | return mainIsolated {
139 | f(modifyResult, repeat maker.make() as each P)
/Users/admin/builder/spi-builder-workspace/Sources/Core/Internal/MethodMaker.swift:155:26: warning: capture of 'modificator' with non-sendable type '(M0, M1) -> (P0, P1)' in a '@Sendable' closure; this is an error in the Swift 6 language mode
153 | return MethodSignature(types.result, nil) { params in
154 | let maker = EachMaker(params: params)
155 | let modifyResult = modificator(maker.make(), maker.make())
| |- warning: capture of 'modificator' with non-sendable type '(M0, M1) -> (P0, P1)' in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
156 | return mainIsolated {
157 | f(modifyResult.0, modifyResult.1, repeat maker.make() as each P)
[43/51] Compiling DITranquillity MethodSignature.swift
/Users/admin/builder/spi-builder-workspace/Sources/Core/Internal/MethodMaker.swift:54:14: warning: capture of 'f' with non-sendable type '(repeat each P) -> R' in a '@Sendable' closure; this is an error in the Swift 6 language mode
52 | return MethodSignature(types.result, names) { params in
53 | let maker = EachMaker(params: params)
54 | return f(repeat maker.make() as each P)
| |- warning: capture of 'f' with non-sendable type '(repeat each P) -> R' in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
55 | }
56 | }
/Users/admin/builder/spi-builder-workspace/Sources/Core/Internal/MethodMaker.swift:68:14: warning: capture of 'f' with non-sendable type '(P0, repeat each P) -> R' in a '@Sendable' closure; this is an error in the Swift 6 language mode
66 | return MethodSignature(types.result, nil) { params in
67 | let maker = EachMaker(params: params)
68 | return f(modificator(maker.make()), repeat maker.make() as each P)
| |- warning: capture of 'f' with non-sendable type '(P0, repeat each P) -> R' in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
69 | }
70 | }
/Users/admin/builder/spi-builder-workspace/Sources/Core/Internal/MethodMaker.swift:68:16: warning: capture of 'modificator' with non-sendable type '(M0) -> P0' in a '@Sendable' closure; this is an error in the Swift 6 language mode
66 | return MethodSignature(types.result, nil) { params in
67 | let maker = EachMaker(params: params)
68 | return f(modificator(maker.make()), repeat maker.make() as each P)
| |- warning: capture of 'modificator' with non-sendable type '(M0) -> P0' in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
69 | }
70 | }
/Users/admin/builder/spi-builder-workspace/Sources/Core/Internal/MethodMaker.swift:83:26: warning: capture of 'modificator' with non-sendable type '(M0, M1) -> (P0, P1)' in a '@Sendable' closure; this is an error in the Swift 6 language mode
81 | return MethodSignature(types.result, nil) { params in
82 | let maker = EachMaker(params: params)
83 | let modifyResult = modificator(maker.make(), maker.make())
| |- warning: capture of 'modificator' with non-sendable type '(M0, M1) -> (P0, P1)' in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
84 | return f(modifyResult.0, modifyResult.1, repeat maker.make() as each P)
85 | }
/Users/admin/builder/spi-builder-workspace/Sources/Core/Internal/MethodMaker.swift:84:14: warning: capture of 'f' with non-sendable type '(P0, P1, repeat each P) -> R' in a '@Sendable' closure; this is an error in the Swift 6 language mode
82 | let maker = EachMaker(params: params)
83 | let modifyResult = modificator(maker.make(), maker.make())
84 | return f(modifyResult.0, modifyResult.1, repeat maker.make() as each P)
| |- warning: capture of 'f' with non-sendable type '(P0, P1, repeat each P) -> R' in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
85 | }
86 | }
/Users/admin/builder/spi-builder-workspace/Sources/Core/Internal/MethodMaker.swift:94:24: warning: type 'R' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
90 |
91 | extension MethodMaker {
92 | private static func mainIsolated<R>(closure: @escaping @MainActor () -> R) -> R {
| `- note: consider making generic parameter 'R' conform to the 'Sendable' protocol
93 | if Thread.isMainThread {
94 | return MainActor.assumeIsolated {
| `- warning: type 'R' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
95 | return closure()
96 | }
/Users/admin/builder/spi-builder-workspace/Sources/Core/Internal/MethodMaker.swift:99:19: warning: type 'R' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
90 |
91 | extension MethodMaker {
92 | private static func mainIsolated<R>(closure: @escaping @MainActor () -> R) -> R {
| `- note: consider making generic parameter 'R' conform to the 'Sendable' protocol
93 | if Thread.isMainThread {
94 | return MainActor.assumeIsolated {
:
97 | } else {
98 | let result: R = DispatchQueue.main.sync {
99 | MainActor.assumeIsolated {
| `- warning: type 'R' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
100 | closure()
101 | }
/Users/admin/builder/spi-builder-workspace/Sources/Core/Internal/MethodMaker.swift:137:26: warning: capture of 'modificator' with non-sendable type '(M0) -> P0' in a '@Sendable' closure; this is an error in the Swift 6 language mode
135 | return MethodSignature(types.result, nil) { params in
136 | let maker = EachMaker(params: params)
137 | let modifyResult = modificator(maker.make())
| |- warning: capture of 'modificator' with non-sendable type '(M0) -> P0' in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
138 | return mainIsolated {
139 | f(modifyResult, repeat maker.make() as each P)
/Users/admin/builder/spi-builder-workspace/Sources/Core/Internal/MethodMaker.swift:155:26: warning: capture of 'modificator' with non-sendable type '(M0, M1) -> (P0, P1)' in a '@Sendable' closure; this is an error in the Swift 6 language mode
153 | return MethodSignature(types.result, nil) { params in
154 | let maker = EachMaker(params: params)
155 | let modifyResult = modificator(maker.make(), maker.make())
| |- warning: capture of 'modificator' with non-sendable type '(M0, M1) -> (P0, P1)' in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
156 | return mainIsolated {
157 | f(modifyResult.0, modifyResult.1, repeat maker.make() as each P)
[44/51] Compiling DITranquillity DIPart.swift
[45/51] Compiling DITranquillity AnyArguments.swift
[46/51] Compiling DITranquillity Component.swift
[47/51] Compiling DITranquillity ExtensionsContainer.swift
[48/51] Compiling DITranquillity ThreadDictionary.swift
[49/51] Compiling DITranquillity DIContainer+makeGraph.swift
[50/51] Compiling DITranquillity DIEdge.swift
[51/51] Compiling DITranquillity DIGraph+Cycle.swift
Build complete! (7.65s)
Fetching https://github.com/ivlevAstef/SwiftLazy.git
[7/335] Fetching swiftlazy
Fetched https://github.com/ivlevAstef/SwiftLazy.git from cache (0.76s)
Computing version for https://github.com/ivlevAstef/SwiftLazy.git
Computed https://github.com/ivlevAstef/SwiftLazy.git at 1.6.1 (1.29s)
Creating working copy for https://github.com/ivlevAstef/SwiftLazy.git
Working copy of https://github.com/ivlevAstef/SwiftLazy.git resolved at 1.6.1
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/Users/admin/builder/spi-builder-workspace/Sources/Core/Internal/make_autogenerate.sh
Build complete.
{
"dependencies" : [
{
"identity" : "swiftlazy",
"requirement" : {
"range" : [
{
"lower_bound" : "1.6.1",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/ivlevAstef/SwiftLazy.git"
}
],
"manifest_display_name" : "DITranquillity",
"name" : "DITranquillity",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "watchos",
"version" : "8.0"
},
{
"name" : "macos",
"version" : "10.15"
},
{
"name" : "tvos",
"version" : "13.0"
}
],
"products" : [
{
"name" : "DITranquillity",
"targets" : [
"DITranquillity"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "DITranquillity_Tests",
"module_type" : "SwiftTarget",
"name" : "DITranquillity_Tests",
"path" : "Tests",
"sources" : [
"DITranquillityTests_Extensions.swift",
"DITranquillityTests_Lifetime.swift",
"DITranquillityTests_Modular.swift",
"DITranquillityTests_MoreParameters.swift",
"DITranquillityTests_Parent.swift",
"DITranquillityTests_Resolve.swift",
"DITranquillityTests_ResolveByInit.swift",
"DITranquillityTests_SwiftLazy.swift",
"DITranquillityTests_Threads.swift",
"DITranquillityTests_Validation.swift",
"ResolveTestClasses.swift"
],
"target_dependencies" : [
"DITranquillity"
],
"type" : "test"
},
{
"c99name" : "DITranquillity",
"module_type" : "SwiftTarget",
"name" : "DITranquillity",
"path" : "Sources",
"product_dependencies" : [
"SwiftLazy"
],
"product_memberships" : [
"DITranquillity"
],
"sources" : [
"Core/API/AutoResolve/DIComponentBuilder.Injection.swift",
"Core/API/AutoResolve/DIContainer.Reg.swift",
"Core/API/AutoResolve/DIContainer.RegModify.swift",
"Core/API/ComponentAlternativeType.swift",
"Core/API/DIComponentBuilder.swift",
"Core/API/DIComponentPriority.swift",
"Core/API/DIContainer.swift",
"Core/API/DILifetime.swift",
"Core/API/DIModificators.swift",
"Core/API/DIScope.swift",
"Core/API/DISettings.swift",
"Core/API/DIStorage.swift",
"Core/API/DITypes.swift",
"Core/API/Extensions/DIExtensions.swift",
"Core/API/Extensions/SwiftLazy.swift",
"Core/API/Hierarchy/DIFramework.swift",
"Core/API/Hierarchy/DIPart.swift",
"Core/Internal/AnyArguments.swift",
"Core/Internal/Component.swift",
"Core/Internal/ExtensionsContainer.swift",
"Core/Internal/FrameworksDependenciesContainer.swift",
"Core/Internal/Log.swift",
"Core/Internal/MethodMaker.swift",
"Core/Internal/MethodSignature.swift",
"Core/Internal/Modificators.swift",
"Core/Internal/ParsedType.swift",
"Core/Internal/ProtocolMagic.swift",
"Core/Internal/Resolver.swift",
"Core/Internal/SpecificType.swift",
"Core/Internal/TypeKey.swift",
"Core/Internal/threads/FastLock.swift",
"Core/Internal/threads/Multithread.swift",
"Core/Internal/threads/ThreadDictionary.swift",
"GraphAPI/DIContainer+makeGraph.swift",
"GraphAPI/DIEdge.swift",
"GraphAPI/DIGraph+Cycle.swift",
"GraphAPI/DIGraph+Validate.swift",
"GraphAPI/DIGraph+ValidationErrors.swift",
"GraphAPI/DIGraph.swift",
"GraphAPI/DIVertex.swift"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
Done.