The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build Knit, reference main (c18e0f), with Swift 6.1 for Wasm on 20 Jun 2025 01:10:44 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
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 c18e0f9 Merge pull request #288 from cashapp/skorulis/dependency-tree
Cloned https://github.com/cashapp/knit.git
Revision (git rev-parse @):
c18e0f9609190aba5d3074eccc69b18c545bbf47
SUCCESS checkout https://github.com/cashapp/knit.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/cashapp/knit.git
https://github.com/cashapp/knit.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swift-syntax",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "510.0.2",
            "upper_bound" : "602.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-syntax.git"
    },
    {
      "identity" : "swift-argument-parser",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.4.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-argument-parser"
    }
  ],
  "manifest_display_name" : "Knit",
  "name" : "Knit",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "14.0"
    },
    {
      "name" : "ios",
      "version" : "16.0"
    }
  ],
  "products" : [
    {
      "name" : "Knit",
      "targets" : [
        "Knit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "KnitMacros",
      "targets" : [
        "KnitMacros"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "KnitTesting",
      "targets" : [
        "KnitTesting"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "KnitBuildPlugin",
      "targets" : [
        "KnitBuildPlugin"
      ],
      "type" : {
        "plugin" : null
      }
    },
    {
      "name" : "knit-cli",
      "targets" : [
        "knit-cli"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "KnitMacrosImplementations",
      "targets" : [
        "KnitMacrosImplementations"
      ],
      "type" : {
        "macro" : null
      }
    }
  ],
  "swift_languages_versions" : [
    "5"
  ],
  "targets" : [
    {
      "c99name" : "knit_cli",
      "module_type" : "SwiftTarget",
      "name" : "knit-cli",
      "path" : "Sources/knit-cli",
      "product_dependencies" : [
        "SwiftSyntax",
        "ArgumentParser"
      ],
      "product_memberships" : [
        "KnitBuildPlugin",
        "knit-cli"
      ],
      "sources" : [
        "GenCommand.swift",
        "KnitCommand.swift"
      ],
      "target_dependencies" : [
        "KnitCodeGen"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "SwinjectTests",
      "module_type" : "SwiftTarget",
      "name" : "SwinjectTests",
      "path" : "Tests/SwinjectTests",
      "sources" : [
        "Animal.swift",
        "BehaviorFakes.swift",
        "Circularity.swift",
        "ContainerTests.Arguments.swift",
        "ContainerTests.Behavior.swift",
        "ContainerTests.Circularity.swift",
        "ContainerTests.CustomScope.swift",
        "ContainerTests.CustomStringConvertible.swift",
        "ContainerTests.DebugHelper.swift",
        "ContainerTests.GraphCaching.swift",
        "ContainerTests.Speed.swift",
        "ContainerTests.TypeForwarding.swift",
        "ContainerTests.swift",
        "EmploymentAssembly.swift",
        "Food.swift",
        "LazyTests.swift",
        "Person.swift",
        "ProviderTests.swift",
        "ServiceEntryTests.swift",
        "ServiceKeyTests.swift",
        "SynchronizedTests.swift",
        "WeakStorageTests.swift"
      ],
      "target_dependencies" : [
        "Swinject"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Swinject",
      "module_type" : "SwiftTarget",
      "name" : "Swinject",
      "path" : "Sources/Swinject",
      "product_memberships" : [
        "Knit",
        "KnitTesting"
      ],
      "sources" : [
        "Behavior.swift",
        "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",
        "NamedRegistrationGroupSourceTests.swift",
        "NamedRegistrationGroupTests.swift",
        "RegistrationEncodingTests.swift",
        "RegistrationParsingTests.swift",
        "TypeNamerTests.swift",
        "TypeSafetySourceFileTests.swift",
        "UnitTestSourceFileTests.swift"
      ],
      "target_dependencies" : [
        "KnitCodeGen"
      ],
      "type" : "test"
    },
    {
      "c99name" : "KnitCodeGen",
      "module_type" : "SwiftTarget",
      "name" : "KnitCodeGen",
      "path" : "Sources/KnitCodeGen",
      "product_dependencies" : [
        "SwiftSyntax",
        "SwiftParser",
        "SwiftSyntaxBuilder"
      ],
      "product_memberships" : [
        "KnitMacros",
        "KnitBuildPlugin",
        "knit-cli",
        "KnitMacrosImplementations"
      ],
      "sources" : [
        "AssemblyParser.swift",
        "AssemblyParsing.swift",
        "Configuration.swift",
        "ConfigurationSet.swift",
        "FunctionCallRegistrationParsing.swift",
        "HeaderSourceFile.swift",
        "KnitDirectives.swift",
        "KnitModuleSourceFile.swift",
        "ModuleImport.swift",
        "ModuleNameExtractor.swift",
        "NamedRegistrationGroup.swift",
        "Registration.swift",
        "RegistrationIntoCollection.swift",
        "SourceFileSyntax+Write.swift",
        "SourceGen/NamedRegistrationGroup+SourceCode.swift",
        "SwiftSyntax+Helpers.swift",
        "SyntaxError.swift",
        "TriviaProvider.swift",
        "TypeNamer.swift",
        "TypeSafetySourceFile.swift",
        "UnitTestSourceFile.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "KnitBuildPlugin",
      "module_type" : "PluginTarget",
      "name" : "KnitBuildPlugin",
      "path" : "Plugins/KnitBuildPlugin",
      "plugin_capability" : {
        "type" : "buildTool"
      },
      "product_memberships" : [
        "KnitBuildPlugin"
      ],
      "sources" : [
        "KnitBuildPlugin.swift"
      ],
      "target_dependencies" : [
        "knit-cli"
      ],
      "type" : "plugin"
    },
    {
      "c99name" : "Knit",
      "module_type" : "SwiftTarget",
      "name" : "Knit",
      "path" : "Sources/Knit",
      "product_memberships" : [
        "Knit",
        "KnitTesting"
      ],
      "sources" : [
        "ConcurrencyAttribute.swift",
        "Container+MainActorRegistration.swift",
        "Container+Registration.swift",
        "Container.swift",
        "DuplicateRegistrationDetector.swift",
        "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-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -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
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:8f9255989265d824b88e7d572b1a334a0dc9b701075ede1970390db95d315c35
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/apple/swift-syntax.git
Fetching https://github.com/apple/swift-argument-parser
[1/15380] Fetching swift-argument-parser
[15381/86286] Fetching swift-argument-parser, swift-syntax
Fetched https://github.com/apple/swift-argument-parser from cache (0.99s)
[9218/70906] Fetching swift-syntax
Fetched https://github.com/apple/swift-syntax.git from cache (6.74s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.5.1 (7.66s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 601.0.1 (5.16s)
Creating working copy for https://github.com/apple/swift-syntax.git
Working copy of https://github.com/apple/swift-syntax.git resolved at 601.0.1
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.1
[1/1] Compiling plugin KnitBuildPlugin
[2/2] Compiling plugin GenerateManual
Building for debugging...
[2/86] Write sources
[43/86] Compiling _SwiftSyntaxCShims dummy.c
[45/86] Write swift-version-24593BA9C3E375BF.txt
[47/136] 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
[48/136] 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
<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
[50/136] 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
/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
[52/140] Emitting module SwiftSyntax601
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[53/140] Compiling SwiftSyntax601 Empty.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[54/140] 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
[56/142] 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
[60/144] 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/144] 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/145] Emitting module SwiftSyntax601
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[63/145] Compiling SwiftSyntax601 Empty.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[64/145] Compiling Swinject ReadWriteLock.swift
[65/145] Compiling Swinject RecursiveLock.swift
[68/152] Wrapping AST for SwiftSyntax601 for debugging
[70/152] 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
[71/152] 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
[71/153] Wrapping AST for SwiftSyntax600 for debugging
[73/155] Compiling SwiftSyntax509 Empty.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[74/155] Emitting module SwiftSyntax509
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[74/156] Wrapping AST for SwiftSyntax510 for debugging
[77/156] Wrapping AST for SwiftSyntax600 for debugging
[78/156] Wrapping AST for SwiftSyntax601 for debugging
[79/156] Wrapping AST for SwiftSyntax510 for debugging
[80/156] Wrapping AST for SwiftSyntax509 for debugging
[83/284] Emitting module ArgumentParserToolInfo
[84/284] Compiling ArgumentParserToolInfo ToolInfo.swift
[86/285] Emitting module ArgumentParserToolInfo
[87/285] Compiling ArgumentParserToolInfo ToolInfo.swift
[88/296] Wrapping AST for ArgumentParserToolInfo for debugging
[91/362] Compiling ArgumentParser ParsableCommand.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
[92/362] Compiling ArgumentParser ArgumentDecoder.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
[93/362] Compiling ArgumentParser ArgumentDefinition.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
[94/362] Compiling ArgumentParser FishCompletionsGenerator.swift
[95/362] Compiling ArgumentParser ZshCompletionsGenerator.swift
[96/362] Compiling ArgumentParser ExpressibleByArgument.swift
[97/362] Compiling ArgumentParser ParsableArguments.swift
[98/362] Compiling ArgumentParser ParsableArgumentsValidation.swift
[99/362] Compiling ArgumentParser ArgumentSet.swift
/host/spi-builder-workspace/Sources/Swinject/ReadWriteLock.swift:11:9: error: cannot find 'pthread_rwlock_init' in scope
 9 |
10 |     init() {
11 |         pthread_rwlock_init(&lock, nil)
   |         `- error: cannot find 'pthread_rwlock_init' in scope
12 |     }
13 |
/host/spi-builder-workspace/Sources/Swinject/ReadWriteLock.swift:11:36: error: 'nil' requires a contextual type
 9 |
10 |     init() {
11 |         pthread_rwlock_init(&lock, nil)
   |                                    `- error: 'nil' requires a contextual type
12 |     }
13 |
/host/spi-builder-workspace/Sources/Swinject/ReadWriteLock.swift:15:9: error: cannot find 'pthread_rwlock_destroy' in scope
13 |
14 |     deinit {
15 |         pthread_rwlock_destroy(&lock)
   |         `- error: cannot find 'pthread_rwlock_destroy' in scope
16 |     }
17 |
/host/spi-builder-workspace/Sources/Swinject/ReadWriteLock.swift:19:9: error: cannot find 'pthread_rwlock_rdlock' in scope
17 |
18 |     @inlinable public func read<T>(_ block: () throws -> T) rethrows -> T {
19 |         pthread_rwlock_rdlock(&lock)
   |         `- error: cannot find 'pthread_rwlock_rdlock' in scope
20 |         defer { pthread_rwlock_unlock(&lock) }
21 |
/host/spi-builder-workspace/Sources/Swinject/ReadWriteLock.swift:20:17: error: cannot find 'pthread_rwlock_unlock' in scope
18 |     @inlinable public func read<T>(_ block: () throws -> T) rethrows -> T {
19 |         pthread_rwlock_rdlock(&lock)
20 |         defer { pthread_rwlock_unlock(&lock) }
   |                 `- error: cannot find 'pthread_rwlock_unlock' in scope
21 |
22 |         return try block()
/host/spi-builder-workspace/Sources/Swinject/ReadWriteLock.swift:26:9: error: cannot find 'pthread_rwlock_wrlock' in scope
24 |
25 |     @inlinable public func write<T>(_ block: () throws -> T) rethrows -> T {
26 |         pthread_rwlock_wrlock(&lock)
   |         `- error: cannot find 'pthread_rwlock_wrlock' in scope
27 |         defer { pthread_rwlock_unlock(&lock) }
28 |
/host/spi-builder-workspace/Sources/Swinject/ReadWriteLock.swift:27:17: error: cannot find 'pthread_rwlock_unlock' in scope
25 |     @inlinable public func write<T>(_ block: () throws -> T) rethrows -> T {
26 |         pthread_rwlock_wrlock(&lock)
27 |         defer { pthread_rwlock_unlock(&lock) }
   |                 `- error: cannot find 'pthread_rwlock_unlock' in scope
28 |
29 |         return try block()
[100/362] Compiling ArgumentParser CommandParser.swift
/host/spi-builder-workspace/Sources/Swinject/ReadWriteLock.swift:11:9: error: cannot find 'pthread_rwlock_init' in scope
 9 |
10 |     init() {
11 |         pthread_rwlock_init(&lock, nil)
   |         `- error: cannot find 'pthread_rwlock_init' in scope
12 |     }
13 |
/host/spi-builder-workspace/Sources/Swinject/ReadWriteLock.swift:11:36: error: 'nil' requires a contextual type
 9 |
10 |     init() {
11 |         pthread_rwlock_init(&lock, nil)
   |                                    `- error: 'nil' requires a contextual type
12 |     }
13 |
/host/spi-builder-workspace/Sources/Swinject/ReadWriteLock.swift:15:9: error: cannot find 'pthread_rwlock_destroy' in scope
13 |
14 |     deinit {
15 |         pthread_rwlock_destroy(&lock)
   |         `- error: cannot find 'pthread_rwlock_destroy' in scope
16 |     }
17 |
/host/spi-builder-workspace/Sources/Swinject/ReadWriteLock.swift:19:9: error: cannot find 'pthread_rwlock_rdlock' in scope
17 |
18 |     @inlinable public func read<T>(_ block: () throws -> T) rethrows -> T {
19 |         pthread_rwlock_rdlock(&lock)
   |         `- error: cannot find 'pthread_rwlock_rdlock' in scope
20 |         defer { pthread_rwlock_unlock(&lock) }
21 |
/host/spi-builder-workspace/Sources/Swinject/ReadWriteLock.swift:20:17: error: cannot find 'pthread_rwlock_unlock' in scope
18 |     @inlinable public func read<T>(_ block: () throws -> T) rethrows -> T {
19 |         pthread_rwlock_rdlock(&lock)
20 |         defer { pthread_rwlock_unlock(&lock) }
   |                 `- error: cannot find 'pthread_rwlock_unlock' in scope
21 |
22 |         return try block()
/host/spi-builder-workspace/Sources/Swinject/ReadWriteLock.swift:26:9: error: cannot find 'pthread_rwlock_wrlock' in scope
24 |
25 |     @inlinable public func write<T>(_ block: () throws -> T) rethrows -> T {
26 |         pthread_rwlock_wrlock(&lock)
   |         `- error: cannot find 'pthread_rwlock_wrlock' in scope
27 |         defer { pthread_rwlock_unlock(&lock) }
28 |
/host/spi-builder-workspace/Sources/Swinject/ReadWriteLock.swift:27:17: error: cannot find 'pthread_rwlock_unlock' in scope
25 |     @inlinable public func write<T>(_ block: () throws -> T) rethrows -> T {
26 |         pthread_rwlock_wrlock(&lock)
27 |         defer { pthread_rwlock_unlock(&lock) }
   |                 `- error: cannot find 'pthread_rwlock_unlock' in scope
28 |
29 |         return try block()
[101/362] Compiling ArgumentParser BashCompletionsGenerator.swift
[102/362] Compiling ArgumentParser CompletionsGenerator.swift
[103/362] Compiling ArgumentParser ArgumentVisibility.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
[104/362] Compiling ArgumentParser CompletionKind.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
[105/362] Compiling ArgumentParser Errors.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
[106/362] Compiling ArgumentParser Flag.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 |
[107/362] Compiling ArgumentParser NameSpecification.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 |
[108/362] Compiling ArgumentParser Option.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 |
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:8f9255989265d824b88e7d572b1a334a0dc9b701075ede1970390db95d315c35
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
[1/1] Compiling plugin KnitBuildPlugin
[2/2] Compiling plugin GenerateManual
Building for debugging...
[2/43] Write swift-version-24593BA9C3E375BF.txt
[4/72] Compiling SwiftSyntax601 Empty.swift
[5/93] Emitting module SwiftSyntax601
[7/94] Emitting module SwiftSyntax510
[8/94] Compiling SwiftSyntax510 Empty.swift
[9/95] Compiling SwiftSyntax600 Empty.swift
[11/95] Emitting module SwiftSyntax600
[13/95] Emitting module SwiftSyntax510
[14/95] Compiling SwiftSyntax600 Empty.swift
[15/95] Emitting module SwiftSyntax600
[16/95] Compiling SwiftSyntax510 Empty.swift
[17/97] Compiling SwiftSyntax601 Empty.swift
[18/98] Compiling Swinject ReadWriteLock.swift
/host/spi-builder-workspace/Sources/Swinject/ReadWriteLock.swift:11:9: error: cannot find 'pthread_rwlock_init' in scope
 9 |
10 |     init() {
11 |         pthread_rwlock_init(&lock, nil)
   |         `- error: cannot find 'pthread_rwlock_init' in scope
12 |     }
13 |
/host/spi-builder-workspace/Sources/Swinject/ReadWriteLock.swift:11:36: error: 'nil' requires a contextual type
 9 |
10 |     init() {
11 |         pthread_rwlock_init(&lock, nil)
   |                                    `- error: 'nil' requires a contextual type
12 |     }
13 |
/host/spi-builder-workspace/Sources/Swinject/ReadWriteLock.swift:15:9: error: cannot find 'pthread_rwlock_destroy' in scope
13 |
14 |     deinit {
15 |         pthread_rwlock_destroy(&lock)
   |         `- error: cannot find 'pthread_rwlock_destroy' in scope
16 |     }
17 |
/host/spi-builder-workspace/Sources/Swinject/ReadWriteLock.swift:19:9: error: cannot find 'pthread_rwlock_rdlock' in scope
17 |
18 |     @inlinable public func read<T>(_ block: () throws -> T) rethrows -> T {
19 |         pthread_rwlock_rdlock(&lock)
   |         `- error: cannot find 'pthread_rwlock_rdlock' in scope
20 |         defer { pthread_rwlock_unlock(&lock) }
21 |
/host/spi-builder-workspace/Sources/Swinject/ReadWriteLock.swift:20:17: error: cannot find 'pthread_rwlock_unlock' in scope
18 |     @inlinable public func read<T>(_ block: () throws -> T) rethrows -> T {
19 |         pthread_rwlock_rdlock(&lock)
20 |         defer { pthread_rwlock_unlock(&lock) }
   |                 `- error: cannot find 'pthread_rwlock_unlock' in scope
21 |
22 |         return try block()
/host/spi-builder-workspace/Sources/Swinject/ReadWriteLock.swift:26:9: error: cannot find 'pthread_rwlock_wrlock' in scope
24 |
25 |     @inlinable public func write<T>(_ block: () throws -> T) rethrows -> T {
26 |         pthread_rwlock_wrlock(&lock)
   |         `- error: cannot find 'pthread_rwlock_wrlock' in scope
27 |         defer { pthread_rwlock_unlock(&lock) }
28 |
/host/spi-builder-workspace/Sources/Swinject/ReadWriteLock.swift:27:17: error: cannot find 'pthread_rwlock_unlock' in scope
25 |     @inlinable public func write<T>(_ block: () throws -> T) rethrows -> T {
26 |         pthread_rwlock_wrlock(&lock)
27 |         defer { pthread_rwlock_unlock(&lock) }
   |                 `- error: cannot find 'pthread_rwlock_unlock' in scope
28 |
29 |         return try block()
[19/98] Compiling Swinject RecursiveLock.swift
/host/spi-builder-workspace/Sources/Swinject/ReadWriteLock.swift:11:9: error: cannot find 'pthread_rwlock_init' in scope
 9 |
10 |     init() {
11 |         pthread_rwlock_init(&lock, nil)
   |         `- error: cannot find 'pthread_rwlock_init' in scope
12 |     }
13 |
/host/spi-builder-workspace/Sources/Swinject/ReadWriteLock.swift:11:36: error: 'nil' requires a contextual type
 9 |
10 |     init() {
11 |         pthread_rwlock_init(&lock, nil)
   |                                    `- error: 'nil' requires a contextual type
12 |     }
13 |
/host/spi-builder-workspace/Sources/Swinject/ReadWriteLock.swift:15:9: error: cannot find 'pthread_rwlock_destroy' in scope
13 |
14 |     deinit {
15 |         pthread_rwlock_destroy(&lock)
   |         `- error: cannot find 'pthread_rwlock_destroy' in scope
16 |     }
17 |
/host/spi-builder-workspace/Sources/Swinject/ReadWriteLock.swift:19:9: error: cannot find 'pthread_rwlock_rdlock' in scope
17 |
18 |     @inlinable public func read<T>(_ block: () throws -> T) rethrows -> T {
19 |         pthread_rwlock_rdlock(&lock)
   |         `- error: cannot find 'pthread_rwlock_rdlock' in scope
20 |         defer { pthread_rwlock_unlock(&lock) }
21 |
/host/spi-builder-workspace/Sources/Swinject/ReadWriteLock.swift:20:17: error: cannot find 'pthread_rwlock_unlock' in scope
18 |     @inlinable public func read<T>(_ block: () throws -> T) rethrows -> T {
19 |         pthread_rwlock_rdlock(&lock)
20 |         defer { pthread_rwlock_unlock(&lock) }
   |                 `- error: cannot find 'pthread_rwlock_unlock' in scope
21 |
22 |         return try block()
/host/spi-builder-workspace/Sources/Swinject/ReadWriteLock.swift:26:9: error: cannot find 'pthread_rwlock_wrlock' in scope
24 |
25 |     @inlinable public func write<T>(_ block: () throws -> T) rethrows -> T {
26 |         pthread_rwlock_wrlock(&lock)
   |         `- error: cannot find 'pthread_rwlock_wrlock' in scope
27 |         defer { pthread_rwlock_unlock(&lock) }
28 |
/host/spi-builder-workspace/Sources/Swinject/ReadWriteLock.swift:27:17: error: cannot find 'pthread_rwlock_unlock' in scope
25 |     @inlinable public func write<T>(_ block: () throws -> T) rethrows -> T {
26 |         pthread_rwlock_wrlock(&lock)
27 |         defer { pthread_rwlock_unlock(&lock) }
   |                 `- error: cannot find 'pthread_rwlock_unlock' in scope
28 |
29 |         return try block()
[21/100] Compiling Swinject FunctionType.swift
/host/spi-builder-workspace/Sources/Swinject/InstanceStorage.swift:118:50: warning: conditional cast from 'Wrapped' to 'AnyObject' always succeeds
116 |                 return object as? Wrapped
117 |             }
118 |             set { object = newValue.flatMap { $0 as? AnyObject } }
    |                                                  `- warning: conditional cast from 'Wrapped' to 'AnyObject' always succeeds
119 |         }
120 |
[22/100] 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 |
[23/100] 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 |
[26/102] Compiling Swinject InstanceWrapper.swift
[27/102] Compiling Swinject ObjectScope.Standard.swift
[28/102] Compiling Swinject ObjectScope.swift
[30/102] Compiling SwiftSyntax509 Empty.swift
[34/101] Emitting module Swinject
[35/101] Emitting module SwiftSyntax509
[36/104] Compiling Swinject Resolver.swift
[37/104] Compiling Swinject ServiceEntry.TypeForwarding.swift
[38/104] Compiling Swinject ServiceEntry.swift
[39/104] Compiling Swinject ServiceKey.swift
[40/104] Compiling Swinject ThreadSafeDictionary.swift
[41/104] Compiling Swinject _Resolver.swift
[42/104] Emitting module ArgumentParserToolInfo
[44/105] Compiling SwiftSyntax509 Empty.swift
[45/105] Emitting module SwiftSyntax509
[46/106] Compiling Swinject Behavior.swift
[47/106] Compiling Swinject Container.Arguments.swift
[48/106] Compiling Swinject Container.Logging.swift
[49/106] Compiling Swinject Container.TypeForwarding.swift
[50/106] Compiling Swinject Container.swift
[51/106] Compiling Swinject DebugHelper.swift
[52/106] Emitting module Swinject
BUILD FAILURE 6.1 wasm