Build Information
Failed to build CollectionLoader with Swift 5.9 for Linux.
Build Command
Build command unavailable
Build Log
========================================
RunAll
========================================
Builder version: 4.27.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Frizlab/CollectionLoader.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/CollectionLoader
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 99f6833 Start API order property implementation in search loader
Cloned https://github.com/Frizlab/CollectionLoader.git
Revision (git rev-parse @):
99f6833471eb978b36e84a2ec655003cc44274c1
SUCCESS checkout https://github.com/Frizlab/CollectionLoader.git at main
========================================
Build
========================================
Selected platform: linux
Swift version: 5.9
Building package at path: $PWD/checkout
Running build ...
bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$PWD/checkout" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1
Fetching https://github.com/Frizlab/BMO.git
[1/2336] Fetching bmo
Fetched https://github.com/Frizlab/BMO.git (0.36s)
Creating working copy for https://github.com/Frizlab/BMO.git
Working copy of https://github.com/Frizlab/BMO.git resolved at main
Building for debugging...
[1/32] Compiling BMO Result+Utils.swift
[2/32] Compiling BMO DummyRequestHelper.swift
[3/34] Compiling BMO RequestError.swift
[4/34] Compiling BMO GenericLocalDbObject.swift
[5/34] Compiling BMO LocalDbChanges.swift
[6/34] Compiling CollectionLoader Operation+Utils.swift
[7/35] Compiling BMO RelationshipMergeType.swift
[8/35] Compiling BMO MapError.swift
[9/35] Compiling CollectionLoader PageLoadReason.swift
[10/35] Compiling BMO RequestHelper-Protocol.swift
[11/35] Compiling BMO RequestOperation.swift
[12/35] Compiling BMO RemoteDb-Protocol.swift
[13/35] Compiling BMO Request.swift
[14/35] Compiling BMO Bridge-Protocol.swift
[15/35] Compiling BMO BridgeObjects-Protocol.swift
[16/35] Emitting module CollectionLoader
[17/35] Compiling BMO LocalDbImportOperation.swift
[18/35] Compiling BMO LocalDbImporter-Protocol.swift
[19/35] Emitting module BMO
[20/35] Compiling CollectionLoader BlockCollectionLoaderDelegate.swift
[21/35] Compiling BMO RequestResult.swift
[22/35] Compiling BMO ErrorCollection.swift
[23/35] Compiling BMO OperationLifecycleError.swift
[24/35] Compiling CollectionLoader PageLoadDescription.Reason+Utils.swift
[27/36] Compiling BMO LocalDb-Protocol.swift
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMO/Core/RequestOperation.swift:40:8: error: value of type 'NSRecursiveLock' has no member 'withLock'
lock.withLock{ _result }
~~~~ ^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/BMO/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/.build/checkouts/BMO/Sources/BMO/Core/RequestOperation.swift:129:8: error: value of type 'NSRecursiveLock' has no member 'withLock'
lock.withLock{
~~~~ ^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMO/Core/RequestOperation.swift:40:8: error: value of type 'NSRecursiveLock' has no member 'withLock'
lock.withLock{ _result }
~~~~ ^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/BMO/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/.build/checkouts/BMO/Sources/BMO/Core/RequestOperation.swift:129:8: error: value of type 'NSRecursiveLock' has no member 'withLock'
lock.withLock{
~~~~ ^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMO/Core/RequestOperation.swift:40:8: error: value of type 'NSRecursiveLock' has no member 'withLock'
lock.withLock{ _result }
~~~~ ^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/BMO/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/.build/checkouts/BMO/Sources/BMO/Core/RequestOperation.swift:129:8: error: value of type 'NSRecursiveLock' has no member 'withLock'
lock.withLock{
~~~~ ^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMO/Core/LocalDbImportOperation.swift:68:13: error: value of type 'NSLock' has no member 'withLock'
get {lock.withLock{ _result }}
~~~~ ^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMO/Core/LocalDbImportOperation.swift:69:13: error: value of type 'NSLock' has no member 'withLock'
set {lock.withLock{ _result = newValue }}
~~~~ ^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMO/Core/LocalDbImportOperation.swift:68:13: error: value of type 'NSLock' has no member 'withLock'
get {lock.withLock{ _result }}
~~~~ ^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMO/Core/LocalDbImportOperation.swift:69:13: error: value of type 'NSLock' has no member 'withLock'
set {lock.withLock{ _result = newValue }}
~~~~ ^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMO/Core/LocalDbImportOperation.swift:68:13: error: value of type 'NSLock' has no member 'withLock'
get {lock.withLock{ _result }}
~~~~ ^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMO/Core/LocalDbImportOperation.swift:69:13: error: value of type 'NSLock' has no member 'withLock'
set {lock.withLock{ _result = newValue }}
~~~~ ^~~~~~~~
[35/37] Compiling BMO RequestHelperCollection.swift
[36/37] Compiling BMO RequestHelperCollectionForOldRuntimes.swift
error: fatalError
[0/1] Planning build
Building for debugging...
[1/8] Emitting module CollectionLoader
[3/10] Compiling BMO RequestHelper-Protocol.swift
[4/10] Compiling BMO Request.swift
[5/10] Compiling BMO RemoteDb-Protocol.swift
[6/10] Emitting module BMO
[7/10] Compiling BMO LocalDbImporter-Protocol.swift
[8/10] Compiling BMO LocalDbImportOperation.swift
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMO/Core/LocalDbImportOperation.swift:68:13: error: value of type 'NSLock' has no member 'withLock'
get {lock.withLock{ _result }}
~~~~ ^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMO/Core/LocalDbImportOperation.swift:69:13: error: value of type 'NSLock' has no member 'withLock'
set {lock.withLock{ _result = newValue }}
~~~~ ^~~~~~~~
[9/10] Compiling BMO RequestOperation.swift
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMO/Core/RequestOperation.swift:40:8: error: value of type 'NSRecursiveLock' has no member 'withLock'
lock.withLock{ _result }
~~~~ ^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/BMO/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/.build/checkouts/BMO/Sources/BMO/Core/RequestOperation.swift:129:8: error: value of type 'NSRecursiveLock' has no member 'withLock'
lock.withLock{
~~~~ ^~~~~~~~
[11/17] Compiling BMO RequestError.swift
[12/17] Compiling BMO RequestHelperCollectionForOldRuntimes.swift
[13/17] Compiling BMO RequestHelperCollection.swift
[14/17] Compiling BMO Bridge-Protocol.swift
[15/17] Compiling BMO BridgeObjects-Protocol.swift
[16/17] Compiling BMO DummyRequestHelper.swift
[17/17] Compiling BMO GenericLocalDbObject.swift
error: fatalError
BUILD FAILURE 5.9 linux