Build Information
Failed to build Knit, reference 2.1.5 (19e8a0
), with Swift 6.1 for Linux on 10 Sep 2025 07:10:00 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.67.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/cashapp/knit.git
Reference: 2.1.5
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/cashapp/knit
* tag 2.1.5 -> FETCH_HEAD
HEAD is now at 19e8a09 Merge pull request #304 from cashapp/skorulis/swinject-import
Cloned https://github.com/cashapp/knit.git
Revision (git rev-parse @):
19e8a09377829c08f9032f907e984e001c8b3f57
SUCCESS checkout https://github.com/cashapp/knit.git at 2.1.5
========================================
Build
========================================
Selected platform: linux
Swift version: 6.1
Building package at path: $PWD
https://github.com/cashapp/knit.git
https://github.com/cashapp/knit.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "swift-syntax",
"requirement" : {
"range" : [
{
"lower_bound" : "510.0.2",
"upper_bound" : "602.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-syntax.git"
},
{
"identity" : "swift-argument-parser",
"requirement" : {
"range" : [
{
"lower_bound" : "1.4.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-argument-parser"
}
],
"manifest_display_name" : "Knit",
"name" : "Knit",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "14.0"
},
{
"name" : "ios",
"version" : "16.0"
}
],
"products" : [
{
"name" : "Knit",
"targets" : [
"Knit"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "KnitMacros",
"targets" : [
"KnitMacros"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "KnitTesting",
"targets" : [
"KnitTesting"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "KnitBuildPlugin",
"targets" : [
"KnitBuildPlugin"
],
"type" : {
"plugin" : null
}
},
{
"name" : "knit-cli",
"targets" : [
"knit-cli"
],
"type" : {
"executable" : null
}
},
{
"name" : "KnitMacrosImplementations",
"targets" : [
"KnitMacrosImplementations"
],
"type" : {
"macro" : null
}
}
],
"swift_languages_versions" : [
"5"
],
"targets" : [
{
"c99name" : "knit_cli",
"module_type" : "SwiftTarget",
"name" : "knit-cli",
"path" : "Sources/knit-cli",
"product_dependencies" : [
"SwiftSyntax",
"ArgumentParser"
],
"product_memberships" : [
"KnitBuildPlugin",
"knit-cli"
],
"sources" : [
"GenCommand.swift",
"KnitCommand.swift"
],
"target_dependencies" : [
"KnitCodeGen"
],
"type" : "executable"
},
{
"c99name" : "SwinjectTests",
"module_type" : "SwiftTarget",
"name" : "SwinjectTests",
"path" : "Tests/SwinjectTests",
"sources" : [
"Animal.swift",
"BehaviorFakes.swift",
"Circularity.swift",
"ContainerTests.Arguments.swift",
"ContainerTests.Behavior.swift",
"ContainerTests.Circularity.swift",
"ContainerTests.CustomScope.swift",
"ContainerTests.CustomStringConvertible.swift",
"ContainerTests.DebugHelper.swift",
"ContainerTests.GraphCaching.swift",
"ContainerTests.Speed.swift",
"ContainerTests.TypeForwarding.swift",
"ContainerTests.swift",
"EmploymentAssembly.swift",
"Food.swift",
"LazyTests.swift",
"Person.swift",
"ProviderTests.swift",
"ServiceEntryTests.swift",
"ServiceKeyTests.swift",
"SynchronizedTests.swift",
"WeakStorageTests.swift"
],
"target_dependencies" : [
"Swinject"
],
"type" : "test"
},
{
"c99name" : "Swinject",
"module_type" : "SwiftTarget",
"name" : "Swinject",
"path" : "Sources/Swinject",
"product_memberships" : [
"Knit",
"KnitTesting"
],
"sources" : [
"Behavior.swift",
"DebugHelper.swift",
"FunctionType.swift",
"GraphIdentifier.swift",
"InstanceStorage.swift",
"InstanceWrapper.swift",
"ObjectScope.Standard.swift",
"ObjectScope.swift",
"ReadWriteLock.swift",
"RecursiveLock.swift",
"ServiceEntry.TypeForwarding.swift",
"ServiceEntry.swift",
"ServiceKey.swift",
"SwinjectContainer.Arguments.swift",
"SwinjectContainer.Logging.swift",
"SwinjectContainer.TypeForwarding.swift",
"SwinjectContainer.swift",
"SwinjectResolver.swift",
"ThreadSafeDictionary.swift",
"_Resolver.swift"
],
"type" : "library"
},
{
"c99name" : "KnitTests",
"module_type" : "SwiftTarget",
"name" : "KnitTests",
"path" : "Tests/KnitTests",
"sources" : [
"AbstractRegistrationTests.swift",
"ComplexDependencyTests.swift",
"DependencyBuilderTests.swift",
"DependencyTreeTests.swift",
"DuplicateRegistrationDetectorTests.swift",
"FakeAssemblyTests.swift",
"GeneratedModuleAssemblyTests.swift",
"MainActorTests.swift",
"ModuleAssemblerErrorFormatterTests.swift",
"ModuleAssemblerTests.swift",
"ModuleAssemblyOverrideTests.swift",
"ModuleAssemblyScopingTests.swift",
"ModuleCycleTests.swift",
"ScopedModuleAssemblerTests.swift",
"ServiceCollectorTests.swift",
"SynchronizationTests.swift",
"TestResolver.swift"
],
"target_dependencies" : [
"Knit"
],
"type" : "test"
},
{
"c99name" : "KnitTesting",
"module_type" : "SwiftTarget",
"name" : "KnitTesting",
"path" : "Sources/KnitTesting",
"product_memberships" : [
"KnitTesting"
],
"sources" : [
"Resolver+Asserts.swift"
],
"target_dependencies" : [
"Swinject",
"Knit"
],
"type" : "library"
},
{
"c99name" : "KnitMacrosTests",
"module_type" : "SwiftTarget",
"name" : "KnitMacrosTests",
"path" : "Tests/KnitMacrosTests",
"product_dependencies" : [
"SwiftSyntaxMacrosTestSupport"
],
"sources" : [
"ResolvableTests.swift",
"SwinjectResolutionTests.swift"
],
"target_dependencies" : [
"KnitMacrosImplementations",
"Knit",
"KnitMacros",
"KnitCodeGen",
"Swinject"
],
"type" : "test"
},
{
"c99name" : "KnitMacrosImplementations",
"module_type" : "SwiftTarget",
"name" : "KnitMacrosImplementations",
"path" : "Sources/KnitMacrosImplementations",
"product_dependencies" : [
"SwiftSyntaxMacros",
"SwiftCompilerPlugin"
],
"product_memberships" : [
"KnitMacros",
"KnitMacrosImplementations"
],
"sources" : [
"KnitMacrosPlugin.swift",
"ResolvableMacro.swift"
],
"target_dependencies" : [
"KnitCodeGen"
],
"type" : "macro"
},
{
"c99name" : "KnitMacros",
"module_type" : "SwiftTarget",
"name" : "KnitMacros",
"path" : "Sources/KnitMacros",
"product_memberships" : [
"KnitMacros"
],
"sources" : [
"KnitMacros.swift",
"MacroPropertyWrappers.swift"
],
"target_dependencies" : [
"KnitMacrosImplementations"
],
"type" : "library"
},
{
"c99name" : "KnitCodeGenTests",
"module_type" : "SwiftTarget",
"name" : "KnitCodeGenTests",
"path" : "Tests/KnitCodeGenTests",
"sources" : [
"AssemblyParsingTests.swift",
"ConfigurationSetTests.swift",
"HeaderSourceFileTests.swift",
"KnitDirectivesTests.swift",
"KnitModuleSourceFileTests.swift",
"ModuleImportTests.swift",
"ModuleNameExtractorTests.swift",
"NamedRegistrationGroupSourceTests.swift",
"NamedRegistrationGroupTests.swift",
"RegistrationEncodingTests.swift",
"RegistrationParsingTests.swift",
"TypeNamerTests.swift",
"TypeSafetySourceFileTests.swift",
"UnitTestSourceFileTests.swift"
],
"target_dependencies" : [
"KnitCodeGen"
],
"type" : "test"
},
{
"c99name" : "KnitCodeGen",
"module_type" : "SwiftTarget",
"name" : "KnitCodeGen",
"path" : "Sources/KnitCodeGen",
"product_dependencies" : [
"SwiftSyntax",
"SwiftParser",
"SwiftSyntaxBuilder"
],
"product_memberships" : [
"KnitMacros",
"KnitBuildPlugin",
"knit-cli",
"KnitMacrosImplementations"
],
"sources" : [
"AssemblyParser.swift",
"AssemblyParsing.swift",
"Configuration.swift",
"ConfigurationSet.swift",
"FunctionCallRegistrationParsing.swift",
"HeaderSourceFile.swift",
"KnitDirectives.swift",
"KnitModuleSourceFile.swift",
"ModuleImport.swift",
"ModuleNameExtractor.swift",
"NamedRegistrationGroup.swift",
"Registration.swift",
"RegistrationIntoCollection.swift",
"SourceFileSyntax+Write.swift",
"SourceGen/NamedRegistrationGroup+SourceCode.swift",
"SwiftSyntax+Helpers.swift",
"SyntaxError.swift",
"TriviaProvider.swift",
"TypeNamer.swift",
"TypeSafetySourceFile.swift",
"UnitTestSourceFile.swift"
],
"type" : "library"
},
{
"c99name" : "KnitBuildPlugin",
"module_type" : "PluginTarget",
"name" : "KnitBuildPlugin",
"path" : "Plugins/KnitBuildPlugin",
"plugin_capability" : {
"type" : "buildTool"
},
"product_memberships" : [
"KnitBuildPlugin"
],
"sources" : [
"KnitBuildPlugin.swift"
],
"target_dependencies" : [
"knit-cli"
],
"type" : "plugin"
},
{
"c99name" : "Knit",
"module_type" : "SwiftTarget",
"name" : "Knit",
"path" : "Sources/Knit",
"product_memberships" : [
"Knit",
"KnitTesting"
],
"sources" : [
"ConcurrencyAttribute.swift",
"Container+MainActorRegistration.swift",
"Container+Registration.swift",
"Container.swift",
"DuplicateRegistrationDetector.swift",
"Exports.swift",
"Future+Async.swift",
"Module/AbstractAssembly.swift",
"Module/Container+AbstractRegistration.swift",
"Module/DependencyBuilder.swift",
"Module/DependencyTree.swift",
"Module/FakeAssembly.swift",
"Module/KnitModule.swift",
"Module/ModuleAssembler.swift",
"Module/ModuleAssemblerErrorFormatter.swift",
"Module/ModuleAssembly.swift",
"Module/ScopedModuleAssembler.swift",
"Resolver+Additions.swift",
"Resolver.swift",
"ServiceCollection/Container+ServiceCollection.swift",
"ServiceCollection/Resolver+ServiceCollection.swift",
"ServiceCollection/ServiceCollection.swift",
"ServiceCollection/ServiceCollector.swift"
],
"target_dependencies" : [
"Swinject"
],
"type" : "library"
}
],
"tools_version" : "6.0"
}
warning: 'spi-builder-workspace': Invalid Exclude '/host/spi-builder-workspace/Sources/Swinject/Resolver.erb': File not found.
warning: 'spi-builder-workspace': Invalid Exclude '/host/spi-builder-workspace/Sources/Swinject/Container.Arguments.erb': File not found.
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" 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:99ea6d26ace67c023f359493a2ac553a612b92a7f2dee009657225f46f43aa0e
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Fetching https://github.com/apple/swift-syntax.git
Fetching https://github.com/apple/swift-argument-parser
[1/15914] Fetching swift-argument-parser
[10027/87825] Fetching swift-argument-parser, swift-syntax
Fetched https://github.com/apple/swift-argument-parser from cache (6.57s)
Fetched https://github.com/apple/swift-syntax.git from cache (6.62s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.6.1 (7.21s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 601.0.1 (2.60s)
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.6.1
Creating working copy for https://github.com/apple/swift-syntax.git
Working copy of https://github.com/apple/swift-syntax.git resolved at 601.0.1
warning: 'spi-builder-workspace': Invalid Exclude '/host/spi-builder-workspace/Sources/Swinject/Resolver.erb': File not found.
warning: 'spi-builder-workspace': Invalid Exclude '/host/spi-builder-workspace/Sources/Swinject/Container.Arguments.erb': File not found.
warning: 'spi-builder-workspace': found 2 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/Sources/Swinject/SwinjectResolver.erb
/host/spi-builder-workspace/Sources/Swinject/SwinjectContainer.Arguments.erb
[1/1] Compiling plugin KnitBuildPlugin
[2/2] Compiling plugin GenerateManual
[3/3] Compiling plugin GenerateDoccReference
Building for debugging...
[3/87] Write sources
[44/87] Compiling _SwiftSyntaxCShims dummy.c
[46/87] Write swift-version-24593BA9C3E375BF.txt
[48/137] Emitting module SwiftSyntax510
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[49/137] Emitting module Swinject
/host/spi-builder-workspace/Sources/Swinject/ObjectScope.Standard.swift:8:23: warning: static property 'transient' is not concurrency-safe because non-'Sendable' type 'ObjectScope' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// A new instance is always created by the ``Container`` when a type is resolved.
7 | /// The instance is not shared.
8 | public static let transient = ObjectScope(storageFactory: TransientStorage.init, description: "transient")
| |- warning: static property 'transient' is not concurrency-safe because non-'Sendable' type 'ObjectScope' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'transient' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 |
10 | /// Instances are shared only when an object graph is being created,
/host/spi-builder-workspace/Sources/Swinject/ObjectScope.swift:14:14: note: class 'ObjectScope' does not conform to the 'Sendable' protocol
12 |
13 | /// Basic implementation of ``ObjectScopeProtocol``.
14 | public class ObjectScope: ObjectScopeProtocol, CustomStringConvertible {
| `- note: class 'ObjectScope' does not conform to the 'Sendable' protocol
15 | public private(set) var description: String
16 | private var storageFactory: () -> InstanceStorage
/host/spi-builder-workspace/Sources/Swinject/ObjectScope.Standard.swift:12:23: warning: static property 'graph' is not concurrency-safe because non-'Sendable' type 'ObjectScope' may have shared mutable state; this is an error in the Swift 6 language mode
10 | /// Instances are shared only when an object graph is being created,
11 | /// otherwise a new instance is created by the ``Container``. This is the default scope.
12 | public static let graph = ObjectScope(storageFactory: GraphStorage.init, description: "graph")
| |- warning: static property 'graph' is not concurrency-safe because non-'Sendable' type 'ObjectScope' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'graph' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | /// An instance provided by the ``Container`` is shared within the ``Container`` and its child `Containers`.
/host/spi-builder-workspace/Sources/Swinject/ObjectScope.swift:14:14: note: class 'ObjectScope' does not conform to the 'Sendable' protocol
12 |
13 | /// Basic implementation of ``ObjectScopeProtocol``.
14 | public class ObjectScope: ObjectScopeProtocol, CustomStringConvertible {
| `- note: class 'ObjectScope' does not conform to the 'Sendable' protocol
15 | public private(set) var description: String
16 | private var storageFactory: () -> InstanceStorage
/host/spi-builder-workspace/Sources/Swinject/ObjectScope.Standard.swift:15:23: warning: static property 'container' is not concurrency-safe because non-'Sendable' type 'ObjectScope' may have shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | /// An instance provided by the ``Container`` is shared within the ``Container`` and its child `Containers`.
15 | public static let container = ObjectScope(storageFactory: PermanentStorage.init, description: "container")
| |- warning: static property 'container' is not concurrency-safe because non-'Sendable' type 'ObjectScope' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'container' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | /// An instance provided by the ``Container`` is shared within the ``Container`` and its child ``Container``s
/host/spi-builder-workspace/Sources/Swinject/ObjectScope.swift:14:14: note: class 'ObjectScope' does not conform to the 'Sendable' protocol
12 |
13 | /// Basic implementation of ``ObjectScopeProtocol``.
14 | public class ObjectScope: ObjectScopeProtocol, CustomStringConvertible {
| `- note: class 'ObjectScope' does not conform to the 'Sendable' protocol
15 | public private(set) var description: String
16 | private var storageFactory: () -> InstanceStorage
/host/spi-builder-workspace/Sources/Swinject/ObjectScope.Standard.swift:20:23: warning: static property 'weak' is not concurrency-safe because non-'Sendable' type 'ObjectScope' may have shared mutable state; this is an error in the Swift 6 language mode
18 | /// as long as there are strong references to given instance. Otherwise new instance is created
19 | /// when resolving the type.
20 | public static let weak = ObjectScope(storageFactory: WeakStorage.init, description: "weak",
| |- warning: static property 'weak' is not concurrency-safe because non-'Sendable' type 'ObjectScope' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'weak' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | parent: ObjectScope.graph)
22 | }
/host/spi-builder-workspace/Sources/Swinject/ObjectScope.swift:14:14: note: class 'ObjectScope' does not conform to the 'Sendable' protocol
12 |
13 | /// Basic implementation of ``ObjectScopeProtocol``.
14 | public class ObjectScope: ObjectScopeProtocol, CustomStringConvertible {
| `- note: class 'ObjectScope' does not conform to the 'Sendable' protocol
15 | public private(set) var description: String
16 | private var storageFactory: () -> InstanceStorage
/host/spi-builder-workspace/Sources/Swinject/SwinjectContainer.Logging.swift:20:13: warning: var '_loggingFunction' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
18 | }
19 |
20 | private var _loggingFunction: LoggingFunctionType? = { print($0) }
| |- warning: var '_loggingFunction' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_loggingFunction' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var '_loggingFunction' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 |
/host/spi-builder-workspace/Sources/Swinject/SwinjectContainer.swift:428:16: warning: static property 'graphIdentifierKey' is not concurrency-safe because non-'Sendable' type 'ServiceKey' may have shared mutable state; this is an error in the Swift 6 language mode
426 |
427 | private extension SwinjectContainer {
428 | static let graphIdentifierKey = ServiceKey(serviceType: GraphIdentifier.self, argumentsType: SwinjectResolver.self)
| |- warning: static property 'graphIdentifierKey' is not concurrency-safe because non-'Sendable' type 'ServiceKey' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'graphIdentifierKey' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
429 | }
430 |
/host/spi-builder-workspace/Sources/Swinject/ServiceKey.swift:16:17: note: consider making struct 'ServiceKey' conform to the 'Sendable' protocol
14 | // MARK: - ServiceKey
15 |
16 | internal struct ServiceKey {
| `- note: consider making struct 'ServiceKey' conform to the 'Sendable' protocol
17 | internal let serviceType: Any.Type
18 | internal let argumentsType: Any.Type
[50/139] Emitting module SwiftSyntax600
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[51/139] Compiling SwiftSyntax600 Empty.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[52/140] Emitting module SwiftSyntax510
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[53/140] Compiling SwiftSyntax510 Empty.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[55/142] Emitting module SwiftSyntax601
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[56/142] Compiling SwiftSyntax601 Empty.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[57/142] Emitting module SwiftSyntax600
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[58/142] Compiling SwiftSyntax600 Empty.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[59/142] Compiling Swinject Behavior.swift
[60/142] Compiling Swinject DebugHelper.swift
[61/142] Compiling Swinject FunctionType.swift
[65/142] Compiling Swinject SwinjectContainer.Logging.swift
/host/spi-builder-workspace/Sources/Swinject/SwinjectContainer.Logging.swift:20:13: warning: var '_loggingFunction' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
18 | }
19 |
20 | private var _loggingFunction: LoggingFunctionType? = { print($0) }
| |- warning: var '_loggingFunction' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_loggingFunction' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var '_loggingFunction' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 |
[66/142] Compiling Swinject SwinjectContainer.TypeForwarding.swift
/host/spi-builder-workspace/Sources/Swinject/SwinjectContainer.Logging.swift:20:13: warning: var '_loggingFunction' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
18 | }
19 |
20 | private var _loggingFunction: LoggingFunctionType? = { print($0) }
| |- warning: var '_loggingFunction' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_loggingFunction' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var '_loggingFunction' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 |
[67/143] Compiling Swinject GraphIdentifier.swift
/host/spi-builder-workspace/Sources/Swinject/InstanceStorage.swift:118:50: warning: conditional cast from 'Wrapped' to 'AnyObject' always succeeds
116 | return object as? Wrapped
117 | }
118 | set { object = newValue.flatMap { $0 as? AnyObject } }
| `- warning: conditional cast from 'Wrapped' to 'AnyObject' always succeeds
119 | }
120 |
[68/143] Compiling Swinject InstanceStorage.swift
/host/spi-builder-workspace/Sources/Swinject/InstanceStorage.swift:118:50: warning: conditional cast from 'Wrapped' to 'AnyObject' always succeeds
116 | return object as? Wrapped
117 | }
118 | set { object = newValue.flatMap { $0 as? AnyObject } }
| `- warning: conditional cast from 'Wrapped' to 'AnyObject' always succeeds
119 | }
120 |
[69/143] Compiling Swinject InstanceWrapper.swift
/host/spi-builder-workspace/Sources/Swinject/InstanceStorage.swift:118:50: warning: conditional cast from 'Wrapped' to 'AnyObject' always succeeds
116 | return object as? Wrapped
117 | }
118 | set { object = newValue.flatMap { $0 as? AnyObject } }
| `- warning: conditional cast from 'Wrapped' to 'AnyObject' always succeeds
119 | }
120 |
[70/146] Emitting module SwiftSyntax601
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[71/146] Compiling SwiftSyntax601 Empty.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[77/153] Wrapping AST for SwiftSyntax601 for debugging
[78/153] Wrapping AST for SwiftSyntax600 for debugging
[79/155] Wrapping AST for SwiftSyntax601 for debugging
[81/155] Compiling SwiftSyntax509 Empty.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[82/155] Emitting module SwiftSyntax509
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[83/155] Compiling SwiftSyntax509 Empty.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[84/155] Emitting module SwiftSyntax509
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[84/156] Wrapping AST for SwiftSyntax600 for debugging
[87/157] Wrapping AST for SwiftSyntax510 for debugging
[89/157] Wrapping AST for SwiftSyntax509 for debugging
[92/285] Emitting module ArgumentParserToolInfo
[93/285] Compiling ArgumentParserToolInfo ToolInfo.swift
[95/286] Emitting module ArgumentParserToolInfo
[96/286] Compiling ArgumentParserToolInfo ToolInfo.swift
[97/287] Wrapping AST for ArgumentParserToolInfo for debugging
[99/331] Compiling ArgumentParser Flag.swift
/host/spi-builder-workspace/Sources/Swinject/ObjectScope.Standard.swift:8:23: warning: static property 'transient' is not concurrency-safe because non-'Sendable' type 'ObjectScope' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// A new instance is always created by the ``Container`` when a type is resolved.
7 | /// The instance is not shared.
8 | public static let transient = ObjectScope(storageFactory: TransientStorage.init, description: "transient")
| |- warning: static property 'transient' is not concurrency-safe because non-'Sendable' type 'ObjectScope' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'transient' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 |
10 | /// Instances are shared only when an object graph is being created,
/host/spi-builder-workspace/Sources/Swinject/ObjectScope.swift:14:14: note: class 'ObjectScope' does not conform to the 'Sendable' protocol
12 |
13 | /// Basic implementation of ``ObjectScopeProtocol``.
14 | public class ObjectScope: ObjectScopeProtocol, CustomStringConvertible {
| `- note: class 'ObjectScope' does not conform to the 'Sendable' protocol
15 | public private(set) var description: String
16 | private var storageFactory: () -> InstanceStorage
/host/spi-builder-workspace/Sources/Swinject/ObjectScope.Standard.swift:12:23: warning: static property 'graph' is not concurrency-safe because non-'Sendable' type 'ObjectScope' may have shared mutable state; this is an error in the Swift 6 language mode
10 | /// Instances are shared only when an object graph is being created,
11 | /// otherwise a new instance is created by the ``Container``. This is the default scope.
12 | public static let graph = ObjectScope(storageFactory: GraphStorage.init, description: "graph")
| |- warning: static property 'graph' is not concurrency-safe because non-'Sendable' type 'ObjectScope' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'graph' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | /// An instance provided by the ``Container`` is shared within the ``Container`` and its child `Containers`.
/host/spi-builder-workspace/Sources/Swinject/ObjectScope.swift:14:14: note: class 'ObjectScope' does not conform to the 'Sendable' protocol
12 |
13 | /// Basic implementation of ``ObjectScopeProtocol``.
14 | public class ObjectScope: ObjectScopeProtocol, CustomStringConvertible {
| `- note: class 'ObjectScope' does not conform to the 'Sendable' protocol
15 | public private(set) var description: String
16 | private var storageFactory: () -> InstanceStorage
/host/spi-builder-workspace/Sources/Swinject/ObjectScope.Standard.swift:15:23: warning: static property 'container' is not concurrency-safe because non-'Sendable' type 'ObjectScope' may have shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | /// An instance provided by the ``Container`` is shared within the ``Container`` and its child `Containers`.
15 | public static let container = ObjectScope(storageFactory: PermanentStorage.init, description: "container")
| |- warning: static property 'container' is not concurrency-safe because non-'Sendable' type 'ObjectScope' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'container' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | /// An instance provided by the ``Container`` is shared within the ``Container`` and its child ``Container``s
/host/spi-builder-workspace/Sources/Swinject/ObjectScope.swift:14:14: note: class 'ObjectScope' does not conform to the 'Sendable' protocol
12 |
13 | /// Basic implementation of ``ObjectScopeProtocol``.
14 | public class ObjectScope: ObjectScopeProtocol, CustomStringConvertible {
| `- note: class 'ObjectScope' does not conform to the 'Sendable' protocol
15 | public private(set) var description: String
16 | private var storageFactory: () -> InstanceStorage
/host/spi-builder-workspace/Sources/Swinject/ObjectScope.Standard.swift:20:23: warning: static property 'weak' is not concurrency-safe because non-'Sendable' type 'ObjectScope' may have shared mutable state; this is an error in the Swift 6 language mode
18 | /// as long as there are strong references to given instance. Otherwise new instance is created
19 | /// when resolving the type.
20 | public static let weak = ObjectScope(storageFactory: WeakStorage.init, description: "weak",
| |- warning: static property 'weak' is not concurrency-safe because non-'Sendable' type 'ObjectScope' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'weak' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | parent: ObjectScope.graph)
22 | }
/host/spi-builder-workspace/Sources/Swinject/ObjectScope.swift:14:14: note: class 'ObjectScope' does not conform to the 'Sendable' protocol
12 |
13 | /// Basic implementation of ``ObjectScopeProtocol``.
14 | public class ObjectScope: ObjectScopeProtocol, CustomStringConvertible {
| `- note: class 'ObjectScope' does not conform to the 'Sendable' protocol
15 | public private(set) var description: String
16 | private var storageFactory: () -> InstanceStorage
[100/331] Compiling ArgumentParser NameSpecification.swift
/host/spi-builder-workspace/Sources/Swinject/ObjectScope.Standard.swift:8:23: warning: static property 'transient' is not concurrency-safe because non-'Sendable' type 'ObjectScope' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// A new instance is always created by the ``Container`` when a type is resolved.
7 | /// The instance is not shared.
8 | public static let transient = ObjectScope(storageFactory: TransientStorage.init, description: "transient")
| |- warning: static property 'transient' is not concurrency-safe because non-'Sendable' type 'ObjectScope' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'transient' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 |
10 | /// Instances are shared only when an object graph is being created,
/host/spi-builder-workspace/Sources/Swinject/ObjectScope.swift:14:14: note: class 'ObjectScope' does not conform to the 'Sendable' protocol
12 |
13 | /// Basic implementation of ``ObjectScopeProtocol``.
14 | public class ObjectScope: ObjectScopeProtocol, CustomStringConvertible {
| `- note: class 'ObjectScope' does not conform to the 'Sendable' protocol
15 | public private(set) var description: String
16 | private var storageFactory: () -> InstanceStorage
/host/spi-builder-workspace/Sources/Swinject/ObjectScope.Standard.swift:12:23: warning: static property 'graph' is not concurrency-safe because non-'Sendable' type 'ObjectScope' may have shared mutable state; this is an error in the Swift 6 language mode
10 | /// Instances are shared only when an object graph is being created,
11 | /// otherwise a new instance is created by the ``Container``. This is the default scope.
12 | public static let graph = ObjectScope(storageFactory: GraphStorage.init, description: "graph")
| |- warning: static property 'graph' is not concurrency-safe because non-'Sendable' type 'ObjectScope' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'graph' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | /// An instance provided by the ``Container`` is shared within the ``Container`` and its child `Containers`.
/host/spi-builder-workspace/Sources/Swinject/ObjectScope.swift:14:14: note: class 'ObjectScope' does not conform to the 'Sendable' protocol
12 |
13 | /// Basic implementation of ``ObjectScopeProtocol``.
14 | public class ObjectScope: ObjectScopeProtocol, CustomStringConvertible {
| `- note: class 'ObjectScope' does not conform to the 'Sendable' protocol
15 | public private(set) var description: String
16 | private var storageFactory: () -> InstanceStorage
/host/spi-builder-workspace/Sources/Swinject/ObjectScope.Standard.swift:15:23: warning: static property 'container' is not concurrency-safe because non-'Sendable' type 'ObjectScope' may have shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | /// An instance provided by the ``Container`` is shared within the ``Container`` and its child `Containers`.
15 | public static let container = ObjectScope(storageFactory: PermanentStorage.init, description: "container")
| |- warning: static property 'container' is not concurrency-safe because non-'Sendable' type 'ObjectScope' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'container' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | /// An instance provided by the ``Container`` is shared within the ``Container`` and its child ``Container``s
/host/spi-builder-workspace/Sources/Swinject/ObjectScope.swift:14:14: note: class 'ObjectScope' does not conform to the 'Sendable' protocol
12 |
13 | /// Basic implementation of ``ObjectScopeProtocol``.
14 | public class ObjectScope: ObjectScopeProtocol, CustomStringConvertible {
| `- note: class 'ObjectScope' does not conform to the 'Sendable' protocol
15 | public private(set) var description: String
16 | private var storageFactory: () -> InstanceStorage
/host/spi-builder-workspace/Sources/Swinject/ObjectScope.Standard.swift:20:23: warning: static property 'weak' is not concurrency-safe because non-'Sendable' type 'ObjectScope' may have shared mutable state; this is an error in the Swift 6 language mode
18 | /// as long as there are strong references to given instance. Otherwise new instance is created
19 | /// when resolving the type.
20 | public static let weak = ObjectScope(storageFactory: WeakStorage.init, description: "weak",
| |- warning: static property 'weak' is not concurrency-safe because non-'Sendable' type 'ObjectScope' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'weak' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | parent: ObjectScope.graph)
22 | }
/host/spi-builder-workspace/Sources/Swinject/ObjectScope.swift:14:14: note: class 'ObjectScope' does not conform to the 'Sendable' protocol
12 |
13 | /// Basic implementation of ``ObjectScopeProtocol``.
14 | public class ObjectScope: ObjectScopeProtocol, CustomStringConvertible {
| `- note: class 'ObjectScope' does not conform to the 'Sendable' protocol
15 | public private(set) var description: String
16 | private var storageFactory: () -> InstanceStorage
[101/331] Compiling ArgumentParser Option.swift
/host/spi-builder-workspace/Sources/Swinject/ObjectScope.Standard.swift:8:23: warning: static property 'transient' is not concurrency-safe because non-'Sendable' type 'ObjectScope' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// A new instance is always created by the ``Container`` when a type is resolved.
7 | /// The instance is not shared.
8 | public static let transient = ObjectScope(storageFactory: TransientStorage.init, description: "transient")
| |- warning: static property 'transient' is not concurrency-safe because non-'Sendable' type 'ObjectScope' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'transient' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 |
10 | /// Instances are shared only when an object graph is being created,
/host/spi-builder-workspace/Sources/Swinject/ObjectScope.swift:14:14: note: class 'ObjectScope' does not conform to the 'Sendable' protocol
12 |
13 | /// Basic implementation of ``ObjectScopeProtocol``.
14 | public class ObjectScope: ObjectScopeProtocol, CustomStringConvertible {
| `- note: class 'ObjectScope' does not conform to the 'Sendable' protocol
15 | public private(set) var description: String
16 | private var storageFactory: () -> InstanceStorage
/host/spi-builder-workspace/Sources/Swinject/ObjectScope.Standard.swift:12:23: warning: static property 'graph' is not concurrency-safe because non-'Sendable' type 'ObjectScope' may have shared mutable state; this is an error in the Swift 6 language mode
10 | /// Instances are shared only when an object graph is being created,
11 | /// otherwise a new instance is created by the ``Container``. This is the default scope.
12 | public static let graph = ObjectScope(storageFactory: GraphStorage.init, description: "graph")
| |- warning: static property 'graph' is not concurrency-safe because non-'Sendable' type 'ObjectScope' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'graph' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | /// An instance provided by the ``Container`` is shared within the ``Container`` and its child `Containers`.
/host/spi-builder-workspace/Sources/Swinject/ObjectScope.swift:14:14: note: class 'ObjectScope' does not conform to the 'Sendable' protocol
12 |
13 | /// Basic implementation of ``ObjectScopeProtocol``.
14 | public class ObjectScope: ObjectScopeProtocol, CustomStringConvertible {
| `- note: class 'ObjectScope' does not conform to the 'Sendable' protocol
15 | public private(set) var description: String
16 | private var storageFactory: () -> InstanceStorage
/host/spi-builder-workspace/Sources/Swinject/ObjectScope.Standard.swift:15:23: warning: static property 'container' is not concurrency-safe because non-'Sendable' type 'ObjectScope' may have shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | /// An instance provided by the ``Container`` is shared within the ``Container`` and its child `Containers`.
15 | public static let container = ObjectScope(storageFactory: PermanentStorage.init, description: "container")
| |- warning: static property 'container' is not concurrency-safe because non-'Sendable' type 'ObjectScope' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'container' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | /// An instance provided by the ``Container`` is shared within the ``Container`` and its child ``Container``s
/host/spi-builder-workspace/Sources/Swinject/ObjectScope.swift:14:14: note: class 'ObjectScope' does not conform to the 'Sendable' protocol
12 |
13 | /// Basic implementation of ``ObjectScopeProtocol``.
14 | public class ObjectScope: ObjectScopeProtocol, CustomStringConvertible {
| `- note: class 'ObjectScope' does not conform to the 'Sendable' protocol
15 | public private(set) var description: String
16 | private var storageFactory: () -> InstanceStorage
/host/spi-builder-workspace/Sources/Swinject/ObjectScope.Standard.swift:20:23: warning: static property 'weak' is not concurrency-safe because non-'Sendable' type 'ObjectScope' may have shared mutable state; this is an error in the Swift 6 language mode
18 | /// as long as there are strong references to given instance. Otherwise new instance is created
19 | /// when resolving the type.
20 | public static let weak = ObjectScope(storageFactory: WeakStorage.init, description: "weak",
| |- warning: static property 'weak' is not concurrency-safe because non-'Sendable' type 'ObjectScope' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'weak' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | parent: ObjectScope.graph)
22 | }
/host/spi-builder-workspace/Sources/Swinject/ObjectScope.swift:14:14: note: class 'ObjectScope' does not conform to the 'Sendable' protocol
12 |
13 | /// Basic implementation of ``ObjectScopeProtocol``.
14 | public class ObjectScope: ObjectScopeProtocol, CustomStringConvertible {
| `- note: class 'ObjectScope' does not conform to the 'Sendable' protocol
15 | public private(set) var description: String
16 | private var storageFactory: () -> InstanceStorage
[102/331] Compiling ArgumentParser BashCompletionsGenerator.swift
/host/spi-builder-workspace/Sources/Swinject/InstanceStorage.swift:118:50: warning: conditional cast from 'Wrapped' to 'AnyObject' always succeeds
116 | return object as? Wrapped
117 | }
118 | set { object = newValue.flatMap { $0 as? AnyObject } }
| `- warning: conditional cast from 'Wrapped' to 'AnyObject' always succeeds
119 | }
120 |
[103/331] Compiling ArgumentParser CompletionsGenerator.swift
/host/spi-builder-workspace/Sources/Swinject/InstanceStorage.swift:118:50: warning: conditional cast from 'Wrapped' to 'AnyObject' always succeeds
116 | return object as? Wrapped
117 | }
118 | set { object = newValue.flatMap { $0 as? AnyObject } }
| `- warning: conditional cast from 'Wrapped' to 'AnyObject' always succeeds
119 | }
120 |
[104/331] Compiling ArgumentParser FishCompletionsGenerator.swift
/host/spi-builder-workspace/Sources/Swinject/InstanceStorage.swift:118:50: warning: conditional cast from 'Wrapped' to 'AnyObject' always succeeds
116 | return object as? Wrapped
117 | }
118 | set { object = newValue.flatMap { $0 as? AnyObject } }
| `- warning: conditional cast from 'Wrapped' to 'AnyObject' always succeeds
119 | }
120 |
[104/331] Wrapping AST for ArgumentParserToolInfo for debugging
[106/331] Compiling ArgumentParser CommandGroup.swift
/host/spi-builder-workspace/Sources/Swinject/SwinjectContainer.swift:428:16: warning: static property 'graphIdentifierKey' is not concurrency-safe because non-'Sendable' type 'ServiceKey' may have shared mutable state; this is an error in the Swift 6 language mode
426 |
427 | private extension SwinjectContainer {
428 | static let graphIdentifierKey = ServiceKey(serviceType: GraphIdentifier.self, argumentsType: SwinjectResolver.self)
| |- warning: static property 'graphIdentifierKey' is not concurrency-safe because non-'Sendable' type 'ServiceKey' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'graphIdentifierKey' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
429 | }
430 |
/host/spi-builder-workspace/Sources/Swinject/ServiceKey.swift:16:17: note: consider making struct 'ServiceKey' conform to the 'Sendable' protocol
14 | // MARK: - ServiceKey
15 |
16 | internal struct ServiceKey {
| `- note: consider making struct 'ServiceKey' conform to the 'Sendable' protocol
17 | internal let serviceType: Any.Type
18 | internal let argumentsType: Any.Type
[107/331] Compiling ArgumentParser EnumerableFlag.swift
/host/spi-builder-workspace/Sources/Swinject/SwinjectContainer.swift:428:16: warning: static property 'graphIdentifierKey' is not concurrency-safe because non-'Sendable' type 'ServiceKey' may have shared mutable state; this is an error in the Swift 6 language mode
426 |
427 | private extension SwinjectContainer {
428 | static let graphIdentifierKey = ServiceKey(serviceType: GraphIdentifier.self, argumentsType: SwinjectResolver.self)
| |- warning: static property 'graphIdentifierKey' is not concurrency-safe because non-'Sendable' type 'ServiceKey' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'graphIdentifierKey' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
429 | }
430 |
/host/spi-builder-workspace/Sources/Swinject/ServiceKey.swift:16:17: note: consider making struct 'ServiceKey' conform to the 'Sendable' protocol
14 | // MARK: - ServiceKey
15 |
16 | internal struct ServiceKey {
| `- note: consider making struct 'ServiceKey' conform to the 'Sendable' protocol
17 | internal let serviceType: Any.Type
18 | internal let argumentsType: Any.Type
[108/331] Compiling ArgumentParser AsyncParsableCommand.swift
/host/spi-builder-workspace/Sources/Swinject/SwinjectContainer.Logging.swift:20:13: warning: var '_loggingFunction' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
18 | }
19 |
20 | private var _loggingFunction: LoggingFunctionType? = { print($0) }
| |- warning: var '_loggingFunction' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_loggingFunction' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var '_loggingFunction' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 |
[109/331] Compiling ArgumentParser CommandConfiguration.swift
/host/spi-builder-workspace/Sources/Swinject/SwinjectContainer.Logging.swift:20:13: warning: var '_loggingFunction' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
18 | }
19 |
20 | private var _loggingFunction: LoggingFunctionType? = { print($0) }
| |- warning: var '_loggingFunction' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_loggingFunction' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var '_loggingFunction' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 |
[110/331] Emitting module Swinject
/host/spi-builder-workspace/Sources/Swinject/ObjectScope.Standard.swift:8:23: warning: static property 'transient' is not concurrency-safe because non-'Sendable' type 'ObjectScope' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// A new instance is always created by the ``Container`` when a type is resolved.
7 | /// The instance is not shared.
8 | public static let transient = ObjectScope(storageFactory: TransientStorage.init, description: "transient")
| |- warning: static property 'transient' is not concurrency-safe because non-'Sendable' type 'ObjectScope' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'transient' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 |
10 | /// Instances are shared only when an object graph is being created,
/host/spi-builder-workspace/Sources/Swinject/ObjectScope.swift:14:14: note: class 'ObjectScope' does not conform to the 'Sendable' protocol
12 |
13 | /// Basic implementation of ``ObjectScopeProtocol``.
14 | public class ObjectScope: ObjectScopeProtocol, CustomStringConvertible {
| `- note: class 'ObjectScope' does not conform to the 'Sendable' protocol
15 | public private(set) var description: String
16 | private var storageFactory: () -> InstanceStorage
/host/spi-builder-workspace/Sources/Swinject/ObjectScope.Standard.swift:12:23: warning: static property 'graph' is not concurrency-safe because non-'Sendable' type 'ObjectScope' may have shared mutable state; this is an error in the Swift 6 language mode
10 | /// Instances are shared only when an object graph is being created,
11 | /// otherwise a new instance is created by the ``Container``. This is the default scope.
12 | public static let graph = ObjectScope(storageFactory: GraphStorage.init, description: "graph")
| |- warning: static property 'graph' is not concurrency-safe because non-'Sendable' type 'ObjectScope' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'graph' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | /// An instance provided by the ``Container`` is shared within the ``Container`` and its child `Containers`.
/host/spi-builder-workspace/Sources/Swinject/ObjectScope.swift:14:14: note: class 'ObjectScope' does not conform to the 'Sendable' protocol
12 |
13 | /// Basic implementation of ``ObjectScopeProtocol``.
14 | public class ObjectScope: ObjectScopeProtocol, CustomStringConvertible {
| `- note: class 'ObjectScope' does not conform to the 'Sendable' protocol
15 | public private(set) var description: String
16 | private var storageFactory: () -> InstanceStorage
/host/spi-builder-workspace/Sources/Swinject/ObjectScope.Standard.swift:15:23: warning: static property 'container' is not concurrency-safe because non-'Sendable' type 'ObjectScope' may have shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | /// An instance provided by the ``Container`` is shared within the ``Container`` and its child `Containers`.
15 | public static let container = ObjectScope(storageFactory: PermanentStorage.init, description: "container")
| |- warning: static property 'container' is not concurrency-safe because non-'Sendable' type 'ObjectScope' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'container' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | /// An instance provided by the ``Container`` is shared within the ``Container`` and its child ``Container``s
/host/spi-builder-workspace/Sources/Swinject/ObjectScope.swift:14:14: note: class 'ObjectScope' does not conform to the 'Sendable' protocol
12 |
13 | /// Basic implementation of ``ObjectScopeProtocol``.
14 | public class ObjectScope: ObjectScopeProtocol, CustomStringConvertible {
| `- note: class 'ObjectScope' does not conform to the 'Sendable' protocol
15 | public private(set) var description: String
16 | private var storageFactory: () -> InstanceStorage
/host/spi-builder-workspace/Sources/Swinject/ObjectScope.Standard.swift:20:23: warning: static property 'weak' is not concurrency-safe because non-'Sendable' type 'ObjectScope' may have shared mutable state; this is an error in the Swift 6 language mode
18 | /// as long as there are strong references to given instance. Otherwise new instance is created
19 | /// when resolving the type.
20 | public static let weak = ObjectScope(storageFactory: WeakStorage.init, description: "weak",
| |- warning: static property 'weak' is not concurrency-safe because non-'Sendable' type 'ObjectScope' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'weak' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | parent: ObjectScope.graph)
22 | }
/host/spi-builder-workspace/Sources/Swinject/ObjectScope.swift:14:14: note: class 'ObjectScope' does not conform to the 'Sendable' protocol
12 |
13 | /// Basic implementation of ``ObjectScopeProtocol``.
14 | public class ObjectScope: ObjectScopeProtocol, CustomStringConvertible {
| `- note: class 'ObjectScope' does not conform to the 'Sendable' protocol
15 | public private(set) var description: String
16 | private var storageFactory: () -> InstanceStorage
/host/spi-builder-workspace/Sources/Swinject/SwinjectContainer.Logging.swift:20:13: warning: var '_loggingFunction' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
18 | }
19 |
20 | private var _loggingFunction: LoggingFunctionType? = { print($0) }
| |- warning: var '_loggingFunction' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_loggingFunction' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var '_loggingFunction' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 |
/host/spi-builder-workspace/Sources/Swinject/SwinjectContainer.swift:428:16: warning: static property 'graphIdentifierKey' is not concurrency-safe because non-'Sendable' type 'ServiceKey' may have shared mutable state; this is an error in the Swift 6 language mode
426 |
427 | private extension SwinjectContainer {
428 | static let graphIdentifierKey = ServiceKey(serviceType: GraphIdentifier.self, argumentsType: SwinjectResolver.self)
| |- warning: static property 'graphIdentifierKey' is not concurrency-safe because non-'Sendable' type 'ServiceKey' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'graphIdentifierKey' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
429 | }
430 |
/host/spi-builder-workspace/Sources/Swinject/ServiceKey.swift:16:17: note: consider making struct 'ServiceKey' conform to the 'Sendable' protocol
14 | // MARK: - ServiceKey
15 |
16 | internal struct ServiceKey {
| `- note: consider making struct 'ServiceKey' conform to the 'Sendable' protocol
17 | internal let serviceType: Any.Type
18 | internal let argumentsType: Any.Type
/host/spi-builder-workspace/Sources/Swinject/ObjectScope.Standard.swift:8:23: warning: static property 'transient' is not concurrency-safe because non-'Sendable' type 'ObjectScope' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// A new instance is always created by the ``Container`` when a type is resolved.
7 | /// The instance is not shared.
8 | public static let transient = ObjectScope(storageFactory: TransientStorage.init, description: "transient")
| |- warning: static property 'transient' is not concurrency-safe because non-'Sendable' type 'ObjectScope' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'transient' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 |
10 | /// Instances are shared only when an object graph is being created,
/host/spi-builder-workspace/Sources/Swinject/ObjectScope.swift:14:14: note: class 'ObjectScope' does not conform to the 'Sendable' protocol
12 |
13 | /// Basic implementation of ``ObjectScopeProtocol``.
14 | public class ObjectScope: ObjectScopeProtocol, CustomStringConvertible {
| `- note: class 'ObjectScope' does not conform to the 'Sendable' protocol
15 | public private(set) var description: String
16 | private var storageFactory: () -> InstanceStorage
/host/spi-builder-workspace/Sources/Swinject/ObjectScope.Standard.swift:12:23: warning: static property 'graph' is not concurrency-safe because non-'Sendable' type 'ObjectScope' may have shared mutable state; this is an error in the Swift 6 language mode
10 | /// Instances are shared only when an object graph is being created,
11 | /// otherwise a new instance is created by the ``Container``. This is the default scope.
12 | public static let graph = ObjectScope(storageFactory: GraphStorage.init, description: "graph")
| |- warning: static property 'graph' is not concurrency-safe because non-'Sendable' type 'ObjectScope' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'graph' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | /// An instance provided by the ``Container`` is shared within the ``Container`` and its child `Containers`.
/host/spi-builder-workspace/Sources/Swinject/ObjectScope.swift:14:14: note: class 'ObjectScope' does not conform to the 'Sendable' protocol
12 |
13 | /// Basic implementation of ``ObjectScopeProtocol``.
14 | public class ObjectScope: ObjectScopeProtocol, CustomStringConvertible {
| `- note: class 'ObjectScope' does not conform to the 'Sendable' protocol
15 | public private(set) var description: String
16 | private var storageFactory: () -> InstanceStorage
/host/spi-builder-workspace/Sources/Swinject/ObjectScope.Standard.swift:15:23: warning: static property 'container' is not concurrency-safe because non-'Sendable' type 'ObjectScope' may have shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | /// An instance provided by the ``Container`` is shared within the ``Container`` and its child `Containers`.
15 | public static let container = ObjectScope(storageFactory: PermanentStorage.init, description: "container")
| |- warning: static property 'container' is not concurrency-safe because non-'Sendable' type 'ObjectScope' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'container' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | /// An instance provided by the ``Container`` is shared within the ``Container`` and its child ``Container``s
/host/spi-builder-workspace/Sources/Swinject/ObjectScope.swift:14:14: note: class 'ObjectScope' does not conform to the 'Sendable' protocol
12 |
13 | /// Basic implementation of ``ObjectScopeProtocol``.
14 | public class ObjectScope: ObjectScopeProtocol, CustomStringConvertible {
| `- note: class 'ObjectScope' does not conform to the 'Sendable' protocol
15 | public private(set) var description: String
16 | private var storageFactory: () -> InstanceStorage
/host/spi-builder-workspace/Sources/Swinject/ObjectScope.Standard.swift:20:23: warning: static property 'weak' is not concurrency-safe because non-'Sendable' type 'ObjectScope' may have shared mutable state; this is an error in the Swift 6 language mode
18 | /// as long as there are strong references to given instance. Otherwise new instance is created
19 | /// when resolving the type.
20 | public static let weak = ObjectScope(storageFactory: WeakStorage.init, description: "weak",
| |- warning: static property 'weak' is not concurrency-safe because non-'Sendable' type 'ObjectScope' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'weak' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | parent: ObjectScope.graph)
22 | }
/host/spi-builder-workspace/Sources/Swinject/ObjectScope.swift:14:14: note: class 'ObjectScope' does not conform to the 'Sendable' protocol
12 |
13 | /// Basic implementation of ``ObjectScopeProtocol``.
14 | public class ObjectScope: ObjectScopeProtocol, CustomStringConvertible {
| `- note: class 'ObjectScope' does not conform to the 'Sendable' protocol
15 | public private(set) var description: String
16 | private var storageFactory: () -> InstanceStorage
/host/spi-builder-workspace/Sources/Swinject/ObjectScope.Standard.swift:8:23: warning: static property 'transient' is not concurrency-safe because non-'Sendable' type 'ObjectScope' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// A new instance is always created by the ``Container`` when a type is resolved.
7 | /// The instance is not shared.
8 | public static let transient = ObjectScope(storageFactory: TransientStorage.init, description: "transient")
| |- warning: static property 'transient' is not concurrency-safe because non-'Sendable' type 'ObjectScope' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'transient' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 |
10 | /// Instances are shared only when an object graph is being created,
/host/spi-builder-workspace/Sources/Swinject/ObjectScope.swift:14:14: note: class 'ObjectScope' does not conform to the 'Sendable' protocol
12 |
13 | /// Basic implementation of ``ObjectScopeProtocol``.
14 | public class ObjectScope: ObjectScopeProtocol, CustomStringConvertible {
| `- note: class 'ObjectScope' does not conform to the 'Sendable' protocol
15 | public private(set) var description: String
16 | private var storageFactory: () -> InstanceStorage
/host/spi-builder-workspace/Sources/Swinject/ObjectScope.Standard.swift:12:23: warning: static property 'graph' is not concurrency-safe because non-'Sendable' type 'ObjectScope' may have shared mutable state; this is an error in the Swift 6 language mode
10 | /// Instances are shared only when an object graph is being created,
11 | /// otherwise a new instance is created by the ``Container``. This is the default scope.
12 | public static let graph = ObjectScope(storageFactory: GraphStorage.init, description: "graph")
| |- warning: static property 'graph' is not concurrency-safe because non-'Sendable' type 'ObjectScope' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'graph' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | /// An instance provided by the ``Container`` is shared within the ``Container`` and its child `Containers`.
/host/spi-builder-workspace/Sources/Swinject/ObjectScope.swift:14:14: note: class 'ObjectScope' does not conform to the 'Sendable' protocol
12 |
13 | /// Basic implementation of ``ObjectScopeProtocol``.
14 | public class ObjectScope: ObjectScopeProtocol, CustomStringConvertible {
| `- note: class 'ObjectScope' does not conform to the 'Sendable' protocol
15 | public private(set) var description: String
16 | private var storageFactory: () -> InstanceStorage
/host/spi-builder-workspace/Sources/Swinject/ObjectScope.Standard.swift:15:23: warning: static property 'container' is not concurrency-safe because non-'Sendable' type 'ObjectScope' may have shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | /// An instance provided by the ``Container`` is shared within the ``Container`` and its child `Containers`.
15 | public static let container = ObjectScope(storageFactory: PermanentStorage.init, description: "container")
| |- warning: static property 'container' is not concurrency-safe because non-'Sendable' type 'ObjectScope' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'container' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | /// An instance provided by the ``Container`` is shared within the ``Container`` and its child ``Container``s
/host/spi-builder-workspace/Sources/Swinject/ObjectScope.swift:14:14: note: class 'ObjectScope' does not conform to the 'Sendable' protocol
12 |
13 | /// Basic implementation of ``ObjectScopeProtocol``.
14 | public class ObjectScope: ObjectScopeProtocol, CustomStringConvertible {
| `- note: class 'ObjectScope' does not conform to the 'Sendable' protocol
15 | public private(set) var description: String
16 | private var storageFactory: () -> InstanceStorage
/host/spi-builder-workspace/Sources/Swinject/ObjectScope.Standard.swift:20:23: warning: static property 'weak' is not concurrency-safe because non-'Sendable' type 'ObjectScope' may have shared mutable state; this is an error in the Swift 6 language mode
18 | /// as long as there are strong references to given instance. Otherwise new instance is created
19 | /// when resolving the type.
20 | public static let weak = ObjectScope(storageFactory: WeakStorage.init, description: "weak",
| |- warning: static property 'weak' is not concurrency-safe because non-'Sendable' type 'ObjectScope' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'weak' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | parent: ObjectScope.graph)
22 | }
/host/spi-builder-workspace/Sources/Swinject/ObjectScope.swift:14:14: note: class 'ObjectScope' does not conform to the 'Sendable' protocol
12 |
13 | /// Basic implementation of ``ObjectScopeProtocol``.
14 | public class ObjectScope: ObjectScopeProtocol, CustomStringConvertible {
| `- note: class 'ObjectScope' does not conform to the 'Sendable' protocol
15 | public private(set) var description: String
16 | private var storageFactory: () -> InstanceStorage
/host/spi-builder-workspace/Sources/Swinject/ObjectScope.Standard.swift:8:23: warning: static property 'transient' is not concurrency-safe because non-'Sendable' type 'ObjectScope' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// A new instance is always created by the ``Container`` when a type is resolved.
7 | /// The instance is not shared.
8 | public static let transient = ObjectScope(storageFactory: TransientStorage.init, description: "transient")
| |- warning: static property 'transient' is not concurrency-safe because non-'Sendable' type 'ObjectScope' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'transient' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 |
10 | /// Instances are shared only when an object graph is being created,
/host/spi-builder-workspace/Sources/Swinject/ObjectScope.swift:14:14: note: class 'ObjectScope' does not conform to the 'Sendable' protocol
12 |
13 | /// Basic implementation of ``ObjectScopeProtocol``.
14 | public class ObjectScope: ObjectScopeProtocol, CustomStringConvertible {
| `- note: class 'ObjectScope' does not conform to the 'Sendable' protocol
15 | public private(set) var description: String
16 | private var storageFactory: () -> InstanceStorage
/host/spi-builder-workspace/Sources/Swinject/ObjectScope.Standard.swift:12:23: warning: static property 'graph' is not concurrency-safe because non-'Sendable' type 'ObjectScope' may have shared mutable state; this is an error in the Swift 6 language mode
10 | /// Instances are shared only when an object graph is being created,
11 | /// otherwise a new instance is created by the ``Container``. This is the default scope.
12 | public static let graph = ObjectScope(storageFactory: GraphStorage.init, description: "graph")
| |- warning: static property 'graph' is not concurrency-safe because non-'Sendable' type 'ObjectScope' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'graph' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | /// An instance provided by the ``Container`` is shared within the ``Container`` and its child `Containers`.
/host/spi-builder-workspace/Sources/Swinject/ObjectScope.swift:14:14: note: class 'ObjectScope' does not conform to the 'Sendable' protocol
12 |
13 | /// Basic implementation of ``ObjectScopeProtocol``.
14 | public class ObjectScope: ObjectScopeProtocol, CustomStringConvertible {
| `- note: class 'ObjectScope' does not conform to the 'Sendable' protocol
15 | public private(set) var description: String
16 | private var storageFactory: () -> InstanceStorage
/host/spi-builder-workspace/Sources/Swinject/ObjectScope.Standard.swift:15:23: warning: static property 'container' is not concurrency-safe because non-'Sendable' type 'ObjectScope' may have shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | /// An instance provided by the ``Container`` is shared within the ``Container`` and its child `Containers`.
15 | public static let container = ObjectScope(storageFactory: PermanentStorage.init, description: "container")
| |- warning: static property 'container' is not concurrency-safe because non-'Sendable' type 'ObjectScope' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'container' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | /// An instance provided by the ``Container`` is shared within the ``Container`` and its child ``Container``s
/host/spi-builder-workspace/Sources/Swinject/ObjectScope.swift:14:14: note: class 'ObjectScope' does not conform to the 'Sendable' protocol
12 |
13 | /// Basic implementation of ``ObjectScopeProtocol``.
14 | public class ObjectScope: ObjectScopeProtocol, CustomStringConvertible {
| `- note: class 'ObjectScope' does not conform to the 'Sendable' protocol
15 | public private(set) var description: String
16 | private var storageFactory: () -> InstanceStorage
/host/spi-builder-workspace/Sources/Swinject/ObjectScope.Standard.swift:20:23: warning: static property 'weak' is not concurrency-safe because non-'Sendable' type 'ObjectScope' may have shared mutable state; this is an error in the Swift 6 language mode
18 | /// as long as there are strong references to given instance. Otherwise new instance is created
19 | /// when resolving the type.
20 | public static let weak = ObjectScope(storageFactory: WeakStorage.init, description: "weak",
| |- warning: static property 'weak' is not concurrency-safe because non-'Sendable' type 'ObjectScope' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'weak' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | parent: ObjectScope.graph)
22 | }
/host/spi-builder-workspace/Sources/Swinject/ObjectScope.swift:14:14: note: class 'ObjectScope' does not conform to the 'Sendable' protocol
12 |
13 | /// Basic implementation of ``ObjectScopeProtocol``.
14 | public class ObjectScope: ObjectScopeProtocol, CustomStringConvertible {
| `- note: class 'ObjectScope' does not conform to the 'Sendable' protocol
15 | public private(set) var description: String
16 | private var storageFactory: () -> InstanceStorage
[114/375] Compiling ArgumentParser ArgumentHelp.swift
[115/375] Compiling ArgumentParser ParsableArguments.swift
[116/375] Compiling ArgumentParser FishCompletionsGenerator.swift
[117/375] Compiling ArgumentParser ZshCompletionsGenerator.swift
[118/375] Compiling ArgumentParser Argument.swift
/host/spi-builder-workspace/Sources/Swinject/SwinjectContainer.swift:428:16: warning: static property 'graphIdentifierKey' is not concurrency-safe because non-'Sendable' type 'ServiceKey' may have shared mutable state; this is an error in the Swift 6 language mode
426 |
427 | private extension SwinjectContainer {
428 | static let graphIdentifierKey = ServiceKey(serviceType: GraphIdentifier.self, argumentsType: SwinjectResolver.self)
| |- warning: static property 'graphIdentifierKey' is not concurrency-safe because non-'Sendable' type 'ServiceKey' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'graphIdentifierKey' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
429 | }
430 |
/host/spi-builder-workspace/Sources/Swinject/ServiceKey.swift:16:17: note: consider making struct 'ServiceKey' conform to the 'Sendable' protocol
14 | // MARK: - ServiceKey
15 |
16 | internal struct ServiceKey {
| `- note: consider making struct 'ServiceKey' conform to the 'Sendable' protocol
17 | internal let serviceType: Any.Type
18 | internal let argumentsType: Any.Type
[119/375] Compiling ArgumentParser ArgumentDiscussion.swift
/host/spi-builder-workspace/Sources/Swinject/SwinjectContainer.swift:428:16: warning: static property 'graphIdentifierKey' is not concurrency-safe because non-'Sendable' type 'ServiceKey' may have shared mutable state; this is an error in the Swift 6 language mode
426 |
427 | private extension SwinjectContainer {
428 | static let graphIdentifierKey = ServiceKey(serviceType: GraphIdentifier.self, argumentsType: SwinjectResolver.self)
| |- warning: static property 'graphIdentifierKey' is not concurrency-safe because non-'Sendable' type 'ServiceKey' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'graphIdentifierKey' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
429 | }
430 |
/host/spi-builder-workspace/Sources/Swinject/ServiceKey.swift:16:17: note: consider making struct 'ServiceKey' conform to the 'Sendable' protocol
14 | // MARK: - ServiceKey
15 |
16 | internal struct ServiceKey {
| `- note: consider making struct 'ServiceKey' conform to the 'Sendable' protocol
17 | internal let serviceType: Any.Type
18 | internal let argumentsType: Any.Type
[120/375] Compiling ArgumentParser CommandGroup.swift
[121/375] Compiling ArgumentParser EnumerableFlag.swift
[122/375] Compiling ArgumentParser ExpressibleByArgument.swift
[123/375] Compiling ArgumentParser BashCompletionsGenerator.swift
[124/375] Compiling ArgumentParser CompletionsGenerator.swift
[132/421] Compiling Knit Resolver.swift
/host/spi-builder-workspace/Sources/Knit/Future+Async.swift:6:8: error: no such module 'Combine'
4 | //
5 |
6 | import Combine
| `- error: no such module 'Combine'
7 |
8 | public extension Future {
[133/421] Compiling Knit Container+ServiceCollection.swift
/host/spi-builder-workspace/Sources/Knit/Future+Async.swift:6:8: error: no such module 'Combine'
4 | //
5 |
6 | import Combine
| `- error: no such module 'Combine'
7 |
8 | public extension Future {
[134/421] Compiling Knit Resolver+ServiceCollection.swift
/host/spi-builder-workspace/Sources/Knit/Future+Async.swift:6:8: error: no such module 'Combine'
4 | //
5 |
6 | import Combine
| `- error: no such module 'Combine'
7 |
8 | public extension Future {
/host/spi-builder-workspace/Sources/Knit/Future+Async.swift:6:8: error: no such module 'Combine'
4 | //
5 |
6 | import Combine
| `- error: no such module 'Combine'
7 |
8 | public extension Future {
/host/spi-builder-workspace/Sources/Knit/Future+Async.swift:6:8: error: no such module 'Combine'
4 | //
5 |
6 | import Combine
| `- error: no such module 'Combine'
7 |
8 | public extension Future {
/host/spi-builder-workspace/Sources/Knit/Future+Async.swift:6:8: error: no such module 'Combine'
4 | //
5 |
6 | import Combine
| `- error: no such module 'Combine'
7 |
8 | public extension Future {
[138/425] Compiling ArgumentParser CollectionExtensions.swift
[139/425] Compiling ArgumentParser Mutex.swift
[140/425] Compiling ArgumentParser Platform.swift
[141/425] Compiling ArgumentParser SequenceExtensions.swift
[142/425] Compiling ArgumentParser StringExtensions.swift
[143/425] Compiling ArgumentParser SwiftExtensions.swift
[144/431] Compiling Knit ServiceCollection.swift
/host/spi-builder-workspace/Sources/Knit/Future+Async.swift:6:8: error: no such module 'Combine'
4 | //
5 |
6 | import Combine
| `- error: no such module 'Combine'
7 |
8 | public extension Future {
[145/431] Compiling Knit ServiceCollector.swift
/host/spi-builder-workspace/Sources/Knit/Future+Async.swift:6:8: error: no such module 'Combine'
4 | //
5 |
6 | import Combine
| `- error: no such module 'Combine'
7 |
8 | public extension Future {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[146/431] Emitting module Knit
/host/spi-builder-workspace/Sources/Knit/Future+Async.swift:6:8: error: no such module 'Combine'
4 | //
5 |
6 | import Combine
| `- error: no such module 'Combine'
7 |
8 | public extension Future {
[147/431] Compiling ArgumentParser SplitArguments.swift
[148/431] Compiling ArgumentParser DumpHelpGenerator.swift
[149/431] Compiling ArgumentParser HelpCommand.swift
[150/431] Compiling ArgumentParser HelpGenerator.swift
[151/431] Compiling ArgumentParser MessageInfo.swift
[152/431] Compiling ArgumentParser UsageGenerator.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[153/437] Emitting module Knit
/host/spi-builder-workspace/Sources/Knit/Future+Async.swift:6:8: error: no such module 'Combine'
4 | //
5 |
6 | import Combine
| `- error: no such module 'Combine'
7 |
8 | public extension Future {
[154/437] Compiling Knit KnitModule.swift
/host/spi-builder-workspace/Sources/Knit/Future+Async.swift:6:8: error: no such module 'Combine'
4 | //
5 |
6 | import Combine
| `- error: no such module 'Combine'
7 |
8 | public extension Future {
[155/437] Compiling Knit ModuleAssembler.swift
/host/spi-builder-workspace/Sources/Knit/Future+Async.swift:6:8: error: no such module 'Combine'
4 | //
5 |
6 | import Combine
| `- error: no such module 'Combine'
7 |
8 | public extension Future {
[156/437] Compiling Knit ModuleAssemblerErrorFormatter.swift
/host/spi-builder-workspace/Sources/Knit/Future+Async.swift:6:8: error: no such module 'Combine'
4 | //
5 |
6 | import Combine
| `- error: no such module 'Combine'
7 |
8 | public extension Future {
[157/437] Compiling ArgumentParser InputKey.swift
[158/437] Compiling ArgumentParser InputOrigin.swift
[159/437] Compiling ArgumentParser Name.swift
[160/437] Compiling ArgumentParser Parsed.swift
[161/437] Compiling ArgumentParser ParsedValues.swift
[162/437] Compiling ArgumentParser ParserError.swift
[163/437] Compiling Knit ConcurrencyAttribute.swift
/host/spi-builder-workspace/Sources/Knit/Future+Async.swift:6:8: error: no such module 'Combine'
4 | //
5 |
6 | import Combine
| `- error: no such module 'Combine'
7 |
8 | public extension Future {
[164/437] Compiling Knit Container+MainActorRegistration.swift
/host/spi-builder-workspace/Sources/Knit/Future+Async.swift:6:8: error: no such module 'Combine'
4 | //
5 |
6 | import Combine
| `- error: no such module 'Combine'
7 |
8 | public extension Future {
[165/437] Compiling Knit Container+Registration.swift
/host/spi-builder-workspace/Sources/Knit/Future+Async.swift:6:8: error: no such module 'Combine'
4 | //
5 |
6 | import Combine
| `- error: no such module 'Combine'
7 |
8 | public extension Future {
[166/437] Compiling Knit ModuleAssembly.swift
/host/spi-builder-workspace/Sources/Knit/Future+Async.swift:6:8: error: no such module 'Combine'
4 | //
5 |
6 | import Combine
| `- error: no such module 'Combine'
7 |
8 | public extension Future {
[167/437] Compiling Knit ScopedModuleAssembler.swift
/host/spi-builder-workspace/Sources/Knit/Future+Async.swift:6:8: error: no such module 'Combine'
4 | //
5 |
6 | import Combine
| `- error: no such module 'Combine'
7 |
8 | public extension Future {
[168/437] Compiling Knit Resolver+Additions.swift
/host/spi-builder-workspace/Sources/Knit/Future+Async.swift:6:8: error: no such module 'Combine'
4 | //
5 |
6 | import Combine
| `- error: no such module 'Combine'
7 |
8 | public extension Future {
[169/437] Compiling Knit DependencyBuilder.swift
/host/spi-builder-workspace/Sources/Knit/Future+Async.swift:6:8: error: no such module 'Combine'
4 | //
5 |
6 | import Combine
| `- error: no such module 'Combine'
7 |
8 | public extension Future {
[170/437] Compiling Knit DependencyTree.swift
/host/spi-builder-workspace/Sources/Knit/Future+Async.swift:6:8: error: no such module 'Combine'
4 | //
5 |
6 | import Combine
| `- error: no such module 'Combine'
7 |
8 | public extension Future {
[171/437] Compiling Knit FakeAssembly.swift
/host/spi-builder-workspace/Sources/Knit/Future+Async.swift:6:8: error: no such module 'Combine'
4 | //
5 |
6 | import Combine
| `- error: no such module 'Combine'
7 |
8 | public extension Future {
[172/437] Compiling Knit Future+Async.swift
/host/spi-builder-workspace/Sources/Knit/Future+Async.swift:6:8: error: no such module 'Combine'
4 | //
5 |
6 | import Combine
| `- error: no such module 'Combine'
7 |
8 | public extension Future {
[173/437] Compiling Knit AbstractAssembly.swift
/host/spi-builder-workspace/Sources/Knit/Future+Async.swift:6:8: error: no such module 'Combine'
4 | //
5 |
6 | import Combine
| `- error: no such module 'Combine'
7 |
8 | public extension Future {
[174/437] Compiling Knit Container+AbstractRegistration.swift
/host/spi-builder-workspace/Sources/Knit/Future+Async.swift:6:8: error: no such module 'Combine'
4 | //
5 |
6 | import Combine
| `- error: no such module 'Combine'
7 |
8 | public extension Future {
[175/437] Compiling Knit Container.swift
/host/spi-builder-workspace/Sources/Knit/Future+Async.swift:6:8: error: no such module 'Combine'
4 | //
5 |
6 | import Combine
| `- error: no such module 'Combine'
7 |
8 | public extension Future {
[176/437] Compiling Knit DuplicateRegistrationDetector.swift
/host/spi-builder-workspace/Sources/Knit/Future+Async.swift:6:8: error: no such module 'Combine'
4 | //
5 |
6 | import Combine
| `- error: no such module 'Combine'
7 |
8 | public extension Future {
[177/437] Compiling Knit Exports.swift
/host/spi-builder-workspace/Sources/Knit/Future+Async.swift:6:8: error: no such module 'Combine'
4 | //
5 |
6 | import Combine
| `- error: no such module 'Combine'
7 |
8 | public extension Future {
/host/spi-builder-workspace/Sources/Knit/Future+Async.swift:6:8: error: no such module 'Combine'
4 | //
5 |
6 | import Combine
| `- error: no such module 'Combine'
7 |
8 | public extension Future {
/host/spi-builder-workspace/Sources/Knit/Future+Async.swift:6:8: error: no such module 'Combine'
4 | //
5 |
6 | import Combine
| `- error: no such module 'Combine'
7 |
8 | public extension Future {
/host/spi-builder-workspace/Sources/Knit/Future+Async.swift:6:8: error: no such module 'Combine'
4 | //
5 |
6 | import Combine
| `- error: no such module 'Combine'
7 |
8 | public extension Future {
/host/spi-builder-workspace/Sources/Knit/Future+Async.swift:6:8: error: no such module 'Combine'
4 | //
5 |
6 | import Combine
| `- error: no such module 'Combine'
7 |
8 | public extension Future {
/host/spi-builder-workspace/Sources/Knit/Future+Async.swift:6:8: error: no such module 'Combine'
4 | //
5 |
6 | import Combine
| `- error: no such module 'Combine'
7 |
8 | public extension Future {
/host/spi-builder-workspace/Sources/Knit/Future+Async.swift:6:8: error: no such module 'Combine'
4 | //
5 |
6 | import Combine
| `- error: no such module 'Combine'
7 |
8 | public extension Future {
/host/spi-builder-workspace/Sources/Knit/Future+Async.swift:6:8: error: no such module 'Combine'
4 | //
5 |
6 | import Combine
| `- error: no such module 'Combine'
7 |
8 | public extension Future {
/host/spi-builder-workspace/Sources/Knit/Future+Async.swift:6:8: error: no such module 'Combine'
4 | //
5 |
6 | import Combine
| `- error: no such module 'Combine'
7 |
8 | public extension Future {
/host/spi-builder-workspace/Sources/Knit/Future+Async.swift:6:8: error: no such module 'Combine'
4 | //
5 |
6 | import Combine
| `- error: no such module 'Combine'
7 |
8 | public extension Future {
/host/spi-builder-workspace/Sources/Knit/Future+Async.swift:6:8: error: no such module 'Combine'
4 | //
5 |
6 | import Combine
| `- error: no such module 'Combine'
7 |
8 | public extension Future {
/host/spi-builder-workspace/Sources/Knit/Future+Async.swift:6:8: error: no such module 'Combine'
4 | //
5 |
6 | import Combine
| `- error: no such module 'Combine'
7 |
8 | public extension Future {
/host/spi-builder-workspace/Sources/Knit/Future+Async.swift:6:8: error: no such module 'Combine'
4 | //
5 |
6 | import Combine
| `- error: no such module 'Combine'
7 |
8 | public extension Future {
/host/spi-builder-workspace/Sources/Knit/Future+Async.swift:6:8: error: no such module 'Combine'
4 | //
5 |
6 | import Combine
| `- error: no such module 'Combine'
7 |
8 | public extension Future {
/host/spi-builder-workspace/Sources/Knit/Future+Async.swift:6:8: error: no such module 'Combine'
4 | //
5 |
6 | import Combine
| `- error: no such module 'Combine'
7 |
8 | public extension Future {
/host/spi-builder-workspace/Sources/Knit/Future+Async.swift:6:8: error: no such module 'Combine'
4 | //
5 |
6 | import Combine
| `- error: no such module 'Combine'
7 |
8 | public extension Future {
/host/spi-builder-workspace/Sources/Knit/Future+Async.swift:6:8: error: no such module 'Combine'
4 | //
5 |
6 | import Combine
| `- error: no such module 'Combine'
7 |
8 | public extension Future {
/host/spi-builder-workspace/Sources/Knit/Future+Async.swift:6:8: error: no such module 'Combine'
4 | //
5 |
6 | import Combine
| `- error: no such module 'Combine'
7 |
8 | public extension Future {
/host/spi-builder-workspace/Sources/Knit/Future+Async.swift:6:8: error: no such module 'Combine'
4 | //
5 |
6 | import Combine
| `- error: no such module 'Combine'
7 |
8 | public extension Future {
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:99ea6d26ace67c023f359493a2ac553a612b92a7f2dee009657225f46f43aa0e
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
warning: 'spi-builder-workspace': Invalid Exclude '/host/spi-builder-workspace/Sources/Swinject/Container.Arguments.erb': File not found.
warning: 'spi-builder-workspace': Invalid Exclude '/host/spi-builder-workspace/Sources/Swinject/Resolver.erb': File not found.
warning: 'spi-builder-workspace': found 2 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/Sources/Swinject/SwinjectResolver.erb
/host/spi-builder-workspace/Sources/Swinject/SwinjectContainer.Arguments.erb
[0/1] Planning build
[1/1] Compiling plugin KnitBuildPlugin
[2/2] Compiling plugin GenerateManual
[3/3] Compiling plugin GenerateDoccReference
Building for debugging...
[3/44] Write swift-version-24593BA9C3E375BF.txt
[5/94] Compiling SwiftSyntax510 Empty.swift
[6/94] Emitting module SwiftSyntax510
[7/95] Emitting module SwiftSyntax509
[8/95] Compiling SwiftSyntax509 Empty.swift
[10/96] Compiling SwiftSyntax601 Empty.swift
[11/96] Emitting module SwiftSyntax601
[12/96] Compiling SwiftSyntax600 Empty.swift
[13/96] Emitting module SwiftSyntax600
[14/97] Compiling SwiftSyntax509 Empty.swift
[16/97] Emitting module SwiftSyntax509
[17/97] Compiling SwiftSyntax510 Empty.swift
[18/97] Emitting module SwiftSyntax510
[23/100] Emitting module Swinject
[24/100] Compiling Swinject SwinjectContainer.Logging.swift
[25/100] Compiling Swinject SwinjectContainer.TypeForwarding.swift
[26/102] Compiling Swinject GraphIdentifier.swift
[27/102] Compiling Swinject InstanceStorage.swift
[28/102] Compiling Swinject InstanceWrapper.swift
[29/102] Emitting module Swinject
[30/102] Compiling Swinject SwinjectContainer.swift
[31/102] Compiling Swinject SwinjectResolver.swift
[34/100] Compiling Swinject ObjectScope.Standard.swift
[35/100] Compiling Swinject ObjectScope.swift
[36/100] Compiling Swinject ReadWriteLock.swift
[37/100] Compiling Swinject Behavior.swift
[38/100] Compiling Swinject DebugHelper.swift
[39/100] Compiling Swinject FunctionType.swift
/host/spi-builder-workspace/Sources/Swinject/InstanceStorage.swift:118:50: warning: conditional cast from 'Wrapped' to 'AnyObject' always succeeds
116 | return object as? Wrapped
117 | }
118 | set { object = newValue.flatMap { $0 as? AnyObject } }
| `- warning: conditional cast from 'Wrapped' to 'AnyObject' always succeeds
119 | }
120 |
/host/spi-builder-workspace/Sources/Swinject/InstanceStorage.swift:118:50: warning: conditional cast from 'Wrapped' to 'AnyObject' always succeeds
116 | return object as? Wrapped
117 | }
118 | set { object = newValue.flatMap { $0 as? AnyObject } }
| `- warning: conditional cast from 'Wrapped' to 'AnyObject' always succeeds
119 | }
120 |
/host/spi-builder-workspace/Sources/Swinject/InstanceStorage.swift:118:50: warning: conditional cast from 'Wrapped' to 'AnyObject' always succeeds
116 | return object as? Wrapped
117 | }
118 | set { object = newValue.flatMap { $0 as? AnyObject } }
| `- warning: conditional cast from 'Wrapped' to 'AnyObject' always succeeds
119 | }
120 |
[45/100] Compiling Swinject ThreadSafeDictionary.swift
[46/100] Compiling Swinject _Resolver.swift
/host/spi-builder-workspace/Sources/Swinject/InstanceStorage.swift:118:50: warning: conditional cast from 'Wrapped' to 'AnyObject' always succeeds
116 | return object as? Wrapped
117 | }
118 | set { object = newValue.flatMap { $0 as? AnyObject } }
| `- warning: conditional cast from 'Wrapped' to 'AnyObject' always succeeds
119 | }
120 |
/host/spi-builder-workspace/Sources/Swinject/InstanceStorage.swift:118:50: warning: conditional cast from 'Wrapped' to 'AnyObject' always succeeds
116 | return object as? Wrapped
117 | }
118 | set { object = newValue.flatMap { $0 as? AnyObject } }
| `- warning: conditional cast from 'Wrapped' to 'AnyObject' always succeeds
119 | }
120 |
/host/spi-builder-workspace/Sources/Swinject/InstanceStorage.swift:118:50: warning: conditional cast from 'Wrapped' to 'AnyObject' always succeeds
116 | return object as? Wrapped
117 | }
118 | set { object = newValue.flatMap { $0 as? AnyObject } }
| `- warning: conditional cast from 'Wrapped' to 'AnyObject' always succeeds
119 | }
120 |
[52/101] Compiling Swinject RecursiveLock.swift
[53/101] Compiling Swinject ServiceEntry.TypeForwarding.swift
[54/101] Compiling Swinject ServiceEntry.swift
[55/101] Compiling Swinject ServiceKey.swift
[56/101] Compiling Swinject SwinjectContainer.Arguments.swift
[65/108] Compiling SwiftSyntax601 Empty.swift
[66/108] Emitting module SwiftSyntax600
[67/108] Compiling SwiftSyntax600 Empty.swift
[70/110] Emitting module SwiftSyntax601
error: emit-module command failed with exit code 1 (use -v to see invocation)
[73/280] Emitting module Knit
/host/spi-builder-workspace/Sources/Knit/Future+Async.swift:6:8: error: no such module 'Combine'
4 | //
5 |
6 | import Combine
| `- error: no such module 'Combine'
7 |
8 | public extension Future {
[74/280] Compiling SwiftSyntax SyntaxIdentifier.swift
/host/spi-builder-workspace/Sources/Knit/Future+Async.swift:6:8: error: no such module 'Combine'
4 | //
5 |
6 | import Combine
| `- error: no such module 'Combine'
7 |
8 | public extension Future {
[75/280] Compiling SwiftSyntax SyntaxNodeFactory.swift
/host/spi-builder-workspace/Sources/Knit/Future+Async.swift:6:8: error: no such module 'Combine'
4 | //
5 |
6 | import Combine
| `- error: no such module 'Combine'
7 |
8 | public extension Future {
[76/280] Compiling SwiftSyntax SyntaxNodeStructure.swift
/host/spi-builder-workspace/Sources/Knit/Future+Async.swift:6:8: error: no such module 'Combine'
4 | //
5 |
6 | import Combine
| `- error: no such module 'Combine'
7 |
8 | public extension Future {
[77/280] Compiling SwiftSyntax SyntaxAnyVisitor.swift
/host/spi-builder-workspace/Sources/Knit/Future+Async.swift:6:8: error: no such module 'Combine'
4 | //
5 |
6 | import Combine
| `- error: no such module 'Combine'
7 |
8 | public extension Future {
[78/280] Compiling SwiftSyntax SyntaxBaseNodes.swift
/host/spi-builder-workspace/Sources/Knit/Future+Async.swift:6:8: error: no such module 'Combine'
4 | //
5 |
6 | import Combine
| `- error: no such module 'Combine'
7 |
8 | public extension Future {
[79/280] Compiling SwiftSyntax SyntaxCollections.swift
/host/spi-builder-workspace/Sources/Knit/Future+Async.swift:6:8: error: no such module 'Combine'
4 | //
5 |
6 | import Combine
| `- error: no such module 'Combine'
7 |
8 | public extension Future {
/host/spi-builder-workspace/Sources/Knit/Future+Async.swift:6:8: error: no such module 'Combine'
4 | //
5 |
6 | import Combine
| `- error: no such module 'Combine'
7 |
8 | public extension Future {
/host/spi-builder-workspace/Sources/Knit/Future+Async.swift:6:8: error: no such module 'Combine'
4 | //
5 |
6 | import Combine
| `- error: no such module 'Combine'
7 |
8 | public extension Future {
/host/spi-builder-workspace/Sources/Knit/Future+Async.swift:6:8: error: no such module 'Combine'
4 | //
5 |
6 | import Combine
| `- error: no such module 'Combine'
7 |
8 | public extension Future {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[83/284] Emitting module Knit
/host/spi-builder-workspace/Sources/Knit/Future+Async.swift:6:8: error: no such module 'Combine'
4 | //
5 |
6 | import Combine
| `- error: no such module 'Combine'
7 |
8 | public extension Future {
[84/284] Compiling SwiftSyntax Identifier.swift
/host/spi-builder-workspace/Sources/Knit/Future+Async.swift:6:8: error: no such module 'Combine'
4 | //
5 |
6 | import Combine
| `- error: no such module 'Combine'
7 |
8 | public extension Future {
[85/284] Compiling SwiftSyntax MemoryLayout.swift
/host/spi-builder-workspace/Sources/Knit/Future+Async.swift:6:8: error: no such module 'Combine'
4 | //
5 |
6 | import Combine
| `- error: no such module 'Combine'
7 |
8 | public extension Future {
[86/284] Compiling SwiftSyntax MissingNodeInitializers.swift
/host/spi-builder-workspace/Sources/Knit/Future+Async.swift:6:8: error: no such module 'Combine'
4 | //
5 |
6 | import Combine
| `- error: no such module 'Combine'
7 |
8 | public extension Future {
/host/spi-builder-workspace/Sources/Knit/Future+Async.swift:6:8: error: no such module 'Combine'
4 | //
5 |
6 | import Combine
| `- error: no such module 'Combine'
7 |
8 | public extension Future {
/host/spi-builder-workspace/Sources/Knit/Future+Async.swift:6:8: error: no such module 'Combine'
4 | //
5 |
6 | import Combine
| `- error: no such module 'Combine'
7 |
8 | public extension Future {
/host/spi-builder-workspace/Sources/Knit/Future+Async.swift:6:8: error: no such module 'Combine'
4 | //
5 |
6 | import Combine
| `- error: no such module 'Combine'
7 |
8 | public extension Future {
[90/284] Compiling SwiftSyntax RawSyntax.swift
/host/spi-builder-workspace/Sources/Knit/Future+Async.swift:6:8: error: no such module 'Combine'
4 | //
5 |
6 | import Combine
| `- error: no such module 'Combine'
7 |
8 | public extension Future {
[91/284] Compiling SwiftSyntax RawSyntaxLayoutView.swift
/host/spi-builder-workspace/Sources/Knit/Future+Async.swift:6:8: error: no such module 'Combine'
4 | //
5 |
6 | import Combine
| `- error: no such module 'Combine'
7 |
8 | public extension Future {
[92/284] Compiling SwiftSyntax RawSyntaxNodeProtocol.swift
/host/spi-builder-workspace/Sources/Knit/Future+Async.swift:6:8: error: no such module 'Combine'
4 | //
5 |
6 | import Combine
| `- error: no such module 'Combine'
7 |
8 | public extension Future {
[93/284] Compiling SwiftSyntax RawSyntaxTokenView.swift
/host/spi-builder-workspace/Sources/Knit/Future+Async.swift:6:8: error: no such module 'Combine'
4 | //
5 |
6 | import Combine
| `- error: no such module 'Combine'
7 |
8 | public extension Future {
[94/284] Compiling SwiftSyntax SourceEdit.swift
/host/spi-builder-workspace/Sources/Knit/Future+Async.swift:6:8: error: no such module 'Combine'
4 | //
5 |
6 | import Combine
| `- error: no such module 'Combine'
7 |
8 | public extension Future {
[95/284] Compiling SwiftSyntax SourceLength.swift
/host/spi-builder-workspace/Sources/Knit/Future+Async.swift:6:8: error: no such module 'Combine'
4 | //
5 |
6 | import Combine
| `- error: no such module 'Combine'
7 |
8 | public extension Future {
[96/284] Compiling SwiftSyntax Trivia.swift
/host/spi-builder-workspace/Sources/Knit/Future+Async.swift:6:8: error: no such module 'Combine'
4 | //
5 |
6 | import Combine
| `- error: no such module 'Combine'
7 |
8 | public extension Future {
[97/284] Compiling SwiftSyntax Utils.swift
/host/spi-builder-workspace/Sources/Knit/Future+Async.swift:6:8: error: no such module 'Combine'
4 | //
5 |
6 | import Combine
| `- error: no such module 'Combine'
7 |
8 | public extension Future {
[98/284] Compiling SwiftSyntax ChildNameForKeyPath.swift
/host/spi-builder-workspace/Sources/Knit/Future+Async.swift:6:8: error: no such module 'Combine'
4 | //
5 |
6 | import Combine
| `- error: no such module 'Combine'
7 |
8 | public extension Future {
[99/284] Compiling SwiftSyntax Keyword.swift
/host/spi-builder-workspace/Sources/Knit/Future+Async.swift:6:8: error: no such module 'Combine'
4 | //
5 |
6 | import Combine
| `- error: no such module 'Combine'
7 |
8 | public extension Future {
[100/284] Compiling SwiftSyntax RenamedChildrenCompatibility.swift
/host/spi-builder-workspace/Sources/Knit/Future+Async.swift:6:8: error: no such module 'Combine'
4 | //
5 |
6 | import Combine
| `- error: no such module 'Combine'
7 |
8 | public extension Future {
[101/284] Compiling SwiftSyntax RenamedNodesCompatibility.swift
/host/spi-builder-workspace/Sources/Knit/Future+Async.swift:6:8: error: no such module 'Combine'
4 | //
5 |
6 | import Combine
| `- error: no such module 'Combine'
7 |
8 | public extension Future {
[102/284] Emitting module ArgumentParserToolInfo
[103/284] Compiling ArgumentParserToolInfo ToolInfo.swift
/host/spi-builder-workspace/Sources/Knit/Future+Async.swift:6:8: error: no such module 'Combine'
4 | //
5 |
6 | import Combine
| `- error: no such module 'Combine'
7 |
8 | public extension Future {
/host/spi-builder-workspace/Sources/Knit/Future+Async.swift:6:8: error: no such module 'Combine'
4 | //
5 |
6 | import Combine
| `- error: no such module 'Combine'
7 |
8 | public extension Future {
/host/spi-builder-workspace/Sources/Knit/Future+Async.swift:6:8: error: no such module 'Combine'
4 | //
5 |
6 | import Combine
| `- error: no such module 'Combine'
7 |
8 | public extension Future {
/host/spi-builder-workspace/Sources/Knit/Future+Async.swift:6:8: error: no such module 'Combine'
4 | //
5 |
6 | import Combine
| `- error: no such module 'Combine'
7 |
8 | public extension Future {
/host/spi-builder-workspace/Sources/Knit/Future+Async.swift:6:8: error: no such module 'Combine'
4 | //
5 |
6 | import Combine
| `- error: no such module 'Combine'
7 |
8 | public extension Future {
/host/spi-builder-workspace/Sources/Knit/Future+Async.swift:6:8: error: no such module 'Combine'
4 | //
5 |
6 | import Combine
| `- error: no such module 'Combine'
7 |
8 | public extension Future {
[111/284] Compiling Knit ServiceCollection.swift
/host/spi-builder-workspace/Sources/Knit/Future+Async.swift:6:8: error: no such module 'Combine'
4 | //
5 |
6 | import Combine
| `- error: no such module 'Combine'
7 |
8 | public extension Future {
[112/284] Compiling Knit ServiceCollector.swift
/host/spi-builder-workspace/Sources/Knit/Future+Async.swift:6:8: error: no such module 'Combine'
4 | //
5 |
6 | import Combine
| `- error: no such module 'Combine'
7 |
8 | public extension Future {
/host/spi-builder-workspace/Sources/Knit/Future+Async.swift:6:8: error: no such module 'Combine'
4 | //
5 |
6 | import Combine
| `- error: no such module 'Combine'
7 |
8 | public extension Future {
/host/spi-builder-workspace/Sources/Knit/Future+Async.swift:6:8: error: no such module 'Combine'
4 | //
5 |
6 | import Combine
| `- error: no such module 'Combine'
7 |
8 | public extension Future {
/host/spi-builder-workspace/Sources/Knit/Future+Async.swift:6:8: error: no such module 'Combine'
4 | //
5 |
6 | import Combine
| `- error: no such module 'Combine'
7 |
8 | public extension Future {
/host/spi-builder-workspace/Sources/Knit/Future+Async.swift:6:8: error: no such module 'Combine'
4 | //
5 |
6 | import Combine
| `- error: no such module 'Combine'
7 |
8 | public extension Future {
/host/spi-builder-workspace/Sources/Knit/Future+Async.swift:6:8: error: no such module 'Combine'
4 | //
5 |
6 | import Combine
| `- error: no such module 'Combine'
7 |
8 | public extension Future {
/host/spi-builder-workspace/Sources/Knit/Future+Async.swift:6:8: error: no such module 'Combine'
4 | //
5 |
6 | import Combine
| `- error: no such module 'Combine'
7 |
8 | public extension Future {
/host/spi-builder-workspace/Sources/Knit/Future+Async.swift:6:8: error: no such module 'Combine'
4 | //
5 |
6 | import Combine
| `- error: no such module 'Combine'
7 |
8 | public extension Future {
/host/spi-builder-workspace/Sources/Knit/Future+Async.swift:6:8: error: no such module 'Combine'
4 | //
5 |
6 | import Combine
| `- error: no such module 'Combine'
7 |
8 | public extension Future {
/host/spi-builder-workspace/Sources/Knit/Future+Async.swift:6:8: error: no such module 'Combine'
4 | //
5 |
6 | import Combine
| `- error: no such module 'Combine'
7 |
8 | public extension Future {
[122/284] Emitting module ArgumentParserToolInfo
BUILD FAILURE 6.1 linux