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 2.4.0 (dfe085), with Swift 5.10 for Linux on 11 Oct 2024 00:35:13 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-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.55.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/hmlongco/Factory.git
Reference: 2.4.0
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
 * tag               2.4.0      -> FETCH_HEAD
HEAD is now at dfe0852 Fix issue with github running tests
Cloned https://github.com/hmlongco/Factory.git
Revision (git rev-parse @):
dfe0852e8ebc146fe0f913af54a541d423b5ef37
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/hmlongco/Factory.git at 2.4.0
========================================
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-4609320-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:de52ea9a9b71f638f9ab112bc11e200b74fab18027de8589a3de4f14b5e22683
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
Fetching https://github.com/apple/swift-docc-symbolkit
[1/2038] Fetching swift-docc-plugin
[246/5148] Fetching swift-docc-plugin, swift-docc-symbolkit
Fetched https://github.com/apple/swift-docc-symbolkit from cache (0.36s)
Fetched https://github.com/apple/swift-docc-plugin from cache (0.36s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.1.0 (0.95s)
Computing version for https://github.com/apple/swift-docc-symbolkit
Computed https://github.com/apple/swift-docc-symbolkit at 1.0.0 (0.43s)
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.1.0
Creating working copy for https://github.com/apple/swift-docc-symbolkit
Working copy of https://github.com/apple/swift-docc-symbolkit resolved at 1.0.0
/host/spi-builder-workspace/.build/checkouts/swift-docc-plugin/Plugins/Swift-DocC Convert/Symbolic Links/SharedPackagePluginExtensions/PackageExtensions.swift:31:17: warning: switch covers known cases, but 'TargetDependency' may have additional unknown values
                switch dependency {
                ^
/host/spi-builder-workspace/.build/checkouts/swift-docc-plugin/Plugins/Swift-DocC Convert/Symbolic Links/SharedPackagePluginExtensions/PackageExtensions.swift:31:17: note: handle unknown values using "@unknown default"
                switch dependency {
                ^
[1/1] Compiling plugin Swift-DocC
/host/spi-builder-workspace/.build/checkouts/swift-docc-plugin/Plugins/Swift-DocC Preview/Symbolic Links/SharedPackagePluginExtensions/PackageExtensions.swift:31:17: warning: switch covers known cases, but 'TargetDependency' may have additional unknown values
                switch dependency {
                ^
/host/spi-builder-workspace/.build/checkouts/swift-docc-plugin/Plugins/Swift-DocC Preview/Symbolic Links/SharedPackagePluginExtensions/PackageExtensions.swift:31:17: note: handle unknown values using "@unknown default"
                switch dependency {
                ^
[2/2] Compiling plugin Swift-DocC Preview
Building for debugging...
[2/5] Write sources
[2/5] Copying PrivacyInfo.xcprivacy
[4/5] Write swift-version-24593BA9C3E375BF.txt
[6/19] Compiling Factory Key.swift
[7/19] Compiling Factory Locking.swift
[8/20] Compiling Factory Resolutions.swift
[9/20] Compiling Factory Resolver.swift
[10/20] Compiling Factory Modifiers.swift
[11/20] Compiling Factory Registrations.swift
[12/20] Compiling Factory Scopes.swift
[13/20] Compiling Factory Contexts.swift
[14/20] Compiling Factory Factory.swift
[15/20] Compiling Factory Globals.swift
[16/20] Compiling Factory Injections.swift
[17/20] Compiling Factory resource_bundle_accessor.swift
[18/20] Emitting module Factory
[19/20] Compiling Factory Aliases.swift
/host/spi-builder-workspace/Sources/Factory/Factory/Containers.swift:152:25: error: value of type 'SpinLock' has no member 'withLock'
        globalDebugLock.withLock {
        ~~~~~~~~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/Factory/Factory/Containers.swift:187:31: error: value of type 'SpinLock' has no member 'withLock'
        get { globalDebugLock.withLock { _defaultScope } }
              ~~~~~~~~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/Factory/Factory/Containers.swift:188:31: error: value of type 'SpinLock' has no member 'withLock'
        set { globalDebugLock.withLock { _defaultScope = newValue } }
              ~~~~~~~~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/Factory/Factory/Containers.swift:194:31: error: value of type 'SpinLock' has no member 'withLock'
        get { globalDebugLock.withLock { _dependencyChainTestMax } }
              ~~~~~~~~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/Factory/Factory/Containers.swift:195:31: error: value of type 'SpinLock' has no member 'withLock'
        set { globalDebugLock.withLock { _dependencyChainTestMax = newValue } }
              ~~~~~~~~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/Factory/Factory/Containers.swift:200:31: error: value of type 'SpinLock' has no member 'withLock'
        get { globalDebugLock.withLock { _promiseTriggersError } }
              ~~~~~~~~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/Factory/Factory/Containers.swift:201:31: error: value of type 'SpinLock' has no member 'withLock'
        set { globalDebugLock.withLock { _promiseTriggersError = newValue } }
              ~~~~~~~~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/Factory/Factory/Containers.swift:206:31: error: value of type 'SpinLock' has no member 'withLock'
        get { globalDebugLock.withLock { globalTraceFlag } }
              ~~~~~~~~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/Factory/Factory/Containers.swift:207:31: error: value of type 'SpinLock' has no member 'withLock'
        set { globalDebugLock.withLock { globalTraceFlag = newValue } }
              ~~~~~~~~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/Factory/Factory/Containers.swift:212:31: error: value of type 'SpinLock' has no member 'withLock'
        get { globalDebugLock.withLock { globalLogger } }
              ~~~~~~~~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/Factory/Factory/Containers.swift:213:31: error: value of type 'SpinLock' has no member 'withLock'
        set { globalDebugLock.withLock { globalLogger = newValue } }
              ~~~~~~~~~~~~~~~ ^~~~~~~~
[20/20] Compiling Factory Containers.swift
/host/spi-builder-workspace/Sources/Factory/Factory/Containers.swift:152:25: error: value of type 'SpinLock' has no member 'withLock'
        globalDebugLock.withLock {
        ~~~~~~~~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/Factory/Factory/Containers.swift:187:31: error: value of type 'SpinLock' has no member 'withLock'
        get { globalDebugLock.withLock { _defaultScope } }
              ~~~~~~~~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/Factory/Factory/Containers.swift:188:31: error: value of type 'SpinLock' has no member 'withLock'
        set { globalDebugLock.withLock { _defaultScope = newValue } }
              ~~~~~~~~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/Factory/Factory/Containers.swift:194:31: error: value of type 'SpinLock' has no member 'withLock'
        get { globalDebugLock.withLock { _dependencyChainTestMax } }
              ~~~~~~~~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/Factory/Factory/Containers.swift:195:31: error: value of type 'SpinLock' has no member 'withLock'
        set { globalDebugLock.withLock { _dependencyChainTestMax = newValue } }
              ~~~~~~~~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/Factory/Factory/Containers.swift:200:31: error: value of type 'SpinLock' has no member 'withLock'
        get { globalDebugLock.withLock { _promiseTriggersError } }
              ~~~~~~~~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/Factory/Factory/Containers.swift:201:31: error: value of type 'SpinLock' has no member 'withLock'
        set { globalDebugLock.withLock { _promiseTriggersError = newValue } }
              ~~~~~~~~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/Factory/Factory/Containers.swift:206:31: error: value of type 'SpinLock' has no member 'withLock'
        get { globalDebugLock.withLock { globalTraceFlag } }
              ~~~~~~~~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/Factory/Factory/Containers.swift:207:31: error: value of type 'SpinLock' has no member 'withLock'
        set { globalDebugLock.withLock { globalTraceFlag = newValue } }
              ~~~~~~~~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/Factory/Factory/Containers.swift:212:31: error: value of type 'SpinLock' has no member 'withLock'
        get { globalDebugLock.withLock { globalLogger } }
              ~~~~~~~~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/Factory/Factory/Containers.swift:213:31: error: value of type 'SpinLock' has no member 'withLock'
        set { globalDebugLock.withLock { globalLogger = newValue } }
              ~~~~~~~~~~~~~~~ ^~~~~~~~
error: fatalError
BUILD FAILURE 5.10 linux