The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build Factory, reference main (c07ced), with Swift 5.10 for Linux on 6 May 2025 17:32:13 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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.61.3
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 c07cedb Different method to re-enable strict concurrency checking in package
Cloned https://github.com/hmlongco/Factory.git
Revision (git rev-parse @):
c07cedb937f426de2a6c67d056c7710c3bc989a9
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-1":/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:616ef225d0085997f26355ad9695b1159b91f6187a43f9ff135cb59d096bc97d
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.45s)
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/3376] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.40s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.49s)
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/6] Write sources
[2/6] Copying PrivacyInfo.xcprivacy
[5/6] Write swift-version-24593BA9C3E375BF.txt
[7/20] Compiling Factory Key.swift
/host/spi-builder-workspace/Sources/Factory/Factory/Key.swift:22:28: error: value of type 'SpinLock' has no member 'withLock'
        globalVariableLock.withLock {
        ~~~~~~~~~~~~~~~~~~ ^~~~~~~~
[8/20] Compiling Factory Locking.swift
/host/spi-builder-workspace/Sources/Factory/Factory/Key.swift:22:28: error: value of type 'SpinLock' has no member 'withLock'
        globalVariableLock.withLock {
        ~~~~~~~~~~~~~~~~~~ ^~~~~~~~
[9/21] Compiling Factory Modifiers.swift
[10/21] Compiling Factory Registrations.swift
[11/21] Compiling Factory Contexts.swift
[12/21] Compiling Factory Factory.swift
[13/21] Compiling Factory Globals.swift
[14/21] Compiling Factory Injections.swift
[15/21] Emitting module Factory
[16/21] Compiling Factory Aliases.swift
/host/spi-builder-workspace/Sources/Factory/Factory/Containers.swift:165:28: error: value of type 'SpinLock' has no member 'withLock'
        globalVariableLock.withLock {
        ~~~~~~~~~~~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/Factory/Factory/Containers.swift:206:34: error: value of type 'SpinLock' has no member 'withLock'
        get { globalVariableLock.withLock { _defaultScope } }
              ~~~~~~~~~~~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/Factory/Factory/Containers.swift:207:34: error: value of type 'SpinLock' has no member 'withLock'
        set { globalVariableLock.withLock { _defaultScope = newValue } }
              ~~~~~~~~~~~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/Factory/Factory/Containers.swift:213:34: error: value of type 'SpinLock' has no member 'withLock'
        get { globalVariableLock.withLock { _dependencyChainTestMax } }
              ~~~~~~~~~~~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/Factory/Factory/Containers.swift:214:34: error: value of type 'SpinLock' has no member 'withLock'
        set { globalVariableLock.withLock { _dependencyChainTestMax = newValue } }
              ~~~~~~~~~~~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/Factory/Factory/Containers.swift:219:34: error: value of type 'SpinLock' has no member 'withLock'
        get { globalVariableLock.withLock { _promiseTriggersError } }
              ~~~~~~~~~~~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/Factory/Factory/Containers.swift:220:34: error: value of type 'SpinLock' has no member 'withLock'
        set { globalVariableLock.withLock { _promiseTriggersError = newValue } }
              ~~~~~~~~~~~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/Factory/Factory/Containers.swift:225:34: error: value of type 'SpinLock' has no member 'withLock'
        get { globalVariableLock.withLock { globalTraceFlag } }
              ~~~~~~~~~~~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/Factory/Factory/Containers.swift:226:34: error: value of type 'SpinLock' has no member 'withLock'
        set { globalVariableLock.withLock { globalTraceFlag = newValue } }
              ~~~~~~~~~~~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/Factory/Factory/Containers.swift:231:34: error: value of type 'SpinLock' has no member 'withLock'
        get { globalVariableLock.withLock { globalLogger } }
              ~~~~~~~~~~~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/Factory/Factory/Containers.swift:232:34: error: value of type 'SpinLock' has no member 'withLock'
        set { globalVariableLock.withLock { globalLogger = newValue } }
              ~~~~~~~~~~~~~~~~~~ ^~~~~~~~
[17/21] Compiling Factory Containers.swift
/host/spi-builder-workspace/Sources/Factory/Factory/Containers.swift:165:28: error: value of type 'SpinLock' has no member 'withLock'
        globalVariableLock.withLock {
        ~~~~~~~~~~~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/Factory/Factory/Containers.swift:206:34: error: value of type 'SpinLock' has no member 'withLock'
        get { globalVariableLock.withLock { _defaultScope } }
              ~~~~~~~~~~~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/Factory/Factory/Containers.swift:207:34: error: value of type 'SpinLock' has no member 'withLock'
        set { globalVariableLock.withLock { _defaultScope = newValue } }
              ~~~~~~~~~~~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/Factory/Factory/Containers.swift:213:34: error: value of type 'SpinLock' has no member 'withLock'
        get { globalVariableLock.withLock { _dependencyChainTestMax } }
              ~~~~~~~~~~~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/Factory/Factory/Containers.swift:214:34: error: value of type 'SpinLock' has no member 'withLock'
        set { globalVariableLock.withLock { _dependencyChainTestMax = newValue } }
              ~~~~~~~~~~~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/Factory/Factory/Containers.swift:219:34: error: value of type 'SpinLock' has no member 'withLock'
        get { globalVariableLock.withLock { _promiseTriggersError } }
              ~~~~~~~~~~~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/Factory/Factory/Containers.swift:220:34: error: value of type 'SpinLock' has no member 'withLock'
        set { globalVariableLock.withLock { _promiseTriggersError = newValue } }
              ~~~~~~~~~~~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/Factory/Factory/Containers.swift:225:34: error: value of type 'SpinLock' has no member 'withLock'
        get { globalVariableLock.withLock { globalTraceFlag } }
              ~~~~~~~~~~~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/Factory/Factory/Containers.swift:226:34: error: value of type 'SpinLock' has no member 'withLock'
        set { globalVariableLock.withLock { globalTraceFlag = newValue } }
              ~~~~~~~~~~~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/Factory/Factory/Containers.swift:231:34: error: value of type 'SpinLock' has no member 'withLock'
        get { globalVariableLock.withLock { globalLogger } }
              ~~~~~~~~~~~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/Factory/Factory/Containers.swift:232:34: error: value of type 'SpinLock' has no member 'withLock'
        set { globalVariableLock.withLock { globalLogger = newValue } }
              ~~~~~~~~~~~~~~~~~~ ^~~~~~~~
[18/21] Compiling Factory Resolutions.swift
[19/21] Compiling Factory Resolver.swift
[20/21] Compiling Factory Scopes.swift
[21/21] Compiling Factory resource_bundle_accessor.swift
error: fatalError
BUILD FAILURE 5.10 linux