Build Information
Failed to build Threading, reference main (35f7cb
), with Swift 6.1 for Linux on 30 Apr 2025 10:43:48 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.61.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/NikSativa/Threading.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/Threading
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 35f7cb6 lil upd dependency
Cloned https://github.com/NikSativa/Threading.git
Revision (git rev-parse @):
35f7cb6649f9eb45cfff0dc7eff3d007dd5cd3dc
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/NikSativa/Threading.git at main
========================================
Build
========================================
Selected platform: linux
Swift version: 6.1
Building package at path: $PWD
https://github.com/NikSativa/Threading.git
https://github.com/NikSativa/Threading.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "sprykit",
"requirement" : {
"range" : [
{
"lower_bound" : "3.0.2",
"upper_bound" : "3.1.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/NikSativa/SpryKit.git"
}
],
"manifest_display_name" : "Threading",
"name" : "Threading",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "macos",
"version" : "11.0"
},
{
"name" : "maccatalyst",
"version" : "13.0"
},
{
"name" : "tvos",
"version" : "13.0"
},
{
"name" : "watchos",
"version" : "6.0"
},
{
"name" : "visionos",
"version" : "1.0"
}
],
"products" : [
{
"name" : "Threading",
"targets" : [
"Threading"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "ThreadingTests",
"module_type" : "SwiftTarget",
"name" : "ThreadingTests",
"path" : "Tests",
"product_dependencies" : [
"SpryKit"
],
"sources" : [
"DelayedQueueTests.swift",
"DispatchTime_QueueTests.swift",
"IsolatedMainTests.swift",
"QueueTests.swift",
"TestHelpers/DelayedQueue+TestHelper.swift",
"TestHelpers/FakeQueueable.swift",
"TestHelpers/Queue+TestHelper.swift"
],
"target_dependencies" : [
"Threading"
],
"type" : "test"
},
{
"c99name" : "Threading",
"module_type" : "SwiftTarget",
"name" : "Threading",
"path" : "Source",
"product_memberships" : [
"Threading"
],
"resources" : [
{
"path" : "/host/spi-builder-workspace/Source/PrivacyInfo.xcprivacy",
"rule" : {
"process" : {
}
}
}
],
"sources" : [
"AnyLock.swift",
"AnyMutex.swift",
"Atomic.swift",
"DelayedQueue.swift",
"DispatchTime+Queue.swift",
"IsolatedMain.swift",
"Locking.swift",
"Mutexes/Barrier.swift",
"Mutexes/NSLock.swift",
"Mutexes/NSRecursiveLock.swift",
"Mutexes/OSAllocatedUnfairLock.swift",
"Mutexes/PThread.swift",
"Mutexes/Semaphore.swift",
"Mutexes/Unfair.swift",
"Mutexing.swift",
"Queue+Queueable.swift",
"Queue.swift",
"Queueable.swift",
"UnSendable.swift"
],
"type" : "library"
}
],
"tools_version" : "6.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Fetching https://github.com/NikSativa/SpryKit.git
[1/924] Fetching sprykit
Fetched https://github.com/NikSativa/SpryKit.git from cache (0.31s)
Computing version for https://github.com/NikSativa/SpryKit.git
Computed https://github.com/NikSativa/SpryKit.git at 3.0.2 (1.09s)
Fetching https://github.com/mattgallagher/CwlPreconditionTesting.git
Fetching https://github.com/apple/swift-syntax.git
[1/1257] Fetching cwlpreconditiontesting
Fetched https://github.com/mattgallagher/CwlPreconditionTesting.git from cache (0.38s)
[1/70245] Fetching swift-syntax
Fetched https://github.com/apple/swift-syntax.git from cache (5.50s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 600.0.1 (8.95s)
Computing version for https://github.com/mattgallagher/CwlPreconditionTesting.git
Computed https://github.com/mattgallagher/CwlPreconditionTesting.git at 2.2.2 (1.17s)
Fetching https://github.com/mattgallagher/CwlCatchException.git
[1/455] Fetching cwlcatchexception
Fetched https://github.com/mattgallagher/CwlCatchException.git from cache (0.23s)
Computing version for https://github.com/mattgallagher/CwlCatchException.git
Computed https://github.com/mattgallagher/CwlCatchException.git at 2.2.1 (0.88s)
Creating working copy for https://github.com/NikSativa/SpryKit.git
Working copy of https://github.com/NikSativa/SpryKit.git resolved at 3.0.2
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/mattgallagher/CwlCatchException.git
Working copy of https://github.com/mattgallagher/CwlCatchException.git resolved at 2.2.1
Creating working copy for https://github.com/apple/swift-syntax.git
Working copy of https://github.com/apple/swift-syntax.git resolved at 600.0.1
Building for debugging...
[0/3] Copying PrivacyInfo.xcprivacy
[1/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/22] Emitting module Threading
/host/spi-builder-workspace/Source/Mutexes/Unfair.swift:4:25: error: cannot find 'os_unfair_lock' in scope
2 |
3 | public final class Unfair {
4 | private var _lock = os_unfair_lock()
| `- error: cannot find 'os_unfair_lock' in scope
5 |
6 | public init() {}
/host/spi-builder-workspace/Source/Queue.swift:4:15: error: type 'Queue' does not conform to protocol 'Equatable'
2 | import Foundation
3 |
4 | public struct Queue: Equatable {
| |- error: type 'Queue' does not conform to protocol 'Equatable'
| `- note: add stubs for conformance
5 | public enum Attributes: Equatable {
6 | case concurrent
:
26 | }
27 |
28 | let sdk: DispatchQueue
| `- note: stored property type 'DispatchQueue' does not conform to protocol 'Equatable', preventing synthesized conformance of 'Queue' to 'Equatable'
29 | private let kind: Kind
30 | }
Swift.==:1:24: note: candidate would match if 'Queue' conformed to 'RawRepresentable'
1 | @inlinable public func == <T>(lhs: T, rhs: T) -> Bool where T : RawRepresentable, T.RawValue : Equatable
| `- note: candidate would match if 'Queue' conformed to 'RawRepresentable'
Swift.FloatingPoint.==:2:20: note: candidate would match if 'Queue' conformed to 'FloatingPoint'
1 | protocol FloatingPoint {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: candidate would match if 'Queue' conformed to 'FloatingPoint'
3 |
Swift.BinaryInteger.==:2:20: note: candidate would match if 'Queue' conformed to 'BinaryInteger'
1 | protocol BinaryInteger {
2 | public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : BinaryInteger}
| `- note: candidate would match if 'Queue' conformed to 'BinaryInteger'
3 |
Swift._Pointer.==:2:20: note: candidate would match if 'Queue' conformed to '_Pointer'
1 | protocol _Pointer {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: candidate would match if 'Queue' conformed to '_Pointer'
3 |
Swift._Pointer.==:2:31: note: candidate would match if 'Queue' conformed to '_Pointer'
1 | protocol _Pointer {
2 | @inlinable public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : _Pointer}
| `- note: candidate would match if 'Queue' conformed to '_Pointer'
3 |
Swift.Strideable.==:2:31: note: candidate would match if 'Queue' conformed to 'Strideable'
1 | protocol Strideable {
2 | @inlinable public static func == (x: Self, y: Self) -> Bool}
| `- note: candidate would match if 'Queue' conformed to 'Strideable'
3 |
Swift.StringProtocol.==:2:31: note: candidate would match if 'Queue' conformed to 'StringProtocol'
1 | protocol StringProtocol {
2 | @inlinable public static func == <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : StringProtocol}
| `- note: candidate would match if 'Queue' conformed to 'StringProtocol'
3 |
Swift.SIMD.==:2:20: note: candidate would match if 'Queue' conformed to 'SIMD'
1 | protocol SIMD {
2 | public static func == (a: Self, b: Self) -> Bool}
| `- note: candidate would match if 'Queue' conformed to 'SIMD'
3 |
Foundation.__BridgedNSError.==:2:20: note: candidate would match if 'Queue' conformed to '__BridgedNSError'
1 | protocol __BridgedNSError {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: candidate would match if 'Queue' conformed to '__BridgedNSError'
3 |
Foundation._BridgedStoredNSError.==:2:20: note: candidate would match if 'Queue' conformed to '_BridgedStoredNSError'
1 | protocol _BridgedStoredNSError {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: candidate would match if 'Queue' conformed to '_BridgedStoredNSError'
3 |
FoundationEssentials.AttributedStringProtocol.==:2:20: note: candidate would match if 'Queue' conformed to 'AttributedStringProtocol'
1 | protocol AttributedStringProtocol {
2 | public static func == <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : AttributedStringProtocol}
| `- note: candidate would match if 'Queue' conformed to 'AttributedStringProtocol'
3 |
Swift.Equatable.==:2:13: note: protocol requires function '==' with type '(Queue, Queue) -> Bool'
1 | protocol Equatable {
2 | static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: protocol requires function '==' with type '(Queue, Queue) -> Bool'
3 |
/host/spi-builder-workspace/Source/Queue.swift:17:14: error: associated value 'custom(label:qos:attributes:)' of 'Sendable'-conforming enum 'Kind' has non-sendable type 'DispatchQoS'
15 | fileprivate enum Kind: Equatable {
16 | case main
17 | case custom(label: String,
| `- error: associated value 'custom(label:qos:attributes:)' of 'Sendable'-conforming enum 'Kind' has non-sendable type 'DispatchQoS'
18 | qos: DispatchQoS = .default,
19 | attributes: Attributes = .concurrent)
Dispatch.DispatchQoS:1:15: note: struct 'DispatchQoS' does not conform to the 'Sendable' protocol
1 | public struct DispatchQoS : Equatable {
| `- note: struct 'DispatchQoS' does not conform to the 'Sendable' protocol
2 | public let qosClass: DispatchQoS.QoSClass
3 | public let relativePriority: Int
/host/spi-builder-workspace/Source/Queue.swift:1:1: warning: add '@preconcurrency' to treat 'Sendable'-related errors from module 'Dispatch' as warnings
1 | import Dispatch
| `- warning: add '@preconcurrency' to treat 'Sendable'-related errors from module 'Dispatch' as warnings
2 | import Foundation
3 |
[5/24] Compiling Threading Locking.swift
[6/24] Compiling Threading Barrier.swift
[7/24] Compiling Threading NSLock.swift
[8/24] Compiling Threading UnSendable.swift
[9/24] Compiling Threading resource_bundle_accessor.swift
[10/24] Compiling Threading Mutexing.swift
[11/24] Compiling Threading Queue+Queueable.swift
[12/24] Compiling Threading DelayedQueue.swift
[13/24] Compiling Threading DispatchTime+Queue.swift
[14/24] Compiling Threading IsolatedMain.swift
[15/24] Compiling Threading Queue.swift
/host/spi-builder-workspace/Source/Queue.swift:4:15: error: type 'Queue' does not conform to protocol 'Equatable'
2 | import Foundation
3 |
4 | public struct Queue: Equatable {
| |- error: type 'Queue' does not conform to protocol 'Equatable'
| `- note: add stubs for conformance
5 | public enum Attributes: Equatable {
6 | case concurrent
:
26 | }
27 |
28 | let sdk: DispatchQueue
| `- note: stored property type 'DispatchQueue' does not conform to protocol 'Equatable', preventing synthesized conformance of 'Queue' to 'Equatable'
29 | private let kind: Kind
30 | }
Swift.==:1:24: note: candidate would match if 'Queue' conformed to 'RawRepresentable'
1 | @inlinable public func == <T>(lhs: T, rhs: T) -> Bool where T : RawRepresentable, T.RawValue : Equatable
| `- note: candidate would match if 'Queue' conformed to 'RawRepresentable'
Swift.FloatingPoint.==:2:20: note: candidate would match if 'Queue' conformed to 'FloatingPoint'
1 | protocol FloatingPoint {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: candidate would match if 'Queue' conformed to 'FloatingPoint'
3 |
Swift.BinaryInteger.==:2:20: note: candidate would match if 'Queue' conformed to 'BinaryInteger'
1 | protocol BinaryInteger {
2 | public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : BinaryInteger}
| `- note: candidate would match if 'Queue' conformed to 'BinaryInteger'
3 |
Swift._Pointer.==:2:20: note: candidate would match if 'Queue' conformed to '_Pointer'
1 | protocol _Pointer {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: candidate would match if 'Queue' conformed to '_Pointer'
3 |
Swift._Pointer.==:2:31: note: candidate would match if 'Queue' conformed to '_Pointer'
1 | protocol _Pointer {
2 | @inlinable public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : _Pointer}
| `- note: candidate would match if 'Queue' conformed to '_Pointer'
3 |
Swift.Strideable.==:2:31: note: candidate would match if 'Queue' conformed to 'Strideable'
1 | protocol Strideable {
2 | @inlinable public static func == (x: Self, y: Self) -> Bool}
| `- note: candidate would match if 'Queue' conformed to 'Strideable'
3 |
Swift.StringProtocol.==:2:31: note: candidate would match if 'Queue' conformed to 'StringProtocol'
1 | protocol StringProtocol {
2 | @inlinable public static func == <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : StringProtocol}
| `- note: candidate would match if 'Queue' conformed to 'StringProtocol'
3 |
Swift.SIMD.==:2:20: note: candidate would match if 'Queue' conformed to 'SIMD'
1 | protocol SIMD {
2 | public static func == (a: Self, b: Self) -> Bool}
| `- note: candidate would match if 'Queue' conformed to 'SIMD'
3 |
Foundation.__BridgedNSError.==:2:20: note: candidate would match if 'Queue' conformed to '__BridgedNSError'
1 | protocol __BridgedNSError {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: candidate would match if 'Queue' conformed to '__BridgedNSError'
3 |
Foundation._BridgedStoredNSError.==:2:20: note: candidate would match if 'Queue' conformed to '_BridgedStoredNSError'
1 | protocol _BridgedStoredNSError {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: candidate would match if 'Queue' conformed to '_BridgedStoredNSError'
3 |
FoundationEssentials.AttributedStringProtocol.==:2:20: note: candidate would match if 'Queue' conformed to 'AttributedStringProtocol'
1 | protocol AttributedStringProtocol {
2 | public static func == <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : AttributedStringProtocol}
| `- note: candidate would match if 'Queue' conformed to 'AttributedStringProtocol'
3 |
Swift.Equatable.==:2:13: note: protocol requires function '==' with type '(Queue, Queue) -> Bool'
1 | protocol Equatable {
2 | static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: protocol requires function '==' with type '(Queue, Queue) -> Bool'
3 |
/host/spi-builder-workspace/Source/Queue.swift:17:14: error: associated value 'custom(label:qos:attributes:)' of 'Sendable'-conforming enum 'Kind' has non-sendable type 'DispatchQoS'
15 | fileprivate enum Kind: Equatable {
16 | case main
17 | case custom(label: String,
| `- error: associated value 'custom(label:qos:attributes:)' of 'Sendable'-conforming enum 'Kind' has non-sendable type 'DispatchQoS'
18 | qos: DispatchQoS = .default,
19 | attributes: Attributes = .concurrent)
Dispatch.DispatchQoS:1:15: note: struct 'DispatchQoS' does not conform to the 'Sendable' protocol
1 | public struct DispatchQoS : Equatable {
| `- note: struct 'DispatchQoS' does not conform to the 'Sendable' protocol
2 | public let qosClass: DispatchQoS.QoSClass
3 | public let relativePriority: Int
/host/spi-builder-workspace/Source/Queue.swift:1:1: warning: add '@preconcurrency' to treat 'Sendable'-related errors from module 'Dispatch' as warnings
1 | import Dispatch
| `- warning: add '@preconcurrency' to treat 'Sendable'-related errors from module 'Dispatch' as warnings
2 | import Foundation
3 |
[16/24] Compiling Threading Queueable.swift
/host/spi-builder-workspace/Source/Queue.swift:4:15: error: type 'Queue' does not conform to protocol 'Equatable'
2 | import Foundation
3 |
4 | public struct Queue: Equatable {
| |- error: type 'Queue' does not conform to protocol 'Equatable'
| `- note: add stubs for conformance
5 | public enum Attributes: Equatable {
6 | case concurrent
:
26 | }
27 |
28 | let sdk: DispatchQueue
| `- note: stored property type 'DispatchQueue' does not conform to protocol 'Equatable', preventing synthesized conformance of 'Queue' to 'Equatable'
29 | private let kind: Kind
30 | }
Swift.==:1:24: note: candidate would match if 'Queue' conformed to 'RawRepresentable'
1 | @inlinable public func == <T>(lhs: T, rhs: T) -> Bool where T : RawRepresentable, T.RawValue : Equatable
| `- note: candidate would match if 'Queue' conformed to 'RawRepresentable'
Swift.FloatingPoint.==:2:20: note: candidate would match if 'Queue' conformed to 'FloatingPoint'
1 | protocol FloatingPoint {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: candidate would match if 'Queue' conformed to 'FloatingPoint'
3 |
Swift.BinaryInteger.==:2:20: note: candidate would match if 'Queue' conformed to 'BinaryInteger'
1 | protocol BinaryInteger {
2 | public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : BinaryInteger}
| `- note: candidate would match if 'Queue' conformed to 'BinaryInteger'
3 |
Swift._Pointer.==:2:20: note: candidate would match if 'Queue' conformed to '_Pointer'
1 | protocol _Pointer {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: candidate would match if 'Queue' conformed to '_Pointer'
3 |
Swift._Pointer.==:2:31: note: candidate would match if 'Queue' conformed to '_Pointer'
1 | protocol _Pointer {
2 | @inlinable public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : _Pointer}
| `- note: candidate would match if 'Queue' conformed to '_Pointer'
3 |
Swift.Strideable.==:2:31: note: candidate would match if 'Queue' conformed to 'Strideable'
1 | protocol Strideable {
2 | @inlinable public static func == (x: Self, y: Self) -> Bool}
| `- note: candidate would match if 'Queue' conformed to 'Strideable'
3 |
Swift.StringProtocol.==:2:31: note: candidate would match if 'Queue' conformed to 'StringProtocol'
1 | protocol StringProtocol {
2 | @inlinable public static func == <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : StringProtocol}
| `- note: candidate would match if 'Queue' conformed to 'StringProtocol'
3 |
Swift.SIMD.==:2:20: note: candidate would match if 'Queue' conformed to 'SIMD'
1 | protocol SIMD {
2 | public static func == (a: Self, b: Self) -> Bool}
| `- note: candidate would match if 'Queue' conformed to 'SIMD'
3 |
Foundation.__BridgedNSError.==:2:20: note: candidate would match if 'Queue' conformed to '__BridgedNSError'
1 | protocol __BridgedNSError {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: candidate would match if 'Queue' conformed to '__BridgedNSError'
3 |
Foundation._BridgedStoredNSError.==:2:20: note: candidate would match if 'Queue' conformed to '_BridgedStoredNSError'
1 | protocol _BridgedStoredNSError {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: candidate would match if 'Queue' conformed to '_BridgedStoredNSError'
3 |
FoundationEssentials.AttributedStringProtocol.==:2:20: note: candidate would match if 'Queue' conformed to 'AttributedStringProtocol'
1 | protocol AttributedStringProtocol {
2 | public static func == <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : AttributedStringProtocol}
| `- note: candidate would match if 'Queue' conformed to 'AttributedStringProtocol'
3 |
Swift.Equatable.==:2:13: note: protocol requires function '==' with type '(Queue, Queue) -> Bool'
1 | protocol Equatable {
2 | static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: protocol requires function '==' with type '(Queue, Queue) -> Bool'
3 |
/host/spi-builder-workspace/Source/Queue.swift:17:14: error: associated value 'custom(label:qos:attributes:)' of 'Sendable'-conforming enum 'Kind' has non-sendable type 'DispatchQoS'
15 | fileprivate enum Kind: Equatable {
16 | case main
17 | case custom(label: String,
| `- error: associated value 'custom(label:qos:attributes:)' of 'Sendable'-conforming enum 'Kind' has non-sendable type 'DispatchQoS'
18 | qos: DispatchQoS = .default,
19 | attributes: Attributes = .concurrent)
Dispatch.DispatchQoS:1:15: note: struct 'DispatchQoS' does not conform to the 'Sendable' protocol
1 | public struct DispatchQoS : Equatable {
| `- note: struct 'DispatchQoS' does not conform to the 'Sendable' protocol
2 | public let qosClass: DispatchQoS.QoSClass
3 | public let relativePriority: Int
/host/spi-builder-workspace/Source/Queue.swift:1:1: warning: add '@preconcurrency' to treat 'Sendable'-related errors from module 'Dispatch' as warnings
1 | import Dispatch
| `- warning: add '@preconcurrency' to treat 'Sendable'-related errors from module 'Dispatch' as warnings
2 | import Foundation
3 |
[17/24] Compiling Threading Semaphore.swift
/host/spi-builder-workspace/Source/Mutexes/Unfair.swift:4:25: error: cannot find 'os_unfair_lock' in scope
2 |
3 | public final class Unfair {
4 | private var _lock = os_unfair_lock()
| `- error: cannot find 'os_unfair_lock' in scope
5 |
6 | public init() {}
/host/spi-builder-workspace/Source/Mutexes/Unfair.swift:15:9: error: cannot find 'os_unfair_lock_lock' in scope
13 | extension Unfair: Locking {
14 | public func lock() {
15 | os_unfair_lock_lock(&_lock)
| `- error: cannot find 'os_unfair_lock_lock' in scope
16 | }
17 |
/host/spi-builder-workspace/Source/Mutexes/Unfair.swift:19:16: error: cannot find 'os_unfair_lock_trylock' in scope
17 |
18 | public func tryLock() -> Bool {
19 | return os_unfair_lock_trylock(&_lock)
| `- error: cannot find 'os_unfair_lock_trylock' in scope
20 | }
21 |
/host/spi-builder-workspace/Source/Mutexes/Unfair.swift:23:9: error: cannot find 'os_unfair_lock_unlock' in scope
21 |
22 | public func unlock() {
23 | os_unfair_lock_unlock(&_lock)
| `- error: cannot find 'os_unfair_lock_unlock' in scope
24 | }
25 | }
[18/24] Compiling Threading Unfair.swift
/host/spi-builder-workspace/Source/Mutexes/Unfair.swift:4:25: error: cannot find 'os_unfair_lock' in scope
2 |
3 | public final class Unfair {
4 | private var _lock = os_unfair_lock()
| `- error: cannot find 'os_unfair_lock' in scope
5 |
6 | public init() {}
/host/spi-builder-workspace/Source/Mutexes/Unfair.swift:15:9: error: cannot find 'os_unfair_lock_lock' in scope
13 | extension Unfair: Locking {
14 | public func lock() {
15 | os_unfair_lock_lock(&_lock)
| `- error: cannot find 'os_unfair_lock_lock' in scope
16 | }
17 |
/host/spi-builder-workspace/Source/Mutexes/Unfair.swift:19:16: error: cannot find 'os_unfair_lock_trylock' in scope
17 |
18 | public func tryLock() -> Bool {
19 | return os_unfair_lock_trylock(&_lock)
| `- error: cannot find 'os_unfair_lock_trylock' in scope
20 | }
21 |
/host/spi-builder-workspace/Source/Mutexes/Unfair.swift:23:9: error: cannot find 'os_unfair_lock_unlock' in scope
21 |
22 | public func unlock() {
23 | os_unfair_lock_unlock(&_lock)
| `- error: cannot find 'os_unfair_lock_unlock' in scope
24 | }
25 | }
[19/24] Compiling Threading NSRecursiveLock.swift
/host/spi-builder-workspace/Source/Mutexes/PThread.swift:22:46: error: cannot convert value of type 'Int' to expected argument type 'Int32'
20 | switch kind {
21 | case .normal:
22 | pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_NORMAL)
| `- error: cannot convert value of type 'Int' to expected argument type 'Int32'
23 | case .recursive:
24 | pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE)
/host/spi-builder-workspace/Source/Mutexes/PThread.swift:24:46: error: cannot convert value of type 'Int' to expected argument type 'Int32'
22 | pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_NORMAL)
23 | case .recursive:
24 | pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE)
| `- error: cannot convert value of type 'Int' to expected argument type 'Int32'
25 | }
26 |
[20/24] Compiling Threading OSAllocatedUnfairLock.swift
/host/spi-builder-workspace/Source/Mutexes/PThread.swift:22:46: error: cannot convert value of type 'Int' to expected argument type 'Int32'
20 | switch kind {
21 | case .normal:
22 | pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_NORMAL)
| `- error: cannot convert value of type 'Int' to expected argument type 'Int32'
23 | case .recursive:
24 | pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE)
/host/spi-builder-workspace/Source/Mutexes/PThread.swift:24:46: error: cannot convert value of type 'Int' to expected argument type 'Int32'
22 | pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_NORMAL)
23 | case .recursive:
24 | pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE)
| `- error: cannot convert value of type 'Int' to expected argument type 'Int32'
25 | }
26 |
[21/24] Compiling Threading PThread.swift
/host/spi-builder-workspace/Source/Mutexes/PThread.swift:22:46: error: cannot convert value of type 'Int' to expected argument type 'Int32'
20 | switch kind {
21 | case .normal:
22 | pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_NORMAL)
| `- error: cannot convert value of type 'Int' to expected argument type 'Int32'
23 | case .recursive:
24 | pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE)
/host/spi-builder-workspace/Source/Mutexes/PThread.swift:24:46: error: cannot convert value of type 'Int' to expected argument type 'Int32'
22 | pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_NORMAL)
23 | case .recursive:
24 | pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE)
| `- error: cannot convert value of type 'Int' to expected argument type 'Int32'
25 | }
26 |
[22/24] Compiling Threading AnyLock.swift
/host/spi-builder-workspace/Source/Mutexes/Unfair.swift:4:25: error: cannot find 'os_unfair_lock' in scope
2 |
3 | public final class Unfair {
4 | private var _lock = os_unfair_lock()
| `- error: cannot find 'os_unfair_lock' in scope
5 |
6 | public init() {}
[23/24] Compiling Threading AnyMutex.swift
/host/spi-builder-workspace/Source/Mutexes/Unfair.swift:4:25: error: cannot find 'os_unfair_lock' in scope
2 |
3 | public final class Unfair {
4 | private var _lock = os_unfair_lock()
| `- error: cannot find 'os_unfair_lock' in scope
5 |
6 | public init() {}
[24/24] Compiling Threading Atomic.swift
/host/spi-builder-workspace/Source/Mutexes/Unfair.swift:4:25: error: cannot find 'os_unfair_lock' in scope
2 |
3 | public final class Unfair {
4 | private var _lock = os_unfair_lock()
| `- error: cannot find 'os_unfair_lock' in scope
5 |
6 | public init() {}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/20] Emitting module Threading
/host/spi-builder-workspace/Source/Mutexes/Unfair.swift:4:25: error: cannot find 'os_unfair_lock' in scope
2 |
3 | public final class Unfair {
4 | private var _lock = os_unfair_lock()
| `- error: cannot find 'os_unfair_lock' in scope
5 |
6 | public init() {}
/host/spi-builder-workspace/Source/Queue.swift:4:15: error: type 'Queue' does not conform to protocol 'Equatable'
2 | import Foundation
3 |
4 | public struct Queue: Equatable {
| |- error: type 'Queue' does not conform to protocol 'Equatable'
| `- note: add stubs for conformance
5 | public enum Attributes: Equatable {
6 | case concurrent
:
26 | }
27 |
28 | let sdk: DispatchQueue
| `- note: stored property type 'DispatchQueue' does not conform to protocol 'Equatable', preventing synthesized conformance of 'Queue' to 'Equatable'
29 | private let kind: Kind
30 | }
Swift.==:1:24: note: candidate would match if 'Queue' conformed to 'RawRepresentable'
1 | @inlinable public func == <T>(lhs: T, rhs: T) -> Bool where T : RawRepresentable, T.RawValue : Equatable
| `- note: candidate would match if 'Queue' conformed to 'RawRepresentable'
Swift.FloatingPoint.==:2:20: note: candidate would match if 'Queue' conformed to 'FloatingPoint'
1 | protocol FloatingPoint {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: candidate would match if 'Queue' conformed to 'FloatingPoint'
3 |
Swift.BinaryInteger.==:2:20: note: candidate would match if 'Queue' conformed to 'BinaryInteger'
1 | protocol BinaryInteger {
2 | public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : BinaryInteger}
| `- note: candidate would match if 'Queue' conformed to 'BinaryInteger'
3 |
Swift._Pointer.==:2:20: note: candidate would match if 'Queue' conformed to '_Pointer'
1 | protocol _Pointer {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: candidate would match if 'Queue' conformed to '_Pointer'
3 |
Swift._Pointer.==:2:31: note: candidate would match if 'Queue' conformed to '_Pointer'
1 | protocol _Pointer {
2 | @inlinable public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : _Pointer}
| `- note: candidate would match if 'Queue' conformed to '_Pointer'
3 |
Swift.Strideable.==:2:31: note: candidate would match if 'Queue' conformed to 'Strideable'
1 | protocol Strideable {
2 | @inlinable public static func == (x: Self, y: Self) -> Bool}
| `- note: candidate would match if 'Queue' conformed to 'Strideable'
3 |
Swift.StringProtocol.==:2:31: note: candidate would match if 'Queue' conformed to 'StringProtocol'
1 | protocol StringProtocol {
2 | @inlinable public static func == <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : StringProtocol}
| `- note: candidate would match if 'Queue' conformed to 'StringProtocol'
3 |
Swift.SIMD.==:2:20: note: candidate would match if 'Queue' conformed to 'SIMD'
1 | protocol SIMD {
2 | public static func == (a: Self, b: Self) -> Bool}
| `- note: candidate would match if 'Queue' conformed to 'SIMD'
3 |
Foundation.__BridgedNSError.==:2:20: note: candidate would match if 'Queue' conformed to '__BridgedNSError'
1 | protocol __BridgedNSError {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: candidate would match if 'Queue' conformed to '__BridgedNSError'
3 |
Foundation._BridgedStoredNSError.==:2:20: note: candidate would match if 'Queue' conformed to '_BridgedStoredNSError'
1 | protocol _BridgedStoredNSError {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: candidate would match if 'Queue' conformed to '_BridgedStoredNSError'
3 |
FoundationEssentials.AttributedStringProtocol.==:2:20: note: candidate would match if 'Queue' conformed to 'AttributedStringProtocol'
1 | protocol AttributedStringProtocol {
2 | public static func == <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : AttributedStringProtocol}
| `- note: candidate would match if 'Queue' conformed to 'AttributedStringProtocol'
3 |
Swift.Equatable.==:2:13: note: protocol requires function '==' with type '(Queue, Queue) -> Bool'
1 | protocol Equatable {
2 | static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: protocol requires function '==' with type '(Queue, Queue) -> Bool'
3 |
/host/spi-builder-workspace/Source/Queue.swift:17:14: error: associated value 'custom(label:qos:attributes:)' of 'Sendable'-conforming enum 'Kind' has non-sendable type 'DispatchQoS'
15 | fileprivate enum Kind: Equatable {
16 | case main
17 | case custom(label: String,
| `- error: associated value 'custom(label:qos:attributes:)' of 'Sendable'-conforming enum 'Kind' has non-sendable type 'DispatchQoS'
18 | qos: DispatchQoS = .default,
19 | attributes: Attributes = .concurrent)
Dispatch.DispatchQoS:1:15: note: struct 'DispatchQoS' does not conform to the 'Sendable' protocol
1 | public struct DispatchQoS : Equatable {
| `- note: struct 'DispatchQoS' does not conform to the 'Sendable' protocol
2 | public let qosClass: DispatchQoS.QoSClass
3 | public let relativePriority: Int
/host/spi-builder-workspace/Source/Queue.swift:1:1: warning: add '@preconcurrency' to treat 'Sendable'-related errors from module 'Dispatch' as warnings
1 | import Dispatch
| `- warning: add '@preconcurrency' to treat 'Sendable'-related errors from module 'Dispatch' as warnings
2 | import Foundation
3 |
[3/22] Compiling Threading Locking.swift
[4/22] Compiling Threading Barrier.swift
[5/22] Compiling Threading NSLock.swift
[6/22] Compiling Threading Mutexing.swift
[7/22] Compiling Threading Queue+Queueable.swift
[8/22] Compiling Threading NSRecursiveLock.swift
/host/spi-builder-workspace/Source/Mutexes/PThread.swift:22:46: error: cannot convert value of type 'Int' to expected argument type 'Int32'
20 | switch kind {
21 | case .normal:
22 | pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_NORMAL)
| `- error: cannot convert value of type 'Int' to expected argument type 'Int32'
23 | case .recursive:
24 | pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE)
/host/spi-builder-workspace/Source/Mutexes/PThread.swift:24:46: error: cannot convert value of type 'Int' to expected argument type 'Int32'
22 | pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_NORMAL)
23 | case .recursive:
24 | pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE)
| `- error: cannot convert value of type 'Int' to expected argument type 'Int32'
25 | }
26 |
[9/22] Compiling Threading OSAllocatedUnfairLock.swift
/host/spi-builder-workspace/Source/Mutexes/PThread.swift:22:46: error: cannot convert value of type 'Int' to expected argument type 'Int32'
20 | switch kind {
21 | case .normal:
22 | pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_NORMAL)
| `- error: cannot convert value of type 'Int' to expected argument type 'Int32'
23 | case .recursive:
24 | pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE)
/host/spi-builder-workspace/Source/Mutexes/PThread.swift:24:46: error: cannot convert value of type 'Int' to expected argument type 'Int32'
22 | pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_NORMAL)
23 | case .recursive:
24 | pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE)
| `- error: cannot convert value of type 'Int' to expected argument type 'Int32'
25 | }
26 |
[10/22] Compiling Threading PThread.swift
/host/spi-builder-workspace/Source/Mutexes/PThread.swift:22:46: error: cannot convert value of type 'Int' to expected argument type 'Int32'
20 | switch kind {
21 | case .normal:
22 | pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_NORMAL)
| `- error: cannot convert value of type 'Int' to expected argument type 'Int32'
23 | case .recursive:
24 | pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE)
/host/spi-builder-workspace/Source/Mutexes/PThread.swift:24:46: error: cannot convert value of type 'Int' to expected argument type 'Int32'
22 | pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_NORMAL)
23 | case .recursive:
24 | pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE)
| `- error: cannot convert value of type 'Int' to expected argument type 'Int32'
25 | }
26 |
[11/22] Compiling Threading AnyLock.swift
/host/spi-builder-workspace/Source/Mutexes/Unfair.swift:4:25: error: cannot find 'os_unfair_lock' in scope
2 |
3 | public final class Unfair {
4 | private var _lock = os_unfair_lock()
| `- error: cannot find 'os_unfair_lock' in scope
5 |
6 | public init() {}
[12/22] Compiling Threading AnyMutex.swift
/host/spi-builder-workspace/Source/Mutexes/Unfair.swift:4:25: error: cannot find 'os_unfair_lock' in scope
2 |
3 | public final class Unfair {
4 | private var _lock = os_unfair_lock()
| `- error: cannot find 'os_unfair_lock' in scope
5 |
6 | public init() {}
[13/22] Compiling Threading Atomic.swift
/host/spi-builder-workspace/Source/Mutexes/Unfair.swift:4:25: error: cannot find 'os_unfair_lock' in scope
2 |
3 | public final class Unfair {
4 | private var _lock = os_unfair_lock()
| `- error: cannot find 'os_unfair_lock' in scope
5 |
6 | public init() {}
[14/22] Compiling Threading DelayedQueue.swift
[15/22] Compiling Threading DispatchTime+Queue.swift
[16/22] Compiling Threading IsolatedMain.swift
[17/22] Compiling Threading Queue.swift
/host/spi-builder-workspace/Source/Queue.swift:4:15: error: type 'Queue' does not conform to protocol 'Equatable'
2 | import Foundation
3 |
4 | public struct Queue: Equatable {
| |- error: type 'Queue' does not conform to protocol 'Equatable'
| `- note: add stubs for conformance
5 | public enum Attributes: Equatable {
6 | case concurrent
:
26 | }
27 |
28 | let sdk: DispatchQueue
| `- note: stored property type 'DispatchQueue' does not conform to protocol 'Equatable', preventing synthesized conformance of 'Queue' to 'Equatable'
29 | private let kind: Kind
30 | }
Swift.==:1:24: note: candidate would match if 'Queue' conformed to 'RawRepresentable'
1 | @inlinable public func == <T>(lhs: T, rhs: T) -> Bool where T : RawRepresentable, T.RawValue : Equatable
| `- note: candidate would match if 'Queue' conformed to 'RawRepresentable'
Swift.FloatingPoint.==:2:20: note: candidate would match if 'Queue' conformed to 'FloatingPoint'
1 | protocol FloatingPoint {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: candidate would match if 'Queue' conformed to 'FloatingPoint'
3 |
Swift.BinaryInteger.==:2:20: note: candidate would match if 'Queue' conformed to 'BinaryInteger'
1 | protocol BinaryInteger {
2 | public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : BinaryInteger}
| `- note: candidate would match if 'Queue' conformed to 'BinaryInteger'
3 |
Swift._Pointer.==:2:20: note: candidate would match if 'Queue' conformed to '_Pointer'
1 | protocol _Pointer {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: candidate would match if 'Queue' conformed to '_Pointer'
3 |
Swift._Pointer.==:2:31: note: candidate would match if 'Queue' conformed to '_Pointer'
1 | protocol _Pointer {
2 | @inlinable public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : _Pointer}
| `- note: candidate would match if 'Queue' conformed to '_Pointer'
3 |
Swift.Strideable.==:2:31: note: candidate would match if 'Queue' conformed to 'Strideable'
1 | protocol Strideable {
2 | @inlinable public static func == (x: Self, y: Self) -> Bool}
| `- note: candidate would match if 'Queue' conformed to 'Strideable'
3 |
Swift.StringProtocol.==:2:31: note: candidate would match if 'Queue' conformed to 'StringProtocol'
1 | protocol StringProtocol {
2 | @inlinable public static func == <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : StringProtocol}
| `- note: candidate would match if 'Queue' conformed to 'StringProtocol'
3 |
Swift.SIMD.==:2:20: note: candidate would match if 'Queue' conformed to 'SIMD'
1 | protocol SIMD {
2 | public static func == (a: Self, b: Self) -> Bool}
| `- note: candidate would match if 'Queue' conformed to 'SIMD'
3 |
Foundation.__BridgedNSError.==:2:20: note: candidate would match if 'Queue' conformed to '__BridgedNSError'
1 | protocol __BridgedNSError {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: candidate would match if 'Queue' conformed to '__BridgedNSError'
3 |
Foundation._BridgedStoredNSError.==:2:20: note: candidate would match if 'Queue' conformed to '_BridgedStoredNSError'
1 | protocol _BridgedStoredNSError {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: candidate would match if 'Queue' conformed to '_BridgedStoredNSError'
3 |
FoundationEssentials.AttributedStringProtocol.==:2:20: note: candidate would match if 'Queue' conformed to 'AttributedStringProtocol'
1 | protocol AttributedStringProtocol {
2 | public static func == <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : AttributedStringProtocol}
| `- note: candidate would match if 'Queue' conformed to 'AttributedStringProtocol'
3 |
Swift.Equatable.==:2:13: note: protocol requires function '==' with type '(Queue, Queue) -> Bool'
1 | protocol Equatable {
2 | static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: protocol requires function '==' with type '(Queue, Queue) -> Bool'
3 |
/host/spi-builder-workspace/Source/Queue.swift:17:14: error: associated value 'custom(label:qos:attributes:)' of 'Sendable'-conforming enum 'Kind' has non-sendable type 'DispatchQoS'
15 | fileprivate enum Kind: Equatable {
16 | case main
17 | case custom(label: String,
| `- error: associated value 'custom(label:qos:attributes:)' of 'Sendable'-conforming enum 'Kind' has non-sendable type 'DispatchQoS'
18 | qos: DispatchQoS = .default,
19 | attributes: Attributes = .concurrent)
Dispatch.DispatchQoS:1:15: note: struct 'DispatchQoS' does not conform to the 'Sendable' protocol
1 | public struct DispatchQoS : Equatable {
| `- note: struct 'DispatchQoS' does not conform to the 'Sendable' protocol
2 | public let qosClass: DispatchQoS.QoSClass
3 | public let relativePriority: Int
/host/spi-builder-workspace/Source/Queue.swift:1:1: warning: add '@preconcurrency' to treat 'Sendable'-related errors from module 'Dispatch' as warnings
1 | import Dispatch
| `- warning: add '@preconcurrency' to treat 'Sendable'-related errors from module 'Dispatch' as warnings
2 | import Foundation
3 |
[18/22] Compiling Threading Queueable.swift
/host/spi-builder-workspace/Source/Queue.swift:4:15: error: type 'Queue' does not conform to protocol 'Equatable'
2 | import Foundation
3 |
4 | public struct Queue: Equatable {
| |- error: type 'Queue' does not conform to protocol 'Equatable'
| `- note: add stubs for conformance
5 | public enum Attributes: Equatable {
6 | case concurrent
:
26 | }
27 |
28 | let sdk: DispatchQueue
| `- note: stored property type 'DispatchQueue' does not conform to protocol 'Equatable', preventing synthesized conformance of 'Queue' to 'Equatable'
29 | private let kind: Kind
30 | }
Swift.==:1:24: note: candidate would match if 'Queue' conformed to 'RawRepresentable'
1 | @inlinable public func == <T>(lhs: T, rhs: T) -> Bool where T : RawRepresentable, T.RawValue : Equatable
| `- note: candidate would match if 'Queue' conformed to 'RawRepresentable'
Swift.FloatingPoint.==:2:20: note: candidate would match if 'Queue' conformed to 'FloatingPoint'
1 | protocol FloatingPoint {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: candidate would match if 'Queue' conformed to 'FloatingPoint'
3 |
Swift.BinaryInteger.==:2:20: note: candidate would match if 'Queue' conformed to 'BinaryInteger'
1 | protocol BinaryInteger {
2 | public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : BinaryInteger}
| `- note: candidate would match if 'Queue' conformed to 'BinaryInteger'
3 |
Swift._Pointer.==:2:20: note: candidate would match if 'Queue' conformed to '_Pointer'
1 | protocol _Pointer {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: candidate would match if 'Queue' conformed to '_Pointer'
3 |
Swift._Pointer.==:2:31: note: candidate would match if 'Queue' conformed to '_Pointer'
1 | protocol _Pointer {
2 | @inlinable public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : _Pointer}
| `- note: candidate would match if 'Queue' conformed to '_Pointer'
3 |
Swift.Strideable.==:2:31: note: candidate would match if 'Queue' conformed to 'Strideable'
1 | protocol Strideable {
2 | @inlinable public static func == (x: Self, y: Self) -> Bool}
| `- note: candidate would match if 'Queue' conformed to 'Strideable'
3 |
Swift.StringProtocol.==:2:31: note: candidate would match if 'Queue' conformed to 'StringProtocol'
1 | protocol StringProtocol {
2 | @inlinable public static func == <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : StringProtocol}
| `- note: candidate would match if 'Queue' conformed to 'StringProtocol'
3 |
Swift.SIMD.==:2:20: note: candidate would match if 'Queue' conformed to 'SIMD'
1 | protocol SIMD {
2 | public static func == (a: Self, b: Self) -> Bool}
| `- note: candidate would match if 'Queue' conformed to 'SIMD'
3 |
Foundation.__BridgedNSError.==:2:20: note: candidate would match if 'Queue' conformed to '__BridgedNSError'
1 | protocol __BridgedNSError {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: candidate would match if 'Queue' conformed to '__BridgedNSError'
3 |
Foundation._BridgedStoredNSError.==:2:20: note: candidate would match if 'Queue' conformed to '_BridgedStoredNSError'
1 | protocol _BridgedStoredNSError {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: candidate would match if 'Queue' conformed to '_BridgedStoredNSError'
3 |
FoundationEssentials.AttributedStringProtocol.==:2:20: note: candidate would match if 'Queue' conformed to 'AttributedStringProtocol'
1 | protocol AttributedStringProtocol {
2 | public static func == <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : AttributedStringProtocol}
| `- note: candidate would match if 'Queue' conformed to 'AttributedStringProtocol'
3 |
Swift.Equatable.==:2:13: note: protocol requires function '==' with type '(Queue, Queue) -> Bool'
1 | protocol Equatable {
2 | static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: protocol requires function '==' with type '(Queue, Queue) -> Bool'
3 |
/host/spi-builder-workspace/Source/Queue.swift:17:14: error: associated value 'custom(label:qos:attributes:)' of 'Sendable'-conforming enum 'Kind' has non-sendable type 'DispatchQoS'
15 | fileprivate enum Kind: Equatable {
16 | case main
17 | case custom(label: String,
| `- error: associated value 'custom(label:qos:attributes:)' of 'Sendable'-conforming enum 'Kind' has non-sendable type 'DispatchQoS'
18 | qos: DispatchQoS = .default,
19 | attributes: Attributes = .concurrent)
Dispatch.DispatchQoS:1:15: note: struct 'DispatchQoS' does not conform to the 'Sendable' protocol
1 | public struct DispatchQoS : Equatable {
| `- note: struct 'DispatchQoS' does not conform to the 'Sendable' protocol
2 | public let qosClass: DispatchQoS.QoSClass
3 | public let relativePriority: Int
/host/spi-builder-workspace/Source/Queue.swift:1:1: warning: add '@preconcurrency' to treat 'Sendable'-related errors from module 'Dispatch' as warnings
1 | import Dispatch
| `- warning: add '@preconcurrency' to treat 'Sendable'-related errors from module 'Dispatch' as warnings
2 | import Foundation
3 |
[19/22] Compiling Threading Semaphore.swift
/host/spi-builder-workspace/Source/Mutexes/Unfair.swift:4:25: error: cannot find 'os_unfair_lock' in scope
2 |
3 | public final class Unfair {
4 | private var _lock = os_unfair_lock()
| `- error: cannot find 'os_unfair_lock' in scope
5 |
6 | public init() {}
/host/spi-builder-workspace/Source/Mutexes/Unfair.swift:15:9: error: cannot find 'os_unfair_lock_lock' in scope
13 | extension Unfair: Locking {
14 | public func lock() {
15 | os_unfair_lock_lock(&_lock)
| `- error: cannot find 'os_unfair_lock_lock' in scope
16 | }
17 |
/host/spi-builder-workspace/Source/Mutexes/Unfair.swift:19:16: error: cannot find 'os_unfair_lock_trylock' in scope
17 |
18 | public func tryLock() -> Bool {
19 | return os_unfair_lock_trylock(&_lock)
| `- error: cannot find 'os_unfair_lock_trylock' in scope
20 | }
21 |
/host/spi-builder-workspace/Source/Mutexes/Unfair.swift:23:9: error: cannot find 'os_unfair_lock_unlock' in scope
21 |
22 | public func unlock() {
23 | os_unfair_lock_unlock(&_lock)
| `- error: cannot find 'os_unfair_lock_unlock' in scope
24 | }
25 | }
[20/22] Compiling Threading Unfair.swift
/host/spi-builder-workspace/Source/Mutexes/Unfair.swift:4:25: error: cannot find 'os_unfair_lock' in scope
2 |
3 | public final class Unfair {
4 | private var _lock = os_unfair_lock()
| `- error: cannot find 'os_unfair_lock' in scope
5 |
6 | public init() {}
/host/spi-builder-workspace/Source/Mutexes/Unfair.swift:15:9: error: cannot find 'os_unfair_lock_lock' in scope
13 | extension Unfair: Locking {
14 | public func lock() {
15 | os_unfair_lock_lock(&_lock)
| `- error: cannot find 'os_unfair_lock_lock' in scope
16 | }
17 |
/host/spi-builder-workspace/Source/Mutexes/Unfair.swift:19:16: error: cannot find 'os_unfair_lock_trylock' in scope
17 |
18 | public func tryLock() -> Bool {
19 | return os_unfair_lock_trylock(&_lock)
| `- error: cannot find 'os_unfair_lock_trylock' in scope
20 | }
21 |
/host/spi-builder-workspace/Source/Mutexes/Unfair.swift:23:9: error: cannot find 'os_unfair_lock_unlock' in scope
21 |
22 | public func unlock() {
23 | os_unfair_lock_unlock(&_lock)
| `- error: cannot find 'os_unfair_lock_unlock' in scope
24 | }
25 | }
[21/22] Compiling Threading UnSendable.swift
[22/22] Compiling Threading resource_bundle_accessor.swift
BUILD FAILURE 6.1 linux