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 (19e8a0), with Swift 6.1 for Wasm on 3 Sep 2025 12:46:49 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.67.1
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 19e8a09 Merge pull request #304 from cashapp/skorulis/swinject-import
Cloned https://github.com/cashapp/knit.git
Revision (git rev-parse @):
19e8a09377829c08f9032f907e984e001c8b3f57
SUCCESS checkout https://github.com/cashapp/knit.git at 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",
        "DebugHelper.swift",
        "FunctionType.swift",
        "GraphIdentifier.swift",
        "InstanceStorage.swift",
        "InstanceWrapper.swift",
        "ObjectScope.Standard.swift",
        "ObjectScope.swift",
        "ReadWriteLock.swift",
        "RecursiveLock.swift",
        "ServiceEntry.TypeForwarding.swift",
        "ServiceEntry.swift",
        "ServiceKey.swift",
        "SwinjectContainer.Arguments.swift",
        "SwinjectContainer.Logging.swift",
        "SwinjectContainer.TypeForwarding.swift",
        "SwinjectContainer.swift",
        "SwinjectResolver.swift",
        "ThreadSafeDictionary.swift",
        "_Resolver.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "KnitTests",
      "module_type" : "SwiftTarget",
      "name" : "KnitTests",
      "path" : "Tests/KnitTests",
      "sources" : [
        "AbstractRegistrationTests.swift",
        "ComplexDependencyTests.swift",
        "DependencyBuilderTests.swift",
        "DependencyTreeTests.swift",
        "DuplicateRegistrationDetectorTests.swift",
        "FakeAssemblyTests.swift",
        "GeneratedModuleAssemblyTests.swift",
        "MainActorTests.swift",
        "ModuleAssemblerErrorFormatterTests.swift",
        "ModuleAssemblerTests.swift",
        "ModuleAssemblyOverrideTests.swift",
        "ModuleAssemblyScopingTests.swift",
        "ModuleCycleTests.swift",
        "ScopedModuleAssemblerTests.swift",
        "ServiceCollectorTests.swift",
        "SynchronizationTests.swift",
        "TestResolver.swift"
      ],
      "target_dependencies" : [
        "Knit"
      ],
      "type" : "test"
    },
    {
      "c99name" : "KnitTesting",
      "module_type" : "SwiftTarget",
      "name" : "KnitTesting",
      "path" : "Sources/KnitTesting",
      "product_memberships" : [
        "KnitTesting"
      ],
      "sources" : [
        "Resolver+Asserts.swift"
      ],
      "target_dependencies" : [
        "Swinject",
        "Knit"
      ],
      "type" : "library"
    },
    {
      "c99name" : "KnitMacrosTests",
      "module_type" : "SwiftTarget",
      "name" : "KnitMacrosTests",
      "path" : "Tests/KnitMacrosTests",
      "product_dependencies" : [
        "SwiftSyntaxMacrosTestSupport"
      ],
      "sources" : [
        "ResolvableTests.swift",
        "SwinjectResolutionTests.swift"
      ],
      "target_dependencies" : [
        "KnitMacrosImplementations",
        "Knit",
        "KnitMacros",
        "KnitCodeGen",
        "Swinject"
      ],
      "type" : "test"
    },
    {
      "c99name" : "KnitMacrosImplementations",
      "module_type" : "SwiftTarget",
      "name" : "KnitMacrosImplementations",
      "path" : "Sources/KnitMacrosImplementations",
      "product_dependencies" : [
        "SwiftSyntaxMacros",
        "SwiftCompilerPlugin"
      ],
      "product_memberships" : [
        "KnitMacros",
        "KnitMacrosImplementations"
      ],
      "sources" : [
        "KnitMacrosPlugin.swift",
        "ResolvableMacro.swift"
      ],
      "target_dependencies" : [
        "KnitCodeGen"
      ],
      "type" : "macro"
    },
    {
      "c99name" : "KnitMacros",
      "module_type" : "SwiftTarget",
      "name" : "KnitMacros",
      "path" : "Sources/KnitMacros",
      "product_memberships" : [
        "KnitMacros"
      ],
      "sources" : [
        "KnitMacros.swift",
        "MacroPropertyWrappers.swift"
      ],
      "target_dependencies" : [
        "KnitMacrosImplementations"
      ],
      "type" : "library"
    },
    {
      "c99name" : "KnitCodeGenTests",
      "module_type" : "SwiftTarget",
      "name" : "KnitCodeGenTests",
      "path" : "Tests/KnitCodeGenTests",
      "sources" : [
        "AssemblyParsingTests.swift",
        "ConfigurationSetTests.swift",
        "HeaderSourceFileTests.swift",
        "KnitDirectivesTests.swift",
        "KnitModuleSourceFileTests.swift",
        "ModuleImportTests.swift",
        "ModuleNameExtractorTests.swift",
        "NamedRegistrationGroupSourceTests.swift",
        "NamedRegistrationGroupTests.swift",
        "RegistrationEncodingTests.swift",
        "RegistrationParsingTests.swift",
        "TypeNamerTests.swift",
        "TypeSafetySourceFileTests.swift",
        "UnitTestSourceFileTests.swift"
      ],
      "target_dependencies" : [
        "KnitCodeGen"
      ],
      "type" : "test"
    },
    {
      "c99name" : "KnitCodeGen",
      "module_type" : "SwiftTarget",
      "name" : "KnitCodeGen",
      "path" : "Sources/KnitCodeGen",
      "product_dependencies" : [
        "SwiftSyntax",
        "SwiftParser",
        "SwiftSyntaxBuilder"
      ],
      "product_memberships" : [
        "KnitMacros",
        "KnitBuildPlugin",
        "knit-cli",
        "KnitMacrosImplementations"
      ],
      "sources" : [
        "AssemblyParser.swift",
        "AssemblyParsing.swift",
        "Configuration.swift",
        "ConfigurationSet.swift",
        "FunctionCallRegistrationParsing.swift",
        "HeaderSourceFile.swift",
        "KnitDirectives.swift",
        "KnitModuleSourceFile.swift",
        "ModuleImport.swift",
        "ModuleNameExtractor.swift",
        "NamedRegistrationGroup.swift",
        "Registration.swift",
        "RegistrationIntoCollection.swift",
        "SourceFileSyntax+Write.swift",
        "SourceGen/NamedRegistrationGroup+SourceCode.swift",
        "SwiftSyntax+Helpers.swift",
        "SyntaxError.swift",
        "TriviaProvider.swift",
        "TypeNamer.swift",
        "TypeSafetySourceFile.swift",
        "UnitTestSourceFile.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "KnitBuildPlugin",
      "module_type" : "PluginTarget",
      "name" : "KnitBuildPlugin",
      "path" : "Plugins/KnitBuildPlugin",
      "plugin_capability" : {
        "type" : "buildTool"
      },
      "product_memberships" : [
        "KnitBuildPlugin"
      ],
      "sources" : [
        "KnitBuildPlugin.swift"
      ],
      "target_dependencies" : [
        "knit-cli"
      ],
      "type" : "plugin"
    },
    {
      "c99name" : "Knit",
      "module_type" : "SwiftTarget",
      "name" : "Knit",
      "path" : "Sources/Knit",
      "product_memberships" : [
        "Knit",
        "KnitTesting"
      ],
      "sources" : [
        "ConcurrencyAttribute.swift",
        "Container+MainActorRegistration.swift",
        "Container+Registration.swift",
        "Container.swift",
        "DuplicateRegistrationDetector.swift",
        "Exports.swift",
        "Future+Async.swift",
        "Module/AbstractAssembly.swift",
        "Module/Container+AbstractRegistration.swift",
        "Module/DependencyBuilder.swift",
        "Module/DependencyTree.swift",
        "Module/FakeAssembly.swift",
        "Module/KnitModule.swift",
        "Module/ModuleAssembler.swift",
        "Module/ModuleAssemblerErrorFormatter.swift",
        "Module/ModuleAssembly.swift",
        "Module/ScopedModuleAssembler.swift",
        "Resolver+Additions.swift",
        "Resolver.swift",
        "ServiceCollection/Container+ServiceCollection.swift",
        "ServiceCollection/Resolver+ServiceCollection.swift",
        "ServiceCollection/ServiceCollection.swift",
        "ServiceCollection/ServiceCollector.swift"
      ],
      "target_dependencies" : [
        "Swinject"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
warning: 'spi-builder-workspace': Invalid Exclude '/host/spi-builder-workspace/Sources/Swinject/Resolver.erb': File not found.
warning: 'spi-builder-workspace': Invalid Exclude '/host/spi-builder-workspace/Sources/Swinject/Container.Arguments.erb': File not found.
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images: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:eb0758f51dbd6991fb9e51dedbfbcbec142ffc0d3b9b8ad91fa19d35e5136f0a
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/apple/swift-syntax.git
[1/71848] Fetching swift-syntax
[1438/87539] Fetching swift-syntax, swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (7.21s)
Fetched https://github.com/apple/swift-syntax.git from cache (7.27s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.6.1 (8.62s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 601.0.1 (2.22s)
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.6.1
warning: 'spi-builder-workspace': Invalid Exclude '/host/spi-builder-workspace/Sources/Swinject/Container.Arguments.erb': File not found.
warning: 'spi-builder-workspace': Invalid Exclude '/host/spi-builder-workspace/Sources/Swinject/Resolver.erb': File not found.
warning: 'spi-builder-workspace': found 2 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/Sources/Swinject/SwinjectResolver.erb
    /host/spi-builder-workspace/Sources/Swinject/SwinjectContainer.Arguments.erb
[1/1] Compiling plugin KnitBuildPlugin
[2/2] Compiling plugin GenerateManual
[3/3] Compiling plugin GenerateDoccReference
Building for debugging...
[3/87] Write sources
[44/87] Compiling _SwiftSyntaxCShims dummy.c
[46/87] Write swift-version-24593BA9C3E375BF.txt
[48/137] Emitting module ArgumentParserToolInfo
[49/137] Emitting module Swinject
/host/spi-builder-workspace/Sources/Swinject/ObjectScope.Standard.swift:8:23: warning: static property 'transient' is not concurrency-safe because non-'Sendable' type 'ObjectScope' may have shared mutable state; this is an error in the Swift 6 language mode
 6 |     /// A new instance is always created by the ``Container`` when a type is resolved.
 7 |     /// The instance is not shared.
 8 |     public static let transient = ObjectScope(storageFactory: TransientStorage.init, description: "transient")
   |                       |- warning: static property 'transient' is not concurrency-safe because non-'Sendable' type 'ObjectScope' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'transient' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 9 |
10 |     /// Instances are shared only when an object graph is being created,
/host/spi-builder-workspace/Sources/Swinject/ObjectScope.swift:14:14: note: class 'ObjectScope' does not conform to the 'Sendable' protocol
12 |
13 | /// Basic implementation of ``ObjectScopeProtocol``.
14 | public class ObjectScope: ObjectScopeProtocol, CustomStringConvertible {
   |              `- note: class 'ObjectScope' does not conform to the 'Sendable' protocol
15 |     public private(set) var description: String
16 |     private var storageFactory: () -> InstanceStorage
/host/spi-builder-workspace/Sources/Swinject/ObjectScope.Standard.swift:12:23: warning: static property 'graph' is not concurrency-safe because non-'Sendable' type 'ObjectScope' may have shared mutable state; this is an error in the Swift 6 language mode
10 |     /// Instances are shared only when an object graph is being created,
11 |     /// otherwise a new instance is created by the ``Container``. This is the default scope.
12 |     public static let graph = ObjectScope(storageFactory: GraphStorage.init, description: "graph")
   |                       |- warning: static property 'graph' is not concurrency-safe because non-'Sendable' type 'ObjectScope' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'graph' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 |     /// An instance provided by the ``Container`` is shared within the ``Container`` and its child `Containers`.
/host/spi-builder-workspace/Sources/Swinject/ObjectScope.swift:14:14: note: class 'ObjectScope' does not conform to the 'Sendable' protocol
12 |
13 | /// Basic implementation of ``ObjectScopeProtocol``.
14 | public class ObjectScope: ObjectScopeProtocol, CustomStringConvertible {
   |              `- note: class 'ObjectScope' does not conform to the 'Sendable' protocol
15 |     public private(set) var description: String
16 |     private var storageFactory: () -> InstanceStorage
/host/spi-builder-workspace/Sources/Swinject/ObjectScope.Standard.swift:15:23: warning: static property 'container' is not concurrency-safe because non-'Sendable' type 'ObjectScope' may have shared mutable state; this is an error in the Swift 6 language mode
13 |
14 |     /// An instance provided by the ``Container`` is shared within the ``Container`` and its child `Containers`.
15 |     public static let container = ObjectScope(storageFactory: PermanentStorage.init, description: "container")
   |                       |- warning: static property 'container' is not concurrency-safe because non-'Sendable' type 'ObjectScope' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'container' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 |     /// An instance provided by the ``Container`` is shared within the ``Container`` and its child ``Container``s
/host/spi-builder-workspace/Sources/Swinject/ObjectScope.swift:14:14: note: class 'ObjectScope' does not conform to the 'Sendable' protocol
12 |
13 | /// Basic implementation of ``ObjectScopeProtocol``.
14 | public class ObjectScope: ObjectScopeProtocol, CustomStringConvertible {
   |              `- note: class 'ObjectScope' does not conform to the 'Sendable' protocol
15 |     public private(set) var description: String
16 |     private var storageFactory: () -> InstanceStorage
/host/spi-builder-workspace/Sources/Swinject/ObjectScope.Standard.swift:20:23: warning: static property 'weak' is not concurrency-safe because non-'Sendable' type 'ObjectScope' may have shared mutable state; this is an error in the Swift 6 language mode
18 |     /// as long as there are strong references to given instance. Otherwise new instance is created
19 |     /// when resolving the type.
20 |     public static let weak = ObjectScope(storageFactory: WeakStorage.init, description: "weak",
   |                       |- warning: static property 'weak' is not concurrency-safe because non-'Sendable' type 'ObjectScope' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'weak' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 |                                          parent: ObjectScope.graph)
22 | }
/host/spi-builder-workspace/Sources/Swinject/ObjectScope.swift:14:14: note: class 'ObjectScope' does not conform to the 'Sendable' protocol
12 |
13 | /// Basic implementation of ``ObjectScopeProtocol``.
14 | public class ObjectScope: ObjectScopeProtocol, CustomStringConvertible {
   |              `- note: class 'ObjectScope' does not conform to the 'Sendable' protocol
15 |     public private(set) var description: String
16 |     private var storageFactory: () -> InstanceStorage
/host/spi-builder-workspace/Sources/Swinject/SwinjectContainer.Logging.swift:20:13: warning: var '_loggingFunction' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
18 | }
19 |
20 | private var _loggingFunction: LoggingFunctionType? = { print($0) }
   |             |- warning: var '_loggingFunction' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |             |- note: convert '_loggingFunction' to a 'let' constant to make 'Sendable' shared state immutable
   |             |- note: add '@MainActor' to make var '_loggingFunction' part of global actor 'MainActor'
   |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 |
/host/spi-builder-workspace/Sources/Swinject/SwinjectContainer.swift:428:16: warning: static property 'graphIdentifierKey' is not concurrency-safe because non-'Sendable' type 'ServiceKey' may have shared mutable state; this is an error in the Swift 6 language mode
426 |
427 | private extension SwinjectContainer {
428 |     static let graphIdentifierKey = ServiceKey(serviceType: GraphIdentifier.self, argumentsType: SwinjectResolver.self)
    |                |- warning: static property 'graphIdentifierKey' is not concurrency-safe because non-'Sendable' type 'ServiceKey' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'graphIdentifierKey' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
429 | }
430 |
/host/spi-builder-workspace/Sources/Swinject/ServiceKey.swift:16:17: note: consider making struct 'ServiceKey' conform to the 'Sendable' protocol
14 | // MARK: - ServiceKey
15 |
16 | internal struct ServiceKey {
   |                 `- note: consider making struct 'ServiceKey' conform to the 'Sendable' protocol
17 |     internal let serviceType: Any.Type
18 |     internal let argumentsType: Any.Type
[50/139] 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
[51/139] 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
[52/139] Emitting module SwiftSyntax600
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[53/139] Compiling SwiftSyntax600 Empty.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[54/141] Compiling Swinject SwinjectContainer.Logging.swift
/host/spi-builder-workspace/Sources/Swinject/SwinjectContainer.Logging.swift:20:13: warning: var '_loggingFunction' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
18 | }
19 |
20 | private var _loggingFunction: LoggingFunctionType? = { print($0) }
   |             |- warning: var '_loggingFunction' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |             |- note: convert '_loggingFunction' to a 'let' constant to make 'Sendable' shared state immutable
   |             |- note: add '@MainActor' to make var '_loggingFunction' part of global actor 'MainActor'
   |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 |
[55/141] Compiling Swinject SwinjectContainer.TypeForwarding.swift
/host/spi-builder-workspace/Sources/Swinject/SwinjectContainer.Logging.swift:20:13: warning: var '_loggingFunction' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
18 | }
19 |
20 | private var _loggingFunction: LoggingFunctionType? = { print($0) }
   |             |- warning: var '_loggingFunction' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |             |- note: convert '_loggingFunction' to a 'let' constant to make 'Sendable' shared state immutable
   |             |- note: add '@MainActor' to make var '_loggingFunction' part of global actor 'MainActor'
   |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 |
[56/141] 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
[57/141] 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
[59/142] Compiling ArgumentParserToolInfo ToolInfo.swift
[60/143] 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
[61/143] 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
[64/144] 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
[65/144] 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
[68/151] Wrapping AST for SwiftSyntax601 for debugging
[70/153] 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/153] 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
[72/154] 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
[73/154] 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/155] 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
[75/155] 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
[75/156] Wrapping AST for SwiftSyntax600 for debugging
[79/200] Wrapping AST for ArgumentParserToolInfo for debugging
[80/200] Wrapping AST for SwiftSyntax601 for debugging
[81/200] Wrapping AST for SwiftSyntax509 for debugging
[82/243] Wrapping AST for SwiftSyntax510 for debugging
[83/261] Wrapping AST for SwiftSyntax600 for debugging
[84/328] Wrapping AST for SwiftSyntax510 for debugging
[85/328] Wrapping AST for SwiftSyntax509 for debugging
[87/328] Emitting module ArgumentParser
[88/334] Compiling SwiftSyntax RawSyntax.swift
[89/334] Compiling SwiftSyntax RawSyntaxLayoutView.swift
[90/336] Compiling SwiftSyntax RawSyntaxNodeProtocol.swift
/host/spi-builder-workspace/Sources/Swinject/SwinjectContainer.Logging.swift:20:13: warning: var '_loggingFunction' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
18 | }
19 |
20 | private var _loggingFunction: LoggingFunctionType? = { print($0) }
   |             |- warning: var '_loggingFunction' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |             |- note: convert '_loggingFunction' to a 'let' constant to make 'Sendable' shared state immutable
   |             |- note: add '@MainActor' to make var '_loggingFunction' part of global actor 'MainActor'
   |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 |
[91/336] Compiling SwiftSyntax RawSyntaxTokenView.swift
/host/spi-builder-workspace/Sources/Swinject/SwinjectContainer.Logging.swift:20:13: warning: var '_loggingFunction' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
18 | }
19 |
20 | private var _loggingFunction: LoggingFunctionType? = { print($0) }
   |             |- warning: var '_loggingFunction' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |             |- note: convert '_loggingFunction' to a 'let' constant to make 'Sendable' shared state immutable
   |             |- note: add '@MainActor' to make var '_loggingFunction' part of global actor 'MainActor'
   |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 |
[92/336] Compiling SwiftSyntax SourceEdit.swift
/host/spi-builder-workspace/Sources/Swinject/SwinjectContainer.swift:428:16: warning: static property 'graphIdentifierKey' is not concurrency-safe because non-'Sendable' type 'ServiceKey' may have shared mutable state; this is an error in the Swift 6 language mode
426 |
427 | private extension SwinjectContainer {
428 |     static let graphIdentifierKey = ServiceKey(serviceType: GraphIdentifier.self, argumentsType: SwinjectResolver.self)
    |                |- warning: static property 'graphIdentifierKey' is not concurrency-safe because non-'Sendable' type 'ServiceKey' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'graphIdentifierKey' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
429 | }
430 |
/host/spi-builder-workspace/Sources/Swinject/ServiceKey.swift:16:17: note: consider making struct 'ServiceKey' conform to the 'Sendable' protocol
14 | // MARK: - ServiceKey
15 |
16 | internal struct ServiceKey {
   |                 `- note: consider making struct 'ServiceKey' conform to the 'Sendable' protocol
17 |     internal let serviceType: Any.Type
18 |     internal let argumentsType: Any.Type
[93/336] Compiling SwiftSyntax SourceLength.swift
/host/spi-builder-workspace/Sources/Swinject/SwinjectContainer.swift:428:16: warning: static property 'graphIdentifierKey' is not concurrency-safe because non-'Sendable' type 'ServiceKey' may have shared mutable state; this is an error in the Swift 6 language mode
426 |
427 | private extension SwinjectContainer {
428 |     static let graphIdentifierKey = ServiceKey(serviceType: GraphIdentifier.self, argumentsType: SwinjectResolver.self)
    |                |- warning: static property 'graphIdentifierKey' is not concurrency-safe because non-'Sendable' type 'ServiceKey' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'graphIdentifierKey' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
429 | }
430 |
/host/spi-builder-workspace/Sources/Swinject/ServiceKey.swift:16:17: note: consider making struct 'ServiceKey' conform to the 'Sendable' protocol
14 | // MARK: - ServiceKey
15 |
16 | internal struct ServiceKey {
   |                 `- note: consider making struct 'ServiceKey' conform to the 'Sendable' protocol
17 |     internal let serviceType: Any.Type
18 |     internal let argumentsType: Any.Type
[94/336] Compiling SwiftSyntax Identifier.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/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()
[95/336] Compiling SwiftSyntax MemoryLayout.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/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()
[96/336] Compiling SwiftSyntax MissingNodeInitializers.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/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()
[97/336] Compiling SwiftSyntax AbsolutePosition.swift
[98/336] Compiling SwiftSyntax AbsoluteRawSyntax.swift
[99/336] Compiling SwiftSyntax AbsoluteSyntaxInfo.swift
[100/336] Compiling SwiftSyntax Assert.swift
[101/336] Compiling SwiftSyntax BumpPtrAllocator.swift
[102/336] Compiling SwiftSyntax CommonAncestor.swift
[103/336] Emitting module Swinject
/host/spi-builder-workspace/Sources/Swinject/ObjectScope.Standard.swift:8:23: warning: static property 'transient' is not concurrency-safe because non-'Sendable' type 'ObjectScope' may have shared mutable state; this is an error in the Swift 6 language mode
 6 |     /// A new instance is always created by the ``Container`` when a type is resolved.
 7 |     /// The instance is not shared.
 8 |     public static let transient = ObjectScope(storageFactory: TransientStorage.init, description: "transient")
   |                       |- warning: static property 'transient' is not concurrency-safe because non-'Sendable' type 'ObjectScope' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'transient' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 9 |
10 |     /// Instances are shared only when an object graph is being created,
/host/spi-builder-workspace/Sources/Swinject/ObjectScope.swift:14:14: note: class 'ObjectScope' does not conform to the 'Sendable' protocol
12 |
13 | /// Basic implementation of ``ObjectScopeProtocol``.
14 | public class ObjectScope: ObjectScopeProtocol, CustomStringConvertible {
   |              `- note: class 'ObjectScope' does not conform to the 'Sendable' protocol
15 |     public private(set) var description: String
16 |     private var storageFactory: () -> InstanceStorage
/host/spi-builder-workspace/Sources/Swinject/ObjectScope.Standard.swift:12:23: warning: static property 'graph' is not concurrency-safe because non-'Sendable' type 'ObjectScope' may have shared mutable state; this is an error in the Swift 6 language mode
10 |     /// Instances are shared only when an object graph is being created,
11 |     /// otherwise a new instance is created by the ``Container``. This is the default scope.
12 |     public static let graph = ObjectScope(storageFactory: GraphStorage.init, description: "graph")
   |                       |- warning: static property 'graph' is not concurrency-safe because non-'Sendable' type 'ObjectScope' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'graph' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 |     /// An instance provided by the ``Container`` is shared within the ``Container`` and its child `Containers`.
/host/spi-builder-workspace/Sources/Swinject/ObjectScope.swift:14:14: note: class 'ObjectScope' does not conform to the 'Sendable' protocol
12 |
13 | /// Basic implementation of ``ObjectScopeProtocol``.
14 | public class ObjectScope: ObjectScopeProtocol, CustomStringConvertible {
   |              `- note: class 'ObjectScope' does not conform to the 'Sendable' protocol
15 |     public private(set) var description: String
16 |     private var storageFactory: () -> InstanceStorage
/host/spi-builder-workspace/Sources/Swinject/ObjectScope.Standard.swift:15:23: warning: static property 'container' is not concurrency-safe because non-'Sendable' type 'ObjectScope' may have shared mutable state; this is an error in the Swift 6 language mode
13 |
14 |     /// An instance provided by the ``Container`` is shared within the ``Container`` and its child `Containers`.
15 |     public static let container = ObjectScope(storageFactory: PermanentStorage.init, description: "container")
   |                       |- warning: static property 'container' is not concurrency-safe because non-'Sendable' type 'ObjectScope' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'container' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 |     /// An instance provided by the ``Container`` is shared within the ``Container`` and its child ``Container``s
/host/spi-builder-workspace/Sources/Swinject/ObjectScope.swift:14:14: note: class 'ObjectScope' does not conform to the 'Sendable' protocol
12 |
13 | /// Basic implementation of ``ObjectScopeProtocol``.
14 | public class ObjectScope: ObjectScopeProtocol, CustomStringConvertible {
   |              `- note: class 'ObjectScope' does not conform to the 'Sendable' protocol
15 |     public private(set) var description: String
16 |     private var storageFactory: () -> InstanceStorage
/host/spi-builder-workspace/Sources/Swinject/ObjectScope.Standard.swift:20:23: warning: static property 'weak' is not concurrency-safe because non-'Sendable' type 'ObjectScope' may have shared mutable state; this is an error in the Swift 6 language mode
18 |     /// as long as there are strong references to given instance. Otherwise new instance is created
19 |     /// when resolving the type.
20 |     public static let weak = ObjectScope(storageFactory: WeakStorage.init, description: "weak",
   |                       |- warning: static property 'weak' is not concurrency-safe because non-'Sendable' type 'ObjectScope' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'weak' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 |                                          parent: ObjectScope.graph)
22 | }
/host/spi-builder-workspace/Sources/Swinject/ObjectScope.swift:14:14: note: class 'ObjectScope' does not conform to the 'Sendable' protocol
12 |
13 | /// Basic implementation of ``ObjectScopeProtocol``.
14 | public class ObjectScope: ObjectScopeProtocol, CustomStringConvertible {
   |              `- note: class 'ObjectScope' does not conform to the 'Sendable' protocol
15 |     public private(set) var description: String
16 |     private var storageFactory: () -> InstanceStorage
/host/spi-builder-workspace/Sources/Swinject/SwinjectContainer.Logging.swift:20:13: warning: var '_loggingFunction' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
18 | }
19 |
20 | private var _loggingFunction: LoggingFunctionType? = { print($0) }
   |             |- warning: var '_loggingFunction' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |             |- note: convert '_loggingFunction' to a 'let' constant to make 'Sendable' shared state immutable
   |             |- note: add '@MainActor' to make var '_loggingFunction' part of global actor 'MainActor'
   |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 |
/host/spi-builder-workspace/Sources/Swinject/SwinjectContainer.swift:428:16: warning: static property 'graphIdentifierKey' is not concurrency-safe because non-'Sendable' type 'ServiceKey' may have shared mutable state; this is an error in the Swift 6 language mode
426 |
427 | private extension SwinjectContainer {
428 |     static let graphIdentifierKey = ServiceKey(serviceType: GraphIdentifier.self, argumentsType: SwinjectResolver.self)
    |                |- warning: static property 'graphIdentifierKey' is not concurrency-safe because non-'Sendable' type 'ServiceKey' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'graphIdentifierKey' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
429 | }
430 |
/host/spi-builder-workspace/Sources/Swinject/ServiceKey.swift:16:17: note: consider making struct 'ServiceKey' conform to the 'Sendable' protocol
14 | // MARK: - ServiceKey
15 |
16 | internal struct ServiceKey {
   |                 `- note: consider making struct 'ServiceKey' conform to the 'Sendable' protocol
17 |     internal let serviceType: Any.Type
18 |     internal let argumentsType: Any.Type
[104/336] Compiling SwiftSyntax Convenience.swift
[105/336] Compiling SwiftSyntax CustomTraits.swift
[106/336] Compiling SwiftSyntax EditorPlaceholder.swift
[107/336] Compiling ArgumentParserToolInfo ToolInfo.swift
[108/336] Emitting module ArgumentParserToolInfo
[109/337] Compiling Swinject ThreadSafeDictionary.swift
[110/337] Compiling Swinject _Resolver.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
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:eb0758f51dbd6991fb9e51dedbfbcbec142ffc0d3b9b8ad91fa19d35e5136f0a
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
warning: 'spi-builder-workspace': Invalid Exclude '/host/spi-builder-workspace/Sources/Swinject/Container.Arguments.erb': File not found.
warning: 'spi-builder-workspace': Invalid Exclude '/host/spi-builder-workspace/Sources/Swinject/Resolver.erb': File not found.
warning: 'spi-builder-workspace': found 2 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/Sources/Swinject/SwinjectContainer.Arguments.erb
    /host/spi-builder-workspace/Sources/Swinject/SwinjectResolver.erb
[0/1] Planning build
[1/1] Compiling plugin KnitBuildPlugin
[2/2] Compiling plugin GenerateManual
[3/3] Compiling plugin GenerateDoccReference
Building for debugging...
[3/44] Write swift-version-24593BA9C3E375BF.txt
[5/77] Compiling SwiftSyntax600 Empty.swift
[7/77] Compiling SwiftSyntax509 Empty.swift
[8/77] Emitting module SwiftSyntax600
[9/78] Emitting module SwiftSyntax509
[10/78] Emitting module SwiftSyntax600
[11/80] Compiling SwiftSyntax509 Empty.swift
[12/80] Emitting module SwiftSyntax509
[14/81] Emitting module SwiftSyntax510
[15/81] Compiling SwiftSyntax510 Empty.swift
[16/81] Emitting module SwiftSyntax510
[17/81] Compiling SwiftSyntax601 Empty.swift
[18/81] Emitting module SwiftSyntax601
[19/81] Compiling SwiftSyntax510 Empty.swift
[26/77] Compiling Swinject Behavior.swift
[27/77] Compiling Swinject DebugHelper.swift
[28/77] Compiling Swinject FunctionType.swift
[29/104] Emitting module SwiftSyntax601
[30/104] Compiling SwiftSyntax601 Empty.swift
[31/169] Compiling SwiftSyntax AbsolutePosition.swift
[32/169] Compiling SwiftSyntax AbsoluteRawSyntax.swift
[33/169] Compiling SwiftSyntax AbsoluteSyntaxInfo.swift
[35/170] Compiling SwiftSyntax MissingNodeInitializers.swift
[36/170] Compiling SwiftSyntax RawSyntax.swift
[37/170] Emitting module Swinject
[38/170] Compiling SwiftSyntax Convenience.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()
[39/170] Compiling SwiftSyntax CustomTraits.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()
[40/170] Compiling SwiftSyntax EditorPlaceholder.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()
[41/170] Compiling SwiftSyntax RawSyntaxNodeProtocol.swift
[42/170] Compiling SwiftSyntax RawSyntaxTokenView.swift
[43/170] Compiling SwiftSyntax SourceEdit.swift
[44/170] Compiling SwiftSyntax SourceLength.swift
[45/170] Compiling SwiftSyntax RawSyntaxLayoutView.swift
[48/170] Compiling SwiftSyntax Identifier.swift
[49/170] Compiling SwiftSyntax MemoryLayout.swift
[50/170] Emitting module Swinject
[51/170] Compiling SwiftSyntax Assert.swift
[52/170] Compiling SwiftSyntax BumpPtrAllocator.swift
[53/170] Compiling SwiftSyntax CommonAncestor.swift
[54/170] Compiling Swinject ThreadSafeDictionary.swift
[55/170] Compiling Swinject _Resolver.swift
/host/spi-builder-workspace/Sources/Swinject/InstanceStorage.swift:118:50: warning: conditional cast from 'Wrapped' to 'AnyObject' always succeeds
116 |                 return object as? Wrapped
117 |             }
118 |             set { object = newValue.flatMap { $0 as? AnyObject } }
    |                                                  `- warning: conditional cast from 'Wrapped' to 'AnyObject' always succeeds
119 |         }
120 |
/host/spi-builder-workspace/Sources/Swinject/InstanceStorage.swift:118:50: warning: conditional cast from 'Wrapped' to 'AnyObject' always succeeds
116 |                 return object as? Wrapped
117 |             }
118 |             set { object = newValue.flatMap { $0 as? AnyObject } }
    |                                                  `- warning: conditional cast from 'Wrapped' to 'AnyObject' always succeeds
119 |         }
120 |
/host/spi-builder-workspace/Sources/Swinject/InstanceStorage.swift:118:50: warning: conditional cast from 'Wrapped' to 'AnyObject' always succeeds
116 |                 return object as? Wrapped
117 |             }
118 |             set { object = newValue.flatMap { $0 as? AnyObject } }
    |                                                  `- warning: conditional cast from 'Wrapped' to 'AnyObject' always succeeds
119 |         }
120 |
[67/234] Compiling SwiftSyntax SourceLocation.swift
[68/234] Compiling SwiftSyntax SourcePresence.swift
[70/235] Compiling SwiftSyntax SourceEdit.swift
[71/235] Compiling SwiftSyntax SourceLength.swift
[72/235] Emitting module ArgumentParserToolInfo
BUILD FAILURE 6.1 wasm