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 BMO, reference main (5d46c8), with Swift 5.10 for Linux on 8 Mar 2025 07:07:11 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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.60.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Frizlab/BMO.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/Frizlab/BMO
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 5d46c8b Dummy typo fix
Cloned https://github.com/Frizlab/BMO.git
Revision (git rev-parse @):
5d46c8b2d3487a80ef612e9f48ded7bd757e9453
SUCCESS checkout https://github.com/Frizlab/BMO.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $PWD
https://github.com/Frizlab/BMO.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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:8b386ca1081dd55ec0944429387f246ccb59ef99c9c8cbb418b0abd78460b38f
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.10-latest
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/23] Emitting module BMO
[5/25] Compiling BMO RequestHelperCollection.swift
[6/25] Compiling BMO RequestHelperCollectionForOldRuntimes.swift
[7/25] Compiling BMO RelationshipMergeType.swift
[8/25] Compiling BMO MapError.swift
[9/25] Compiling BMO Result+Utils.swift
[10/25] Compiling BMO DummyRequestHelper.swift
[11/25] Compiling BMO RequestResult.swift
[12/25] Compiling BMO ErrorCollection.swift
[13/25] Compiling BMO OperationLifecycleError.swift
[14/25] Compiling BMO RequestError.swift
[15/25] Compiling BMO GenericLocalDbObject.swift
[16/25] Compiling BMO LocalDbChanges.swift
[17/25] Compiling BMO Request.swift
/host/spi-builder-workspace/Sources/BMO/Core/RequestOperation.swift:40:8: error: value of type 'NSRecursiveLock' has no member 'withLock'
                lock.withLock{ _result }
                ~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/BMO/Core/RequestOperation.swift:61:8: error: value of type 'NSRecursiveLock' has no member 'withLock'
                lock.withLock{ _result = .failure(RequestError(failureStep: .none, lifecycleError: .inProgress)) }
                ~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/BMO/Core/RequestOperation.swift:129:8: error: value of type 'NSRecursiveLock' has no member 'withLock'
                lock.withLock{
                ~~~~ ^~~~~~~~
[18/25] Compiling BMO RequestHelper-Protocol.swift
/host/spi-builder-workspace/Sources/BMO/Core/RequestOperation.swift:40:8: error: value of type 'NSRecursiveLock' has no member 'withLock'
                lock.withLock{ _result }
                ~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/BMO/Core/RequestOperation.swift:61:8: error: value of type 'NSRecursiveLock' has no member 'withLock'
                lock.withLock{ _result = .failure(RequestError(failureStep: .none, lifecycleError: .inProgress)) }
                ~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/BMO/Core/RequestOperation.swift:129:8: error: value of type 'NSRecursiveLock' has no member 'withLock'
                lock.withLock{
                ~~~~ ^~~~~~~~
[19/25] Compiling BMO RequestOperation.swift
/host/spi-builder-workspace/Sources/BMO/Core/RequestOperation.swift:40:8: error: value of type 'NSRecursiveLock' has no member 'withLock'
                lock.withLock{ _result }
                ~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/BMO/Core/RequestOperation.swift:61:8: error: value of type 'NSRecursiveLock' has no member 'withLock'
                lock.withLock{ _result = .failure(RequestError(failureStep: .none, lifecycleError: .inProgress)) }
                ~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/BMO/Core/RequestOperation.swift:129:8: error: value of type 'NSRecursiveLock' has no member 'withLock'
                lock.withLock{
                ~~~~ ^~~~~~~~
[20/25] Compiling BMO Bridge-Protocol.swift
[21/25] Compiling BMO BridgeObjects-Protocol.swift
[22/25] Compiling BMO LocalDb-Protocol.swift
[23/25] Compiling BMO LocalDbImportOperation.swift
/host/spi-builder-workspace/Sources/BMO/Core/LocalDbImportOperation.swift:69:13: error: value of type 'NSLock' has no member 'withLock'
                get {lock.withLock{ _result }}
                     ~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/BMO/Core/LocalDbImportOperation.swift:70:13: error: value of type 'NSLock' has no member 'withLock'
                set {lock.withLock{ _result = newValue }}
                     ~~~~ ^~~~~~~~
[24/25] Compiling BMO LocalDbImporter-Protocol.swift
/host/spi-builder-workspace/Sources/BMO/Core/LocalDbImportOperation.swift:69:13: error: value of type 'NSLock' has no member 'withLock'
                get {lock.withLock{ _result }}
                     ~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/BMO/Core/LocalDbImportOperation.swift:70:13: error: value of type 'NSLock' has no member 'withLock'
                set {lock.withLock{ _result = newValue }}
                     ~~~~ ^~~~~~~~
[25/25] Compiling BMO RemoteDb-Protocol.swift
/host/spi-builder-workspace/Sources/BMO/Core/LocalDbImportOperation.swift:69:13: error: value of type 'NSLock' has no member 'withLock'
                get {lock.withLock{ _result }}
                     ~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/BMO/Core/LocalDbImportOperation.swift:70:13: error: value of type 'NSLock' has no member 'withLock'
                set {lock.withLock{ _result = newValue }}
                     ~~~~ ^~~~~~~~
error: fatalError
BUILD FAILURE 5.10 linux