Build Information
Failed to build Knit, reference main (bda48d
), with Swift 6.1 for Linux on 2 May 2025 04:35:26 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" 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.61.3
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/cashapp/knit.git
Reference: main
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/cashapp/knit
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at bda48db Merge pull request #278 from cashapp/bradfol/module-mismatch
Cloned https://github.com/cashapp/knit.git
Revision (git rev-parse @):
bda48dbf13e13362a501f74660d5371825f80ef5
SUCCESS checkout https://github.com/cashapp/knit.git at main
========================================
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" : "601.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",
"Container.Arguments.swift",
"Container.Logging.swift",
"Container.TypeForwarding.swift",
"Container.swift",
"DebugHelper.swift",
"FunctionType.swift",
"GraphIdentifier.swift",
"InstanceStorage.swift",
"InstanceWrapper.swift",
"ObjectScope.Standard.swift",
"ObjectScope.swift",
"ReadWriteLock.swift",
"RecursiveLock.swift",
"Resolver.swift",
"ServiceEntry.TypeForwarding.swift",
"ServiceEntry.swift",
"ServiceKey.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",
"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",
"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",
"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",
"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" : "5.10"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/apple/swift-syntax.git
[1/14956] Fetching swift-argument-parser
[14957/85247] Fetching swift-argument-parser, swift-syntax
Fetched https://github.com/apple/swift-argument-parser from cache (1.03s)
[6327/70291] Fetching swift-syntax
Fetched https://github.com/apple/swift-syntax.git from cache (3.87s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.5.0 (4.32s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 600.0.1 (1.95s)
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.5.0
Creating working copy for https://github.com/apple/swift-syntax.git
Working copy of https://github.com/apple/swift-syntax.git resolved at 600.0.1
[1/1] Compiling plugin KnitBuildPlugin
[2/2] Compiling plugin GenerateManual
Building for debugging...
[2/82] Write sources
[41/82] Compiling _SwiftSyntaxCShims dummy.c
[43/82] Write swift-version-24593BA9C3E375BF.txt
[45/115] 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
[46/115] 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
[47/116] 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
[48/116] Emitting module ArgumentParserToolInfo
[49/116] Compiling ArgumentParserToolInfo ToolInfo.swift
[50/116] 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
[51/118] 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 |
[52/118] 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 |
[53/118] 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 |
[55/120] 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
[56/120] 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
[58/121] 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
[60/122] 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
[61/122] 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
[62/123] 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
[63/123] 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
[64/123] Compiling Swinject Resolver.swift
[65/123] Compiling Swinject ServiceEntry.TypeForwarding.swift
[70/143] Wrapping AST for SwiftSyntax600 for debugging
[71/143] Wrapping AST for SwiftSyntax510 for debugging
[73/145] Wrapping AST for SwiftSyntax600 for debugging
[74/217] Wrapping AST for SwiftSyntax509 for debugging
[76/311] Emitting module Swinject
/host/spi-builder-workspace/Sources/Swinject/Container.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/Container.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 Container {
428 | static let graphIdentifierKey = ServiceKey(serviceType: GraphIdentifier.self, argumentsType: Resolver.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
[77/313] Compiling SwiftSyntax Convenience.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 |
[78/313] Compiling SwiftSyntax CustomTraits.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 |
[79/313] Compiling SwiftSyntax Identifier.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 |
[79/313] Wrapping AST for SwiftSyntax509 for debugging
[81/313] Compiling SwiftSyntax SourcePresence.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
[82/313] Compiling SwiftSyntax SwiftSyntaxCompatibility.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
[83/313] Compiling SwiftSyntax Syntax.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
[83/313] Wrapping AST for ArgumentParserToolInfo for debugging
[85/313] Emitting module ArgumentParserToolInfo
[86/313] Compiling ArgumentParserToolInfo ToolInfo.swift
[87/314] Wrapping AST for ArgumentParserToolInfo for debugging
[89/332] Compiling ArgumentParser CompletionKind.swift
[90/332] Compiling ArgumentParser Errors.swift
[91/332] Compiling ArgumentParser Flag.swift
[92/332] Compiling ArgumentParser NameSpecification.swift
[93/332] Compiling ArgumentParser Option.swift
[94/332] Compiling ArgumentParser BashCompletionsGenerator.swift
[95/357] Compiling ArgumentParser ArgumentHelp.swift
[96/357] Compiling ArgumentParser ExpressibleByArgument.swift
[97/357] Emitting module Swinject
/host/spi-builder-workspace/Sources/Swinject/Container.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/Container.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 Container {
428 | static let graphIdentifierKey = ServiceKey(serviceType: GraphIdentifier.self, argumentsType: Resolver.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
[98/357] Compiling ArgumentParser CommandGroup.swift
/host/spi-builder-workspace/Sources/Swinject/Container.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 |
[99/357] Compiling ArgumentParser EnumerableFlag.swift
/host/spi-builder-workspace/Sources/Swinject/Container.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 |
[100/357] Compiling ArgumentParser ArgumentVisibility.swift
/host/spi-builder-workspace/Sources/Swinject/Container.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 |
[101/357] Compiling ArgumentParser OptionGroup.swift
/host/spi-builder-workspace/Sources/Swinject/Container.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 Container {
428 | static let graphIdentifierKey = ServiceKey(serviceType: GraphIdentifier.self, argumentsType: Resolver.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
[102/357] Compiling ArgumentParser AsyncParsableCommand.swift
/host/spi-builder-workspace/Sources/Swinject/Container.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 Container {
428 | static let graphIdentifierKey = ServiceKey(serviceType: GraphIdentifier.self, argumentsType: Resolver.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
[103/357] Compiling ArgumentParser CommandConfiguration.swift
/host/spi-builder-workspace/Sources/Swinject/Container.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 Container {
428 | static let graphIdentifierKey = ServiceKey(serviceType: GraphIdentifier.self, argumentsType: Resolver.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/Container.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 Container {
428 | static let graphIdentifierKey = ServiceKey(serviceType: GraphIdentifier.self, argumentsType: Resolver.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/Container.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 Container {
428 | static let graphIdentifierKey = ServiceKey(serviceType: GraphIdentifier.self, argumentsType: Resolver.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/Container.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 Container {
428 | static let graphIdentifierKey = ServiceKey(serviceType: GraphIdentifier.self, argumentsType: Resolver.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/357] Compiling ArgumentParser CompletionsGenerator.swift
[108/357] Compiling ArgumentParser FishCompletionsGenerator.swift
[109/357] Compiling ArgumentParser ParsableArguments.swift
[110/357] Compiling ArgumentParser ParsableArgumentsValidation.swift
[111/357] Compiling ArgumentParser ZshCompletionsGenerator.swift
[112/357] Compiling ArgumentParser Argument.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
/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/Container.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/Container.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/Container.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 |
[127/359] Emitting module ArgumentParser
<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
<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
<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
<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
<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
[148/414] Compiling Knit ModuleAssembler.swift
[149/414] Compiling Knit ModuleAssemblerErrorFormatter.swift
[150/414] Compiling Knit ModuleAssembly.swift
[151/414] Compiling Knit ScopedModuleAssembler.swift
[152/414] Compiling Knit Resolver+Additions.swift
[153/414] 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 {
[154/414] 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 {
[157/418] 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 {
[158/418] 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 {
[159/418] 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 {
/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 {
[162/418] 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 {
/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)
[166/418] 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 {
error: emit-module command failed with exit code 1 (use -v to see invocation)
/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 {
[171/418] 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 {
[172/418] 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 {
[173/418] 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 {
[174/418] Emitting module ArgumentParser
/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 {
[184/418] Compiling ArgumentParser ArgumentDefinition.swift
[185/418] Compiling ArgumentParser ArgumentSet.swift
[186/418] Compiling ArgumentParser CommandParser.swift
[187/418] Compiling ArgumentParser InputKey.swift
[188/418] Compiling ArgumentParser InputOrigin.swift
[189/418] Compiling ArgumentParser DumpHelpGenerator.swift
[190/418] Compiling ArgumentParser HelpCommand.swift
[191/418] Compiling ArgumentParser HelpGenerator.swift
[192/418] Compiling ArgumentParser MessageInfo.swift
[193/418] Compiling ArgumentParser UsageGenerator.swift
[194/418] 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 {
[195/418] 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 {
[196/418] 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 {
[197/418] 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 {
[198/418] 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 {
[199/418] 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 {
/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 {
[206/418] 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 {
[207/418] 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 {
<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-0":/host -w "$PWD" 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:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
[0/1] Planning build
[1/1] Compiling plugin KnitBuildPlugin
[2/2] Compiling plugin GenerateManual
Building for debugging...
[2/41] Write swift-version-24593BA9C3E375BF.txt
[4/91] Compiling SwiftSyntax600 Empty.swift
[5/91] Emitting module SwiftSyntax600
[6/91] Compiling SwiftSyntax510 Empty.swift
[7/92] Emitting module SwiftSyntax509
[8/92] Compiling SwiftSyntax509 Empty.swift
[9/92] Compiling Swinject ReadWriteLock.swift
[10/92] Compiling Swinject RecursiveLock.swift
[11/92] Compiling SwiftSyntax510 Empty.swift
[12/92] Emitting module SwiftSyntax510
[14/96] Emitting module SwiftSyntax600
[16/97] Emitting module SwiftSyntax509
[17/97] Compiling SwiftSyntax509 Empty.swift
[18/98] Compiling SwiftSyntax600 Empty.swift
[19/99] Compiling Swinject Resolver.swift
[20/99] Compiling Swinject ServiceEntry.TypeForwarding.swift
[21/99] Compiling Swinject ServiceEntry.swift
[22/99] Compiling Swinject ServiceKey.swift
[26/95] Compiling Swinject FunctionType.swift
[27/95] Compiling Swinject GraphIdentifier.swift
[28/95] Compiling Swinject InstanceStorage.swift
[29/95] 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 |
[30/95] 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 |
[31/95] 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 |
[40/97] Compiling Swinject InstanceWrapper.swift
[41/97] Compiling Swinject ObjectScope.Standard.swift
[42/97] Compiling Swinject ObjectScope.swift
[43/99] Emitting module Swinject
/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 |
[50/99] Compiling Swinject ThreadSafeDictionary.swift
[51/99] Compiling Swinject _Resolver.swift
[52/99] Emitting module Swinject
[53/151] Compiling SwiftSyntax SyntaxNodeFactory.swift
[54/151] Compiling SwiftSyntax SyntaxNodeStructure.swift
[55/227] Compiling SwiftSyntax Assert.swift
[56/227] Compiling SwiftSyntax BumpPtrAllocator.swift
[57/227] Compiling SwiftSyntax CommonAncestor.swift
[58/227] Compiling SwiftSyntax Convenience.swift
[59/227] Compiling SwiftSyntax CustomTraits.swift
[60/227] Compiling SwiftSyntax Identifier.swift
[65/229] Emitting module ArgumentParserToolInfo
[66/229] Compiling ArgumentParserToolInfo ToolInfo.swift
[69/269] Emitting module ArgumentParserToolInfo
[70/271] Compiling ArgumentParserToolInfo ToolInfo.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[71/272] 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 {
[73/273] 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 {
[74/273] 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 {
[75/273] 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 {
[76/273] 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 {
[77/275] 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 {
[78/275] 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)
[79/275] 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 {
/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 {
[82/275] 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 {
[83/275] 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 {
[84/275] 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 {
[85/275] 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 {
[86/275] 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 {
[87/275] 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 {
[88/275] 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 {
[89/309] Compiling ArgumentParser ExpressibleByArgument.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 {
[90/309] Compiling ArgumentParser ParsableArguments.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/309] Compiling ArgumentParser ParsableArgumentsValidation.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/351] Compiling ArgumentParser ArgumentVisibility.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/351] Compiling ArgumentParser CompletionKind.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/351] Compiling ArgumentParser Errors.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/351] Compiling ArgumentParser Flag.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/351] Compiling ArgumentParser NameSpecification.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/351] Compiling ArgumentParser Option.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/351] Compiling ArgumentParser OptionGroup.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/351] Compiling ArgumentParser AsyncParsableCommand.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/351] Compiling ArgumentParser CommandConfiguration.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/351] Compiling ArgumentParser ParsableCommand.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/351] Compiling ArgumentParser ArgumentDecoder.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 {
[109/351] Compiling ArgumentParser BashCompletionsGenerator.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 {
[110/351] Compiling ArgumentParser CompletionsGenerator.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 {
[111/351] Compiling ArgumentParser FishCompletionsGenerator.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 {
BUILD FAILURE 6.1 linux