Build Information
Failed to build SmartNetwork, reference 5.6.8 (5e59d3
), with Swift 5.9 for Linux on 11 Jun 2025 19:06:55 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.9-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/NikSativa/SmartNetwork.git
Reference: 5.6.8
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/NikSativa/SmartNetwork
* tag 5.6.8 -> FETCH_HEAD
HEAD is now at 5e59d30 upd SwiftFormat rules and github actions and Threading with new AtomicValue
Cloned https://github.com/NikSativa/SmartNetwork.git
Revision (git rev-parse @):
5e59d305db8ee64fdf78b8780eae234197360e89
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/NikSativa/SmartNetwork.git at 5.6.8
========================================
Build
========================================
Selected platform: linux
Swift version: 5.9
Building package at path: $PWD
https://github.com/NikSativa/SmartNetwork.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.9-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-5.9-latest: Pulling from finestructure/spi-images
Digest: sha256:943c57f5f023c04804daf623375860c13f93d33d0cb4f0a89054871e5f11529c
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.9-latest
Fetching https://github.com/NikSativa/Threading.git
Fetching https://github.com/NikSativa/SpryKit.git
[1/463] Fetching threading
[464/1430] Fetching threading, sprykit
Fetched https://github.com/NikSativa/SpryKit.git (0.24s)
Fetched https://github.com/NikSativa/Threading.git (0.24s)
Computing version for https://github.com/NikSativa/Threading.git
Computed https://github.com/NikSativa/Threading.git at 2.2.0 (0.38s)
Computing version for https://github.com/NikSativa/SpryKit.git
Computed https://github.com/NikSativa/SpryKit.git at 3.0.4 (0.77s)
Fetching https://github.com/mattgallagher/CwlPreconditionTesting.git
[1/1257] Fetching cwlpreconditiontesting
Fetched https://github.com/mattgallagher/CwlPreconditionTesting.git (0.22s)
Computing version for https://github.com/mattgallagher/CwlPreconditionTesting.git
Computed https://github.com/mattgallagher/CwlPreconditionTesting.git at 2.2.2 (1.36s)
Fetching https://github.com/mattgallagher/CwlCatchException.git
[1/455] Fetching cwlcatchexception
Fetched https://github.com/mattgallagher/CwlCatchException.git (0.26s)
Computing version for https://github.com/mattgallagher/CwlCatchException.git
Computed https://github.com/mattgallagher/CwlCatchException.git at 2.2.1 (0.41s)
Creating working copy for https://github.com/NikSativa/SpryKit.git
Working copy of https://github.com/NikSativa/SpryKit.git resolved at 3.0.4
Creating working copy for https://github.com/mattgallagher/CwlCatchException.git
Working copy of https://github.com/mattgallagher/CwlCatchException.git resolved at 2.2.1
Creating working copy for https://github.com/mattgallagher/CwlPreconditionTesting.git
Working copy of https://github.com/mattgallagher/CwlPreconditionTesting.git resolved at 2.2.2
Creating working copy for https://github.com/NikSativa/Threading.git
Working copy of https://github.com/NikSativa/Threading.git resolved at 2.2.0
Building for debugging...
[0/2] Copying PrivacyInfo.xcprivacy
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/24] Emitting module Threading
/host/spi-builder-workspace/.build/checkouts/Threading/Source/Lockers/UnfairLock.swift:20:25: error: cannot find 'os_unfair_lock' in scope
private var _lock = os_unfair_lock()
^~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Threading/Source/Queue/Queue.swift:16:15: error: type 'Queue' does not conform to protocol 'Equatable'
public struct Queue: Equatable {
^
/host/spi-builder-workspace/.build/checkouts/Threading/Source/Queue/Queue.swift:61:9: note: stored property type 'DispatchQueue' does not conform to protocol 'Equatable', preventing synthesized conformance of 'Queue' to 'Equatable'
let sdk: DispatchQueue
^
Swift.==:1:24: note: candidate would match if 'Queue' conformed to 'RawRepresentable'
@inlinable public func == <T>(lhs: T, rhs: T) -> Bool where T : RawRepresentable, T.RawValue : Equatable
^
Swift.FloatingPoint:2:24: note: candidate would match if 'Queue' conformed to 'FloatingPoint'
public static func == (lhs: Self, rhs: Self) -> Bool
^
Swift.BinaryInteger:2:24: note: candidate would match if 'Queue' conformed to 'BinaryInteger'
public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : BinaryInteger
^
Swift._Pointer:2:24: note: candidate would match if 'Queue' conformed to '_Pointer'
public static func == (lhs: Self, rhs: Self) -> Bool
^
Swift._Pointer:3:35: note: candidate would match if 'Queue' conformed to '_Pointer'
@inlinable public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : _Pointer
^
Swift.Strideable:3:35: note: candidate would match if 'Queue' conformed to 'Strideable'
@inlinable public static func == (x: Self, y: Self) -> Bool
^
Swift.StringProtocol:2:35: note: candidate would match if 'Queue' conformed to 'StringProtocol'
@inlinable public static func == <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : StringProtocol
^
Swift.SIMD:4:24: note: candidate would match if 'Queue' conformed to 'SIMD'
public static func == (a: Self, b: Self) -> Bool
^
Foundation.AttributedStringProtocol:5:24: note: candidate would match if 'Queue' conformed to 'AttributedStringProtocol'
public static func == <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : AttributedStringProtocol
^
Foundation.__BridgedNSError:2:24: note: candidate would match if 'Queue' conformed to '__BridgedNSError'
public static func == (lhs: Self, rhs: Self) -> Bool
^
Foundation._BridgedStoredNSError:2:24: note: candidate would match if 'Queue' conformed to '_BridgedStoredNSError'
public static func == (lhs: Self, rhs: Self) -> Bool
^
Swift.Equatable:2:17: note: protocol requires function '==' with type '(Queue, Queue) -> Bool'
static func == (lhs: Self, rhs: Self) -> Bool
^
[4/27] Compiling Threading DispatchTime+Queue.swift
/host/spi-builder-workspace/.build/checkouts/Threading/Source/Queue/Queue.swift:16:15: error: type 'Queue' does not conform to protocol 'Equatable'
public struct Queue: Equatable {
^
/host/spi-builder-workspace/.build/checkouts/Threading/Source/Queue/Queue.swift:61:9: note: stored property type 'DispatchQueue' does not conform to protocol 'Equatable', preventing synthesized conformance of 'Queue' to 'Equatable'
let sdk: DispatchQueue
^
Swift.==:1:24: note: candidate would match if 'Queue' conformed to 'RawRepresentable'
@inlinable public func == <T>(lhs: T, rhs: T) -> Bool where T : RawRepresentable, T.RawValue : Equatable
^
Swift.FloatingPoint:2:24: note: candidate would match if 'Queue' conformed to 'FloatingPoint'
public static func == (lhs: Self, rhs: Self) -> Bool
^
Swift.BinaryInteger:2:24: note: candidate would match if 'Queue' conformed to 'BinaryInteger'
public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : BinaryInteger
^
Swift._Pointer:2:24: note: candidate would match if 'Queue' conformed to '_Pointer'
public static func == (lhs: Self, rhs: Self) -> Bool
^
Swift._Pointer:3:35: note: candidate would match if 'Queue' conformed to '_Pointer'
@inlinable public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : _Pointer
^
Swift.Strideable:3:35: note: candidate would match if 'Queue' conformed to 'Strideable'
@inlinable public static func == (x: Self, y: Self) -> Bool
^
Swift.StringProtocol:2:35: note: candidate would match if 'Queue' conformed to 'StringProtocol'
@inlinable public static func == <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : StringProtocol
^
Swift.SIMD:4:24: note: candidate would match if 'Queue' conformed to 'SIMD'
public static func == (a: Self, b: Self) -> Bool
^
Foundation.AttributedStringProtocol:5:24: note: candidate would match if 'Queue' conformed to 'AttributedStringProtocol'
public static func == <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : AttributedStringProtocol
^
Foundation.__BridgedNSError:2:24: note: candidate would match if 'Queue' conformed to '__BridgedNSError'
public static func == (lhs: Self, rhs: Self) -> Bool
^
Foundation._BridgedStoredNSError:2:24: note: candidate would match if 'Queue' conformed to '_BridgedStoredNSError'
public static func == (lhs: Self, rhs: Self) -> Bool
^
Swift.Equatable:2:17: note: protocol requires function '==' with type '(Queue, Queue) -> Bool'
static func == (lhs: Self, rhs: Self) -> Bool
^
[5/27] Compiling Threading Queue+Queueable.swift
/host/spi-builder-workspace/.build/checkouts/Threading/Source/Queue/Queue.swift:16:15: error: type 'Queue' does not conform to protocol 'Equatable'
public struct Queue: Equatable {
^
/host/spi-builder-workspace/.build/checkouts/Threading/Source/Queue/Queue.swift:61:9: note: stored property type 'DispatchQueue' does not conform to protocol 'Equatable', preventing synthesized conformance of 'Queue' to 'Equatable'
let sdk: DispatchQueue
^
Swift.==:1:24: note: candidate would match if 'Queue' conformed to 'RawRepresentable'
@inlinable public func == <T>(lhs: T, rhs: T) -> Bool where T : RawRepresentable, T.RawValue : Equatable
^
Swift.FloatingPoint:2:24: note: candidate would match if 'Queue' conformed to 'FloatingPoint'
public static func == (lhs: Self, rhs: Self) -> Bool
^
Swift.BinaryInteger:2:24: note: candidate would match if 'Queue' conformed to 'BinaryInteger'
public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : BinaryInteger
^
Swift._Pointer:2:24: note: candidate would match if 'Queue' conformed to '_Pointer'
public static func == (lhs: Self, rhs: Self) -> Bool
^
Swift._Pointer:3:35: note: candidate would match if 'Queue' conformed to '_Pointer'
@inlinable public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : _Pointer
^
Swift.Strideable:3:35: note: candidate would match if 'Queue' conformed to 'Strideable'
@inlinable public static func == (x: Self, y: Self) -> Bool
^
Swift.StringProtocol:2:35: note: candidate would match if 'Queue' conformed to 'StringProtocol'
@inlinable public static func == <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : StringProtocol
^
Swift.SIMD:4:24: note: candidate would match if 'Queue' conformed to 'SIMD'
public static func == (a: Self, b: Self) -> Bool
^
Foundation.AttributedStringProtocol:5:24: note: candidate would match if 'Queue' conformed to 'AttributedStringProtocol'
public static func == <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : AttributedStringProtocol
^
Foundation.__BridgedNSError:2:24: note: candidate would match if 'Queue' conformed to '__BridgedNSError'
public static func == (lhs: Self, rhs: Self) -> Bool
^
Foundation._BridgedStoredNSError:2:24: note: candidate would match if 'Queue' conformed to '_BridgedStoredNSError'
public static func == (lhs: Self, rhs: Self) -> Bool
^
Swift.Equatable:2:17: note: protocol requires function '==' with type '(Queue, Queue) -> Bool'
static func == (lhs: Self, rhs: Self) -> Bool
^
[6/27] Compiling Threading Queue.swift
/host/spi-builder-workspace/.build/checkouts/Threading/Source/Queue/Queue.swift:16:15: error: type 'Queue' does not conform to protocol 'Equatable'
public struct Queue: Equatable {
^
/host/spi-builder-workspace/.build/checkouts/Threading/Source/Queue/Queue.swift:61:9: note: stored property type 'DispatchQueue' does not conform to protocol 'Equatable', preventing synthesized conformance of 'Queue' to 'Equatable'
let sdk: DispatchQueue
^
Swift.==:1:24: note: candidate would match if 'Queue' conformed to 'RawRepresentable'
@inlinable public func == <T>(lhs: T, rhs: T) -> Bool where T : RawRepresentable, T.RawValue : Equatable
^
Swift.FloatingPoint:2:24: note: candidate would match if 'Queue' conformed to 'FloatingPoint'
public static func == (lhs: Self, rhs: Self) -> Bool
^
Swift.BinaryInteger:2:24: note: candidate would match if 'Queue' conformed to 'BinaryInteger'
public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : BinaryInteger
^
Swift._Pointer:2:24: note: candidate would match if 'Queue' conformed to '_Pointer'
public static func == (lhs: Self, rhs: Self) -> Bool
^
Swift._Pointer:3:35: note: candidate would match if 'Queue' conformed to '_Pointer'
@inlinable public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : _Pointer
^
Swift.Strideable:3:35: note: candidate would match if 'Queue' conformed to 'Strideable'
@inlinable public static func == (x: Self, y: Self) -> Bool
^
Swift.StringProtocol:2:35: note: candidate would match if 'Queue' conformed to 'StringProtocol'
@inlinable public static func == <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : StringProtocol
^
Swift.SIMD:4:24: note: candidate would match if 'Queue' conformed to 'SIMD'
public static func == (a: Self, b: Self) -> Bool
^
Foundation.AttributedStringProtocol:5:24: note: candidate would match if 'Queue' conformed to 'AttributedStringProtocol'
public static func == <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : AttributedStringProtocol
^
Foundation.__BridgedNSError:2:24: note: candidate would match if 'Queue' conformed to '__BridgedNSError'
public static func == (lhs: Self, rhs: Self) -> Bool
^
Foundation._BridgedStoredNSError:2:24: note: candidate would match if 'Queue' conformed to '_BridgedStoredNSError'
public static func == (lhs: Self, rhs: Self) -> Bool
^
Swift.Equatable:2:17: note: protocol requires function '==' with type '(Queue, Queue) -> Bool'
static func == (lhs: Self, rhs: Self) -> Bool
^
[7/27] Compiling Threading SyncMutex.swift
[8/27] Compiling Threading Mutexing.swift
[9/27] Compiling Threading DelayedQueue.swift
[10/27] Compiling Threading IsolatedMain.swift
[11/27] Compiling Threading NSLock.swift
[12/27] Compiling Threading NSRecursiveLock.swift
[13/27] Compiling Threading UnfairLock.swift
/host/spi-builder-workspace/.build/checkouts/Threading/Source/Lockers/UnfairLock.swift:20:25: error: cannot find 'os_unfair_lock' in scope
private var _lock = os_unfair_lock()
^~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Threading/Source/Lockers/UnfairLock.swift:40:9: error: cannot find 'os_unfair_lock_lock' in scope
os_unfair_lock_lock(&_lock)
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Threading/Source/Lockers/UnfairLock.swift:55:16: error: cannot find 'os_unfair_lock_trylock' in scope
return os_unfair_lock_trylock(&_lock)
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Threading/Source/Lockers/UnfairLock.swift:69:9: error: cannot find 'os_unfair_lock_unlock' in scope
os_unfair_lock_unlock(&_lock)
^~~~~~~~~~~~~~~~~~~~~
[14/27] Compiling Threading Locking.swift
/host/spi-builder-workspace/.build/checkouts/Threading/Source/Lockers/UnfairLock.swift:20:25: error: cannot find 'os_unfair_lock' in scope
private var _lock = os_unfair_lock()
^~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Threading/Source/Lockers/UnfairLock.swift:40:9: error: cannot find 'os_unfair_lock_lock' in scope
os_unfair_lock_lock(&_lock)
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Threading/Source/Lockers/UnfairLock.swift:55:16: error: cannot find 'os_unfair_lock_trylock' in scope
return os_unfair_lock_trylock(&_lock)
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Threading/Source/Lockers/UnfairLock.swift:69:9: error: cannot find 'os_unfair_lock_unlock' in scope
os_unfair_lock_unlock(&_lock)
^~~~~~~~~~~~~~~~~~~~~
[15/27] Compiling Threading MutexInitializable.swift
/host/spi-builder-workspace/.build/checkouts/Threading/Source/Lockers/UnfairLock.swift:20:25: error: cannot find 'os_unfair_lock' in scope
private var _lock = os_unfair_lock()
^~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Threading/Source/Lockers/UnfairLock.swift:40:9: error: cannot find 'os_unfair_lock_lock' in scope
os_unfair_lock_lock(&_lock)
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Threading/Source/Lockers/UnfairLock.swift:55:16: error: cannot find 'os_unfair_lock_trylock' in scope
return os_unfair_lock_trylock(&_lock)
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Threading/Source/Lockers/UnfairLock.swift:69:9: error: cannot find 'os_unfair_lock_unlock' in scope
os_unfair_lock_unlock(&_lock)
^~~~~~~~~~~~~~~~~~~~~
[16/27] Compiling Threading Queueable.swift
[17/27] Compiling Threading USendable.swift
[18/27] Compiling Threading resource_bundle_accessor.swift
[19/27] Compiling Threading AnyLock.swift
/host/spi-builder-workspace/.build/checkouts/Threading/Source/Lockers/UnfairLock.swift:20:25: error: cannot find 'os_unfair_lock' in scope
private var _lock = os_unfair_lock()
^~~~~~~~~~~~~~
[20/27] Compiling Threading AnyMutex.swift
/host/spi-builder-workspace/.build/checkouts/Threading/Source/Lockers/UnfairLock.swift:20:25: error: cannot find 'os_unfair_lock' in scope
private var _lock = os_unfair_lock()
^~~~~~~~~~~~~~
[21/27] Compiling Threading AtomicValue.swift
/host/spi-builder-workspace/.build/checkouts/Threading/Source/Lockers/UnfairLock.swift:20:25: error: cannot find 'os_unfair_lock' in scope
private var _lock = os_unfair_lock()
^~~~~~~~~~~~~~
[22/27] Compiling Threading OSAllocatedUnfairLock.swift
/host/spi-builder-workspace/.build/checkouts/Threading/Source/Lockers/PThread.swift:82:46: error: cannot convert value of type 'Int' to expected argument type 'Int32'
pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_NORMAL)
^
Int32( )
/host/spi-builder-workspace/.build/checkouts/Threading/Source/Lockers/PThread.swift:84:46: error: cannot convert value of type 'Int' to expected argument type 'Int32'
pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE)
^
Int32( )
[23/27] Compiling Threading PThread.swift
/host/spi-builder-workspace/.build/checkouts/Threading/Source/Lockers/PThread.swift:82:46: error: cannot convert value of type 'Int' to expected argument type 'Int32'
pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_NORMAL)
^
Int32( )
/host/spi-builder-workspace/.build/checkouts/Threading/Source/Lockers/PThread.swift:84:46: error: cannot convert value of type 'Int' to expected argument type 'Int32'
pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE)
^
Int32( )
[24/27] Compiling Threading Semaphore.swift
/host/spi-builder-workspace/.build/checkouts/Threading/Source/Lockers/PThread.swift:82:46: error: cannot convert value of type 'Int' to expected argument type 'Int32'
pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_NORMAL)
^
Int32( )
/host/spi-builder-workspace/.build/checkouts/Threading/Source/Lockers/PThread.swift:84:46: error: cannot convert value of type 'Int' to expected argument type 'Int32'
pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE)
^
Int32( )
[25/27] Compiling Threading LockedValue.swift
[26/27] Compiling Threading OSAllocatedUnfairMutex.swift
[27/27] Compiling Threading QueueBarrier.swift
error: fatalError
BUILD FAILURE 5.9 linux