Build Information
Failed to build CollectionLoader with Swift 5.10 for Linux.
Build Command
bash -c docker run --rm -v "checkouts-4609320-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.29.0
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.10
Building package at path: $workDir
https://github.com/Frizlab/CollectionLoader.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Fetching https://github.com/Frizlab/BMO.git
[1/2440] Fetching bmo
Fetched https://github.com/Frizlab/BMO.git from cache (0.33s)
Creating working copy for https://github.com/Frizlab/BMO.git
Working copy of https://github.com/Frizlab/BMO.git resolved at main (8af6b08)
Building for debugging...
[0/5] Write sources
[4/5] Write swift-version-24593BA9C3E375BF.txt
[6/37] Emitting module BMO
[7/39] Compiling CollectionLoader PageInfoRetriever-Protocol.swift
[8/39] Compiling CollectionLoader ConcurrentLoadBehavior.swift
[9/40] Compiling BMO Result+Utils.swift
[10/40] Compiling BMO DummyRequestHelper.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 }}
~~~~ ^~~~~~~~
[12/40] Compiling CollectionLoader CollectionLoaderHelper-Protocol.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 }}
~~~~ ^~~~~~~~
[13/40] Compiling CollectionLoader PageInfo-Protocol.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 }}
~~~~ ^~~~~~~~
[14/40] Compiling BMO RelationshipMergeType.swift
[15/40] Compiling BMO MapError.swift
[16/40] Compiling BMO RequestHelperCollection.swift
[17/40] Compiling BMO RequestHelperCollectionForOldRuntimes.swift
[18/40] Compiling CollectionLoader LoadingOperationDelegate.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{
~~~~ ^~~~~~~~
[19/40] Compiling CollectionLoader PageLoadDescription.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{
~~~~ ^~~~~~~~
[20/40] 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{
~~~~ ^~~~~~~~
[21/40] Compiling CollectionLoader Operation+Utils.swift
[22/40] Compiling CollectionLoader BlockCollectionLoaderDelegate.swift
[25/40] Compiling CollectionLoader PageLoadReason.swift
[28/40] Emitting module CollectionLoader
[29/40] Compiling CollectionLoader CollectionLoader.swift
[30/40] Compiling CollectionLoader CollectionLoaderDelegate.swift
[31/40] Compiling BMO RequestResult.swift
[32/40] Compiling BMO ErrorCollection.swift
[33/40] Compiling BMO OperationLifecycleError.swift
[34/40] Compiling BMO RequestError.swift
[35/40] Compiling BMO GenericLocalDbObject.swift
[36/40] Compiling BMO LocalDbChanges.swift
error: fatalError
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/10] Compiling BMO LocalDbImporter-Protocol.swift
[3/12] 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 }}
~~~~ ^~~~~~~~
[4/12] Emitting module CollectionLoader
[5/12] Compiling BMO RequestHelper-Protocol.swift
[6/12] Compiling BMO Request.swift
[7/12] Compiling BMO RemoteDb-Protocol.swift
[8/12] 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{
~~~~ ^~~~~~~~
[9/17] Compiling BMO Bridge-Protocol.swift
[10/17] Compiling BMO RequestError.swift
[11/17] Compiling CollectionLoader PageLoadDescription.Reason+Utils.swift
[12/21] Emitting module BMO
[13/21] Compiling CollectionLoader PageLoadDescription.swift
[14/21] Compiling CollectionLoader BlockCollectionLoaderDelegate.swift
[15/21] Compiling BMO BridgeObjects-Protocol.swift
[16/21] Compiling BMO DummyRequestHelper.swift
[17/21] Compiling BMO RequestHelperCollection.swift
[18/21] Compiling BMO RequestHelperCollectionForOldRuntimes.swift
[19/21] Compiling BMO GenericLocalDbObject.swift
[20/21] Compiling CollectionLoader CollectionLoaderDelegate.swift
[21/21] Compiling CollectionLoader CollectionLoader.swift
error: fatalError
BUILD FAILURE 5.10 linux