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 Factory, reference main (8a145c), with Swift 5.10 for Linux on 4 Jun 2025 04:50:02 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/hmlongco/Factory.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/hmlongco/Factory
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 8a145c8 Merge pull request #311 from danielepantaleone/bugfix/version-number-in-readme
Cloned https://github.com/hmlongco/Factory.git
Revision (git rev-parse @):
8a145c81b3045a872c5f1a37418a4dc109827618
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/hmlongco/Factory.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $PWD
https://github.com/hmlongco/Factory.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-5.10-latest: Pulling from finestructure/spi-images
Digest: sha256:aa1999fda62728f989ec9f885e6a69f8a206ad63b6efcfc03397a00c96f5855b
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.10-latest
Fetching https://github.com/apple/swift-docc-plugin
[1/2049] Fetching swift-docc-plugin
Fetched https://github.com/apple/swift-docc-plugin from cache (0.43s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.3 (1.17s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3395] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.39s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.46s)
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.4.3
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
[1/1] Compiling plugin Swift-DocC
[2/2] Compiling plugin Swift-DocC Preview
Building for debugging...
[2/8] Copying PrivacyInfo.xcprivacy
[3/8] Write sources
[6/8] Copying PrivacyInfo.xcprivacy
[7/8] Write swift-version-24593BA9C3E375BF.txt
[9/35] Compiling Factory Contexts.swift
/host/spi-builder-workspace/Sources/FactoryKit/FactoryKit/Key.swift:43:28: error: value of type 'SpinLock' has no member 'withLock'
        globalVariableLock.withLock {
        ~~~~~~~~~~~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/FactoryKit/FactoryKit/Key.swift:100:24: error: value of type 'SpinLock' has no member 'withLock'
    globalVariableLock.withLock {
    ~~~~~~~~~~~~~~~~~~ ^~~~~~~~
[10/35] Compiling Factory Factory.swift
/host/spi-builder-workspace/Sources/FactoryKit/FactoryKit/Key.swift:43:28: error: value of type 'SpinLock' has no member 'withLock'
        globalVariableLock.withLock {
        ~~~~~~~~~~~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/FactoryKit/FactoryKit/Key.swift:100:24: error: value of type 'SpinLock' has no member 'withLock'
    globalVariableLock.withLock {
    ~~~~~~~~~~~~~~~~~~ ^~~~~~~~
[11/35] Compiling Factory Scopes.swift
/host/spi-builder-workspace/Sources/Factory/Factory/Scopes.swift:184:33: error: value of type 'RecursiveLock' has no member 'withLock'
            globalRecursiveLock.withLock {
            ~~~~~~~~~~~~~~~~~~~ ^~~~~~~~
[12/37] Compiling Factory Resolutions.swift
/host/spi-builder-workspace/Sources/Factory/Factory/Resolver.swift:52:29: error: value of type 'RecursiveLock' has no member 'withLock'
        globalRecursiveLock.withLock {
        ~~~~~~~~~~~~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/Factory/Factory/Resolver.swift:65:29: error: value of type 'RecursiveLock' has no member 'withLock'
        globalRecursiveLock.withLock {
        ~~~~~~~~~~~~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/Factory/Factory/Resolver.swift:74:20: error: 'nil' is not compatible with closure result type 'Factory<T>'
            return nil
                   ^
[13/37] Compiling Factory Resolver.swift
/host/spi-builder-workspace/Sources/Factory/Factory/Resolver.swift:52:29: error: value of type 'RecursiveLock' has no member 'withLock'
        globalRecursiveLock.withLock {
        ~~~~~~~~~~~~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/Factory/Factory/Resolver.swift:65:29: error: value of type 'RecursiveLock' has no member 'withLock'
        globalRecursiveLock.withLock {
        ~~~~~~~~~~~~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/Factory/Factory/Resolver.swift:74:20: error: 'nil' is not compatible with closure result type 'Factory<T>'
            return nil
                   ^
[14/37] Compiling FactoryKit Resolver.swift
/host/spi-builder-workspace/Sources/FactoryKit/FactoryKit/Resolver.swift:52:29: error: value of type 'RecursiveLock' has no member 'withLock'
        globalRecursiveLock.withLock {
        ~~~~~~~~~~~~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/FactoryKit/FactoryKit/Resolver.swift:65:29: error: value of type 'RecursiveLock' has no member 'withLock'
        globalRecursiveLock.withLock {
        ~~~~~~~~~~~~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/FactoryKit/FactoryKit/Resolver.swift:74:20: error: 'nil' is not compatible with closure result type 'Factory<T>'
            return nil
                   ^
[15/37] Compiling FactoryKit Scopes.swift
/host/spi-builder-workspace/Sources/FactoryKit/FactoryKit/Scopes.swift:184:33: error: value of type 'RecursiveLock' has no member 'withLock'
            globalRecursiveLock.withLock {
            ~~~~~~~~~~~~~~~~~~~ ^~~~~~~~
[16/37] Compiling Factory Modifiers.swift
[17/37] Compiling Factory Registrations.swift
[18/37] Compiling Factory Globals.swift
/host/spi-builder-workspace/Sources/FactoryKit/FactoryKit/Containers.swift:213:28: error: value of type 'SpinLock' has no member 'withLock'
        globalVariableLock.withLock {
        ~~~~~~~~~~~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/FactoryKit/FactoryKit/Containers.swift:254:34: error: value of type 'SpinLock' has no member 'withLock'
        get { globalVariableLock.withLock { _defaultScope } }
              ~~~~~~~~~~~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/FactoryKit/FactoryKit/Containers.swift:255:34: error: value of type 'SpinLock' has no member 'withLock'
        set { globalVariableLock.withLock { _defaultScope = newValue } }
              ~~~~~~~~~~~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/FactoryKit/FactoryKit/Containers.swift:261:34: error: value of type 'SpinLock' has no member 'withLock'
        get { globalVariableLock.withLock { _dependencyChainTestMax } }
              ~~~~~~~~~~~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/FactoryKit/FactoryKit/Containers.swift:262:34: error: value of type 'SpinLock' has no member 'withLock'
        set { globalVariableLock.withLock { _dependencyChainTestMax = newValue } }
              ~~~~~~~~~~~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/FactoryKit/FactoryKit/Containers.swift:267:34: error: value of type 'SpinLock' has no member 'withLock'
        get { globalVariableLock.withLock { _promiseTriggersError } }
              ~~~~~~~~~~~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/FactoryKit/FactoryKit/Containers.swift:268:34: error: value of type 'SpinLock' has no member 'withLock'
        set { globalVariableLock.withLock { _promiseTriggersError = newValue } }
              ~~~~~~~~~~~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/FactoryKit/FactoryKit/Containers.swift:273:34: error: value of type 'SpinLock' has no member 'withLock'
        get { globalVariableLock.withLock { globalTraceFlag } }
              ~~~~~~~~~~~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/FactoryKit/FactoryKit/Containers.swift:274:34: error: value of type 'SpinLock' has no member 'withLock'
        set { globalVariableLock.withLock { globalTraceFlag = newValue } }
              ~~~~~~~~~~~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/FactoryKit/FactoryKit/Containers.swift:279:34: error: value of type 'SpinLock' has no member 'withLock'
        get { globalVariableLock.withLock { globalLogger } }
              ~~~~~~~~~~~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/FactoryKit/FactoryKit/Containers.swift:280:34: error: value of type 'SpinLock' has no member 'withLock'
        set { globalVariableLock.withLock { globalLogger = newValue } }
              ~~~~~~~~~~~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/FactoryKit/FactoryKit/Containers.swift:284:29: error: value of type 'RecursiveLock' has no member 'withLock'
        globalRecursiveLock.withLock {
        ~~~~~~~~~~~~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/FactoryKit/FactoryKit/Containers.swift:334:29: error: value of type 'RecursiveLock' has no member 'withLock'
        globalRecursiveLock.withLock {
        ~~~~~~~~~~~~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/FactoryKit/FactoryKit/Containers.swift:364:29: error: value of type 'RecursiveLock' has no member 'withLock'
        globalRecursiveLock.withLock {
        ~~~~~~~~~~~~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/FactoryKit/FactoryKit/Containers.swift:379:29: error: value of type 'RecursiveLock' has no member 'withLock'
        globalRecursiveLock.withLock {
        ~~~~~~~~~~~~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/FactoryKit/FactoryKit/Containers.swift:386:29: error: value of type 'RecursiveLock' has no member 'withLock'
        globalRecursiveLock.withLock {
        ~~~~~~~~~~~~~~~~~~~ ^~~~~~~~
[19/37] Compiling Factory Injections.swift
/host/spi-builder-workspace/Sources/FactoryKit/FactoryKit/Containers.swift:213:28: error: value of type 'SpinLock' has no member 'withLock'
        globalVariableLock.withLock {
        ~~~~~~~~~~~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/FactoryKit/FactoryKit/Containers.swift:254:34: error: value of type 'SpinLock' has no member 'withLock'
        get { globalVariableLock.withLock { _defaultScope } }
              ~~~~~~~~~~~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/FactoryKit/FactoryKit/Containers.swift:255:34: error: value of type 'SpinLock' has no member 'withLock'
        set { globalVariableLock.withLock { _defaultScope = newValue } }
              ~~~~~~~~~~~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/FactoryKit/FactoryKit/Containers.swift:261:34: error: value of type 'SpinLock' has no member 'withLock'
        get { globalVariableLock.withLock { _dependencyChainTestMax } }
              ~~~~~~~~~~~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/FactoryKit/FactoryKit/Containers.swift:262:34: error: value of type 'SpinLock' has no member 'withLock'
        set { globalVariableLock.withLock { _dependencyChainTestMax = newValue } }
              ~~~~~~~~~~~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/FactoryKit/FactoryKit/Containers.swift:267:34: error: value of type 'SpinLock' has no member 'withLock'
        get { globalVariableLock.withLock { _promiseTriggersError } }
              ~~~~~~~~~~~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/FactoryKit/FactoryKit/Containers.swift:268:34: error: value of type 'SpinLock' has no member 'withLock'
        set { globalVariableLock.withLock { _promiseTriggersError = newValue } }
              ~~~~~~~~~~~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/FactoryKit/FactoryKit/Containers.swift:273:34: error: value of type 'SpinLock' has no member 'withLock'
        get { globalVariableLock.withLock { globalTraceFlag } }
              ~~~~~~~~~~~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/FactoryKit/FactoryKit/Containers.swift:274:34: error: value of type 'SpinLock' has no member 'withLock'
        set { globalVariableLock.withLock { globalTraceFlag = newValue } }
              ~~~~~~~~~~~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/FactoryKit/FactoryKit/Containers.swift:279:34: error: value of type 'SpinLock' has no member 'withLock'
        get { globalVariableLock.withLock { globalLogger } }
              ~~~~~~~~~~~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/FactoryKit/FactoryKit/Containers.swift:280:34: error: value of type 'SpinLock' has no member 'withLock'
        set { globalVariableLock.withLock { globalLogger = newValue } }
              ~~~~~~~~~~~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/FactoryKit/FactoryKit/Containers.swift:284:29: error: value of type 'RecursiveLock' has no member 'withLock'
        globalRecursiveLock.withLock {
        ~~~~~~~~~~~~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/FactoryKit/FactoryKit/Containers.swift:334:29: error: value of type 'RecursiveLock' has no member 'withLock'
        globalRecursiveLock.withLock {
        ~~~~~~~~~~~~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/FactoryKit/FactoryKit/Containers.swift:364:29: error: value of type 'RecursiveLock' has no member 'withLock'
        globalRecursiveLock.withLock {
        ~~~~~~~~~~~~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/FactoryKit/FactoryKit/Containers.swift:379:29: error: value of type 'RecursiveLock' has no member 'withLock'
        globalRecursiveLock.withLock {
        ~~~~~~~~~~~~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/FactoryKit/FactoryKit/Containers.swift:386:29: error: value of type 'RecursiveLock' has no member 'withLock'
        globalRecursiveLock.withLock {
        ~~~~~~~~~~~~~~~~~~~ ^~~~~~~~
[20/37] Emitting module FactoryKit
[21/37] Compiling Factory Key.swift
/host/spi-builder-workspace/Sources/Factory/Factory/Key.swift:43:28: error: value of type 'SpinLock' has no member 'withLock'
        globalVariableLock.withLock {
        ~~~~~~~~~~~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/Factory/Factory/Key.swift:100:24: error: value of type 'SpinLock' has no member 'withLock'
    globalVariableLock.withLock {
    ~~~~~~~~~~~~~~~~~~ ^~~~~~~~
[22/37] Compiling Factory Locking.swift
/host/spi-builder-workspace/Sources/Factory/Factory/Key.swift:43:28: error: value of type 'SpinLock' has no member 'withLock'
        globalVariableLock.withLock {
        ~~~~~~~~~~~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/Factory/Factory/Key.swift:100:24: error: value of type 'SpinLock' has no member 'withLock'
    globalVariableLock.withLock {
    ~~~~~~~~~~~~~~~~~~ ^~~~~~~~
[25/37] Compiling Factory Aliases.swift
/host/spi-builder-workspace/Sources/Factory/Factory/Containers.swift:213:28: error: value of type 'SpinLock' has no member 'withLock'
        globalVariableLock.withLock {
        ~~~~~~~~~~~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/Factory/Factory/Containers.swift:254:34: error: value of type 'SpinLock' has no member 'withLock'
        get { globalVariableLock.withLock { _defaultScope } }
              ~~~~~~~~~~~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/Factory/Factory/Containers.swift:255:34: error: value of type 'SpinLock' has no member 'withLock'
        set { globalVariableLock.withLock { _defaultScope = newValue } }
              ~~~~~~~~~~~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/Factory/Factory/Containers.swift:261:34: error: value of type 'SpinLock' has no member 'withLock'
        get { globalVariableLock.withLock { _dependencyChainTestMax } }
              ~~~~~~~~~~~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/Factory/Factory/Containers.swift:262:34: error: value of type 'SpinLock' has no member 'withLock'
        set { globalVariableLock.withLock { _dependencyChainTestMax = newValue } }
              ~~~~~~~~~~~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/Factory/Factory/Containers.swift:267:34: error: value of type 'SpinLock' has no member 'withLock'
        get { globalVariableLock.withLock { _promiseTriggersError } }
              ~~~~~~~~~~~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/Factory/Factory/Containers.swift:268:34: error: value of type 'SpinLock' has no member 'withLock'
        set { globalVariableLock.withLock { _promiseTriggersError = newValue } }
              ~~~~~~~~~~~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/Factory/Factory/Containers.swift:273:34: error: value of type 'SpinLock' has no member 'withLock'
        get { globalVariableLock.withLock { globalTraceFlag } }
              ~~~~~~~~~~~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/Factory/Factory/Containers.swift:274:34: error: value of type 'SpinLock' has no member 'withLock'
        set { globalVariableLock.withLock { globalTraceFlag = newValue } }
              ~~~~~~~~~~~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/Factory/Factory/Containers.swift:279:34: error: value of type 'SpinLock' has no member 'withLock'
        get { globalVariableLock.withLock { globalLogger } }
              ~~~~~~~~~~~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/Factory/Factory/Containers.swift:280:34: error: value of type 'SpinLock' has no member 'withLock'
        set { globalVariableLock.withLock { globalLogger = newValue } }
              ~~~~~~~~~~~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/Factory/Factory/Containers.swift:284:29: error: value of type 'RecursiveLock' has no member 'withLock'
        globalRecursiveLock.withLock {
        ~~~~~~~~~~~~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/Factory/Factory/Containers.swift:334:29: error: value of type 'RecursiveLock' has no member 'withLock'
        globalRecursiveLock.withLock {
        ~~~~~~~~~~~~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/Factory/Factory/Containers.swift:364:29: error: value of type 'RecursiveLock' has no member 'withLock'
        globalRecursiveLock.withLock {
        ~~~~~~~~~~~~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/Factory/Factory/Containers.swift:379:29: error: value of type 'RecursiveLock' has no member 'withLock'
        globalRecursiveLock.withLock {
        ~~~~~~~~~~~~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/Factory/Factory/Containers.swift:386:29: error: value of type 'RecursiveLock' has no member 'withLock'
        globalRecursiveLock.withLock {
        ~~~~~~~~~~~~~~~~~~~ ^~~~~~~~
[26/37] Compiling Factory Containers.swift
/host/spi-builder-workspace/Sources/Factory/Factory/Containers.swift:213:28: error: value of type 'SpinLock' has no member 'withLock'
        globalVariableLock.withLock {
        ~~~~~~~~~~~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/Factory/Factory/Containers.swift:254:34: error: value of type 'SpinLock' has no member 'withLock'
        get { globalVariableLock.withLock { _defaultScope } }
              ~~~~~~~~~~~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/Factory/Factory/Containers.swift:255:34: error: value of type 'SpinLock' has no member 'withLock'
        set { globalVariableLock.withLock { _defaultScope = newValue } }
              ~~~~~~~~~~~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/Factory/Factory/Containers.swift:261:34: error: value of type 'SpinLock' has no member 'withLock'
        get { globalVariableLock.withLock { _dependencyChainTestMax } }
              ~~~~~~~~~~~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/Factory/Factory/Containers.swift:262:34: error: value of type 'SpinLock' has no member 'withLock'
        set { globalVariableLock.withLock { _dependencyChainTestMax = newValue } }
              ~~~~~~~~~~~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/Factory/Factory/Containers.swift:267:34: error: value of type 'SpinLock' has no member 'withLock'
        get { globalVariableLock.withLock { _promiseTriggersError } }
              ~~~~~~~~~~~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/Factory/Factory/Containers.swift:268:34: error: value of type 'SpinLock' has no member 'withLock'
        set { globalVariableLock.withLock { _promiseTriggersError = newValue } }
              ~~~~~~~~~~~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/Factory/Factory/Containers.swift:273:34: error: value of type 'SpinLock' has no member 'withLock'
        get { globalVariableLock.withLock { globalTraceFlag } }
              ~~~~~~~~~~~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/Factory/Factory/Containers.swift:274:34: error: value of type 'SpinLock' has no member 'withLock'
        set { globalVariableLock.withLock { globalTraceFlag = newValue } }
              ~~~~~~~~~~~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/Factory/Factory/Containers.swift:279:34: error: value of type 'SpinLock' has no member 'withLock'
        get { globalVariableLock.withLock { globalLogger } }
              ~~~~~~~~~~~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/Factory/Factory/Containers.swift:280:34: error: value of type 'SpinLock' has no member 'withLock'
        set { globalVariableLock.withLock { globalLogger = newValue } }
              ~~~~~~~~~~~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/Factory/Factory/Containers.swift:284:29: error: value of type 'RecursiveLock' has no member 'withLock'
        globalRecursiveLock.withLock {
        ~~~~~~~~~~~~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/Factory/Factory/Containers.swift:334:29: error: value of type 'RecursiveLock' has no member 'withLock'
        globalRecursiveLock.withLock {
        ~~~~~~~~~~~~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/Factory/Factory/Containers.swift:364:29: error: value of type 'RecursiveLock' has no member 'withLock'
        globalRecursiveLock.withLock {
        ~~~~~~~~~~~~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/Factory/Factory/Containers.swift:379:29: error: value of type 'RecursiveLock' has no member 'withLock'
        globalRecursiveLock.withLock {
        ~~~~~~~~~~~~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/Factory/Factory/Containers.swift:386:29: error: value of type 'RecursiveLock' has no member 'withLock'
        globalRecursiveLock.withLock {
        ~~~~~~~~~~~~~~~~~~~ ^~~~~~~~
[29/37] Emitting module Factory
[36/37] Compiling Factory resource_bundle_accessor.swift
[37/37] Compiling FactoryKit resource_bundle_accessor.swift
error: fatalError
BUILD FAILURE 5.10 linux