Build Information
Failed to build DefferedTaskKit with Swift 5.9 for Linux.
Build Command
bash -c docker run --rm -v "checkouts-4606859-1":/host -w "$workDir" 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.35.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/NikSativa/DefferedTaskKit.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/NikSativa/DefferedTaskKit
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at e904712 badges added
Cloned https://github.com/NikSativa/DefferedTaskKit.git
Revision (git rev-parse @):
e904712099747bc0c8b6668853120c4a7ea5b318
SUCCESS checkout https://github.com/NikSativa/DefferedTaskKit.git at main
========================================
Build
========================================
Selected platform: linux
Swift version: 5.9
Building package at path: $workDir
https://github.com/NikSativa/DefferedTaskKit.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Fetching https://github.com/mattgallagher/CwlPreconditionTesting.git
Fetching https://github.com/mattgallagher/CwlCatchException.git
Fetching https://github.com/NikSativa/SpryKit.git
[1/439] Fetching cwlcatchexception
[440/1187] Fetching cwlcatchexception, sprykit
[463/2434] Fetching cwlcatchexception, sprykit, cwlpreconditiontesting
Fetching https://github.com/NikSativa/Threading.git
Fetched https://github.com/NikSativa/SpryKit.git (0.25s)
Fetched https://github.com/mattgallagher/CwlCatchException.git (0.24s)
Fetched https://github.com/mattgallagher/CwlPreconditionTesting.git (0.25s)
[1/358] Fetching threading
Fetched https://github.com/NikSativa/Threading.git (0.20s)
Computing version for https://github.com/NikSativa/SpryKit.git
Computed https://github.com/NikSativa/SpryKit.git at 2.2.3 (0.33s)
Computing version for https://github.com/NikSativa/Threading.git
Computed https://github.com/NikSativa/Threading.git at 1.3.5 (0.32s)
Computing version for https://github.com/mattgallagher/CwlPreconditionTesting.git
Computed https://github.com/mattgallagher/CwlPreconditionTesting.git at 2.2.1 (0.99s)
Computing version for https://github.com/mattgallagher/CwlCatchException.git
Computed https://github.com/mattgallagher/CwlCatchException.git at 2.2.0 (0.36s)
Creating working copy for https://github.com/NikSativa/Threading.git
Working copy of https://github.com/NikSativa/Threading.git resolved at 1.3.5
Creating working copy for https://github.com/mattgallagher/CwlCatchException.git
Working copy of https://github.com/mattgallagher/CwlCatchException.git resolved at 2.2.0
Creating working copy for https://github.com/NikSativa/SpryKit.git
Working copy of https://github.com/NikSativa/SpryKit.git resolved at 2.2.3
Creating working copy for https://github.com/mattgallagher/CwlPreconditionTesting.git
Working copy of https://github.com/mattgallagher/CwlPreconditionTesting.git resolved at 2.2.1
Building for debugging...
[1/7] Compiling Threading DelayedQueue.swift
[2/7] Compiling Threading DispatchTime+Queue.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/7] Emitting module Threading
/host/spi-builder-workspace/.build/checkouts/Threading/Source/Atomic.swift:187:29: error: cannot find 'os_unfair_lock' in scope
private var _lock = os_unfair_lock()
^~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Threading/Source/Queue.swift:3:15: error: type 'Queue' does not conform to protocol 'Equatable'
public struct Queue: Equatable {
^
/host/spi-builder-workspace/.build/checkouts/Threading/Source/Queue.swift:68:16: note: stored property type 'DispatchQueue' does not conform to protocol 'Equatable', preventing synthesized conformance of 'Queue' to 'Equatable'
public 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/7] Compiling Threading Atomic.swift
/host/spi-builder-workspace/.build/checkouts/Threading/Source/Atomic.swift:187:29: error: cannot find 'os_unfair_lock' in scope
private var _lock = os_unfair_lock()
^~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Threading/Source/Atomic.swift:190:13: error: cannot find 'os_unfair_lock_lock' in scope
os_unfair_lock_lock(&_lock)
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Threading/Source/Atomic.swift:194:20: error: cannot find 'os_unfair_lock_trylock' in scope
return os_unfair_lock_trylock(&_lock)
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Threading/Source/Atomic.swift:198:13: error: cannot find 'os_unfair_lock_unlock' in scope
os_unfair_lock_unlock(&_lock)
^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Threading/Source/Atomic.swift:239:50: 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/Atomic.swift:241:50: error: cannot convert value of type 'Int' to expected argument type 'Int32'
pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE)
^
Int32( )
[5/7] Compiling Threading Queue+Queueable.swift
[6/7] Compiling Threading Queueable.swift
[7/7] Compiling Threading Queue.swift
/host/spi-builder-workspace/.build/checkouts/Threading/Source/Queue.swift:3:15: error: type 'Queue' does not conform to protocol 'Equatable'
public struct Queue: Equatable {
^
/host/spi-builder-workspace/.build/checkouts/Threading/Source/Queue.swift:68:16: note: stored property type 'DispatchQueue' does not conform to protocol 'Equatable', preventing synthesized conformance of 'Queue' to 'Equatable'
public 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
^
error: fatalError
[0/1] Planning build
Building for debugging...
[1/3] Compiling Threading Queue.swift
/host/spi-builder-workspace/.build/checkouts/Threading/Source/Queue.swift:3:15: error: type 'Queue' does not conform to protocol 'Equatable'
public struct Queue: Equatable {
^
/host/spi-builder-workspace/.build/checkouts/Threading/Source/Queue.swift:68:16: note: stored property type 'DispatchQueue' does not conform to protocol 'Equatable', preventing synthesized conformance of 'Queue' to 'Equatable'
public 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
^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/3] Emitting module Threading
/host/spi-builder-workspace/.build/checkouts/Threading/Source/Atomic.swift:187:29: error: cannot find 'os_unfair_lock' in scope
private var _lock = os_unfair_lock()
^~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Threading/Source/Queue.swift:3:15: error: type 'Queue' does not conform to protocol 'Equatable'
public struct Queue: Equatable {
^
/host/spi-builder-workspace/.build/checkouts/Threading/Source/Queue.swift:68:16: note: stored property type 'DispatchQueue' does not conform to protocol 'Equatable', preventing synthesized conformance of 'Queue' to 'Equatable'
public 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
^
[3/3] Compiling Threading Atomic.swift
/host/spi-builder-workspace/.build/checkouts/Threading/Source/Atomic.swift:187:29: error: cannot find 'os_unfair_lock' in scope
private var _lock = os_unfair_lock()
^~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Threading/Source/Atomic.swift:190:13: error: cannot find 'os_unfair_lock_lock' in scope
os_unfair_lock_lock(&_lock)
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Threading/Source/Atomic.swift:194:20: error: cannot find 'os_unfair_lock_trylock' in scope
return os_unfair_lock_trylock(&_lock)
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Threading/Source/Atomic.swift:198:13: error: cannot find 'os_unfair_lock_unlock' in scope
os_unfair_lock_unlock(&_lock)
^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Threading/Source/Atomic.swift:239:50: 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/Atomic.swift:241:50: error: cannot convert value of type 'Int' to expected argument type 'Int32'
pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE)
^
Int32( )
error: fatalError
BUILD FAILURE 5.9 linux
Build Machine: Linux 1