Build Information
Failed to build Threading, reference main (32b7d1
), with Swift 6.1 for Android on 12 Jun 2025 04:50:11 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.63.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 32b7d1e - Add `ThreadingStatic` and `ThreadingDynamic` library products alongside the existing `Threading` target - Expand project description, overview section, and usage examples - Remove deprecated top-level source files and adjust imports/tests to reflect new structure - Add Mutex and Locker primitives
Cloned https://github.com/NikSativa/Threading.git
Revision (git rev-parse @):
32b7d1ecc49299e900494495f9065cb74527a1d8
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/NikSativa/Threading.git at main
========================================
Build
========================================
Selected platform: android
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" : "4.0.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"
]
}
},
{
"name" : "ThreadingStatic",
"targets" : [
"Threading"
],
"type" : {
"library" : [
"static"
]
}
},
{
"name" : "ThreadingDynamic",
"targets" : [
"Threading"
],
"type" : {
"library" : [
"dynamic"
]
}
}
],
"targets" : [
{
"c99name" : "ThreadingTests",
"module_type" : "SwiftTarget",
"name" : "ThreadingTests",
"path" : "Tests",
"product_dependencies" : [
"SpryKit"
],
"sources" : [
"AtomicTests.swift",
"AtomicUncheckedTests.swift",
"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",
"ThreadingStatic",
"ThreadingDynamic"
],
"resources" : [
{
"path" : "/host/spi-builder-workspace/Source/PrivacyInfo.xcprivacy",
"rule" : {
"process" : {
}
}
}
],
"sources" : [
"AnyLock.swift",
"AnyMutex.swift",
"AtomicValue.swift",
"IsolatedMain.swift",
"Lockers/NSLock.swift",
"Lockers/NSRecursiveLock.swift",
"Lockers/OSAllocatedUnfairLock.swift",
"Lockers/PThread.swift",
"Lockers/Semaphore.swift",
"Lockers/UnfairLock.swift",
"Locking.swift",
"MutexInitializable.swift",
"Mutexes/LockedValue.swift",
"Mutexes/OSAllocatedUnfairMutex.swift",
"Mutexes/QueueBarrier.swift",
"Mutexes/SyncMutex.swift",
"Mutexing.swift",
"Queue/DelayedQueue.swift",
"Queue/DispatchTime+Queue.swift",
"Queue/Queue+Queueable.swift",
"Queue/Queue.swift",
"Queue/Queueable.swift",
"USendable.swift"
],
"type" : "library"
}
],
"tools_version" : "6.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Fetching https://github.com/NikSativa/SpryKit.git
[1/967] Fetching sprykit
Fetched https://github.com/NikSativa/SpryKit.git from cache (0.49s)
Computing version for https://github.com/NikSativa/SpryKit.git
Computed https://github.com/NikSativa/SpryKit.git at 3.0.4 (1.50s)
Fetching https://github.com/apple/swift-syntax.git
Fetching https://github.com/mattgallagher/CwlPreconditionTesting.git
[1/1257] Fetching cwlpreconditiontesting
Fetched https://github.com/mattgallagher/CwlPreconditionTesting.git from cache (0.43s)
[1/70776] Fetching swift-syntax
Fetched https://github.com/apple/swift-syntax.git from cache (9.16s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 600.0.1 (13.48s)
Computing version for https://github.com/mattgallagher/CwlPreconditionTesting.git
Computed https://github.com/mattgallagher/CwlPreconditionTesting.git at 2.2.2 (1.11s)
Fetching https://github.com/mattgallagher/CwlCatchException.git
[1/455] Fetching cwlcatchexception
Fetched https://github.com/mattgallagher/CwlCatchException.git from cache (0.37s)
Computing version for https://github.com/mattgallagher/CwlCatchException.git
Computed https://github.com/mattgallagher/CwlCatchException.git at 2.2.1 (1.40s)
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/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/CwlPreconditionTesting.git
Working copy of https://github.com/mattgallagher/CwlPreconditionTesting.git resolved at 2.2.2
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/8] Copying PrivacyInfo.xcprivacy
[0/8] Write sources
[2/8] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/30] Emitting module Threading
/host/spi-builder-workspace/Source/Lockers/UnfairLock.swift:20:25: error: cannot find 'os_unfair_lock' in scope
18 | /// ```
19 | public final class UnfairLock {
20 | private var _lock = os_unfair_lock()
| `- error: cannot find 'os_unfair_lock' in scope
21 |
22 | /// Creates a new `UnfairLock` instance.
/host/spi-builder-workspace/Source/Mutexes/SyncMutex.swift:121:36: error: redundant conformance of 'QueueBarrier<Value>' to protocol 'Sendable'
119 |
120 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
121 | extension QueueBarrier: @unchecked Sendable {}
| `- error: redundant conformance of 'QueueBarrier<Value>' to protocol 'Sendable'
122 | #endif
123 |
/host/spi-builder-workspace/Source/Mutexes/QueueBarrier.swift:139:1: note: 'QueueBarrier<Value>' declares conformance to protocol 'Sendable' here
137 | }
138 |
139 | extension QueueBarrier: @unchecked Sendable {}
| `- note: 'QueueBarrier<Value>' declares conformance to protocol 'Sendable' here
140 |
/host/spi-builder-workspace/Source/Queue/Queue.swift:16:15: error: type 'Queue' does not conform to protocol 'Equatable'
14 | /// }
15 | /// ```
16 | public struct Queue: Equatable {
| |- error: type 'Queue' does not conform to protocol 'Equatable'
| `- note: add stubs for conformance
17 | /// Represents the execution behavior of a dispatch queue.
18 | ///
:
59 | }
60 |
61 | let sdk: DispatchQueue
| `- note: stored property type 'DispatchQueue' does not conform to protocol 'Equatable', preventing synthesized conformance of 'Queue' to 'Equatable'
62 | private let kind: Kind
63 | }
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 |
[5/33] Compiling Threading UnfairLock.swift
/host/spi-builder-workspace/Source/Lockers/UnfairLock.swift:20:25: error: cannot find 'os_unfair_lock' in scope
18 | /// ```
19 | public final class UnfairLock {
20 | private var _lock = os_unfair_lock()
| `- error: cannot find 'os_unfair_lock' in scope
21 |
22 | /// Creates a new `UnfairLock` instance.
/host/spi-builder-workspace/Source/Lockers/UnfairLock.swift:40:9: error: cannot find 'os_unfair_lock_lock' in scope
38 | /// ```
39 | public func lock() {
40 | os_unfair_lock_lock(&_lock)
| `- error: cannot find 'os_unfair_lock_lock' in scope
41 | }
42 |
/host/spi-builder-workspace/Source/Lockers/UnfairLock.swift:55:16: error: cannot find 'os_unfair_lock_trylock' in scope
53 | /// ```
54 | public func tryLock() -> Bool {
55 | return os_unfair_lock_trylock(&_lock)
| `- error: cannot find 'os_unfair_lock_trylock' in scope
56 | }
57 |
/host/spi-builder-workspace/Source/Lockers/UnfairLock.swift:69:9: error: cannot find 'os_unfair_lock_unlock' in scope
67 | /// ```
68 | public func unlock() {
69 | os_unfair_lock_unlock(&_lock)
| `- error: cannot find 'os_unfair_lock_unlock' in scope
70 | }
71 | }
[6/33] Compiling Threading Locking.swift
/host/spi-builder-workspace/Source/Lockers/UnfairLock.swift:20:25: error: cannot find 'os_unfair_lock' in scope
18 | /// ```
19 | public final class UnfairLock {
20 | private var _lock = os_unfair_lock()
| `- error: cannot find 'os_unfair_lock' in scope
21 |
22 | /// Creates a new `UnfairLock` instance.
/host/spi-builder-workspace/Source/Lockers/UnfairLock.swift:40:9: error: cannot find 'os_unfair_lock_lock' in scope
38 | /// ```
39 | public func lock() {
40 | os_unfair_lock_lock(&_lock)
| `- error: cannot find 'os_unfair_lock_lock' in scope
41 | }
42 |
/host/spi-builder-workspace/Source/Lockers/UnfairLock.swift:55:16: error: cannot find 'os_unfair_lock_trylock' in scope
53 | /// ```
54 | public func tryLock() -> Bool {
55 | return os_unfair_lock_trylock(&_lock)
| `- error: cannot find 'os_unfair_lock_trylock' in scope
56 | }
57 |
/host/spi-builder-workspace/Source/Lockers/UnfairLock.swift:69:9: error: cannot find 'os_unfair_lock_unlock' in scope
67 | /// ```
68 | public func unlock() {
69 | os_unfair_lock_unlock(&_lock)
| `- error: cannot find 'os_unfair_lock_unlock' in scope
70 | }
71 | }
[7/33] Compiling Threading MutexInitializable.swift
/host/spi-builder-workspace/Source/Lockers/UnfairLock.swift:20:25: error: cannot find 'os_unfair_lock' in scope
18 | /// ```
19 | public final class UnfairLock {
20 | private var _lock = os_unfair_lock()
| `- error: cannot find 'os_unfair_lock' in scope
21 |
22 | /// Creates a new `UnfairLock` instance.
/host/spi-builder-workspace/Source/Lockers/UnfairLock.swift:40:9: error: cannot find 'os_unfair_lock_lock' in scope
38 | /// ```
39 | public func lock() {
40 | os_unfair_lock_lock(&_lock)
| `- error: cannot find 'os_unfair_lock_lock' in scope
41 | }
42 |
/host/spi-builder-workspace/Source/Lockers/UnfairLock.swift:55:16: error: cannot find 'os_unfair_lock_trylock' in scope
53 | /// ```
54 | public func tryLock() -> Bool {
55 | return os_unfair_lock_trylock(&_lock)
| `- error: cannot find 'os_unfair_lock_trylock' in scope
56 | }
57 |
/host/spi-builder-workspace/Source/Lockers/UnfairLock.swift:69:9: error: cannot find 'os_unfair_lock_unlock' in scope
67 | /// ```
68 | public func unlock() {
69 | os_unfair_lock_unlock(&_lock)
| `- error: cannot find 'os_unfair_lock_unlock' in scope
70 | }
71 | }
[8/33] Compiling Threading LockedValue.swift
[9/33] Compiling Threading OSAllocatedUnfairMutex.swift
[10/33] Compiling Threading QueueBarrier.swift
[11/33] Compiling Threading Queueable.swift
[12/33] Compiling Threading USendable.swift
[13/33] Compiling Threading resource_bundle_accessor.swift
[14/33] Compiling Threading DispatchTime+Queue.swift
/host/spi-builder-workspace/Source/Queue/Queue.swift:16:15: error: type 'Queue' does not conform to protocol 'Equatable'
14 | /// }
15 | /// ```
16 | public struct Queue: Equatable {
| |- error: type 'Queue' does not conform to protocol 'Equatable'
| `- note: add stubs for conformance
17 | /// Represents the execution behavior of a dispatch queue.
18 | ///
:
59 | }
60 |
61 | let sdk: DispatchQueue
| `- note: stored property type 'DispatchQueue' does not conform to protocol 'Equatable', preventing synthesized conformance of 'Queue' to 'Equatable'
62 | private let kind: Kind
63 | }
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 |
[15/33] Compiling Threading Queue+Queueable.swift
/host/spi-builder-workspace/Source/Queue/Queue.swift:16:15: error: type 'Queue' does not conform to protocol 'Equatable'
14 | /// }
15 | /// ```
16 | public struct Queue: Equatable {
| |- error: type 'Queue' does not conform to protocol 'Equatable'
| `- note: add stubs for conformance
17 | /// Represents the execution behavior of a dispatch queue.
18 | ///
:
59 | }
60 |
61 | let sdk: DispatchQueue
| `- note: stored property type 'DispatchQueue' does not conform to protocol 'Equatable', preventing synthesized conformance of 'Queue' to 'Equatable'
62 | private let kind: Kind
63 | }
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 |
[16/33] Compiling Threading Queue.swift
/host/spi-builder-workspace/Source/Queue/Queue.swift:16:15: error: type 'Queue' does not conform to protocol 'Equatable'
14 | /// }
15 | /// ```
16 | public struct Queue: Equatable {
| |- error: type 'Queue' does not conform to protocol 'Equatable'
| `- note: add stubs for conformance
17 | /// Represents the execution behavior of a dispatch queue.
18 | ///
:
59 | }
60 |
61 | let sdk: DispatchQueue
| `- note: stored property type 'DispatchQueue' does not conform to protocol 'Equatable', preventing synthesized conformance of 'Queue' to 'Equatable'
62 | private let kind: Kind
63 | }
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 |
[17/33] Compiling Threading AnyLock.swift
/host/spi-builder-workspace/Source/Lockers/UnfairLock.swift:20:25: error: cannot find 'os_unfair_lock' in scope
18 | /// ```
19 | public final class UnfairLock {
20 | private var _lock = os_unfair_lock()
| `- error: cannot find 'os_unfair_lock' in scope
21 |
22 | /// Creates a new `UnfairLock` instance.
[18/33] Compiling Threading AnyMutex.swift
/host/spi-builder-workspace/Source/Lockers/UnfairLock.swift:20:25: error: cannot find 'os_unfair_lock' in scope
18 | /// ```
19 | public final class UnfairLock {
20 | private var _lock = os_unfair_lock()
| `- error: cannot find 'os_unfair_lock' in scope
21 |
22 | /// Creates a new `UnfairLock` instance.
[19/33] Compiling Threading AtomicValue.swift
/host/spi-builder-workspace/Source/Lockers/UnfairLock.swift:20:25: error: cannot find 'os_unfair_lock' in scope
18 | /// ```
19 | public final class UnfairLock {
20 | private var _lock = os_unfair_lock()
| `- error: cannot find 'os_unfair_lock' in scope
21 |
22 | /// Creates a new `UnfairLock` instance.
[20/33] Compiling Threading IsolatedMain.swift
[21/33] Compiling Threading NSLock.swift
[22/33] Compiling Threading NSRecursiveLock.swift
[23/33] Compiling Threading SyncMutex.swift
/host/spi-builder-workspace/Source/Mutexes/SyncMutex.swift:121:36: error: redundant conformance of 'QueueBarrier<Value>' to protocol 'Sendable'
119 |
120 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
121 | extension QueueBarrier: @unchecked Sendable {}
| `- error: redundant conformance of 'QueueBarrier<Value>' to protocol 'Sendable'
122 | #endif
123 |
/host/spi-builder-workspace/Source/Mutexes/QueueBarrier.swift:139:1: note: 'QueueBarrier<Value>' declares conformance to protocol 'Sendable' here
137 | }
138 |
139 | extension QueueBarrier: @unchecked Sendable {}
| `- note: 'QueueBarrier<Value>' declares conformance to protocol 'Sendable' here
140 |
[24/33] Compiling Threading Mutexing.swift
/host/spi-builder-workspace/Source/Mutexes/SyncMutex.swift:121:36: error: redundant conformance of 'QueueBarrier<Value>' to protocol 'Sendable'
119 |
120 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
121 | extension QueueBarrier: @unchecked Sendable {}
| `- error: redundant conformance of 'QueueBarrier<Value>' to protocol 'Sendable'
122 | #endif
123 |
/host/spi-builder-workspace/Source/Mutexes/QueueBarrier.swift:139:1: note: 'QueueBarrier<Value>' declares conformance to protocol 'Sendable' here
137 | }
138 |
139 | extension QueueBarrier: @unchecked Sendable {}
| `- note: 'QueueBarrier<Value>' declares conformance to protocol 'Sendable' here
140 |
[25/33] Compiling Threading DelayedQueue.swift
/host/spi-builder-workspace/Source/Mutexes/SyncMutex.swift:121:36: error: redundant conformance of 'QueueBarrier<Value>' to protocol 'Sendable'
119 |
120 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
121 | extension QueueBarrier: @unchecked Sendable {}
| `- error: redundant conformance of 'QueueBarrier<Value>' to protocol 'Sendable'
122 | #endif
123 |
/host/spi-builder-workspace/Source/Mutexes/QueueBarrier.swift:139:1: note: 'QueueBarrier<Value>' declares conformance to protocol 'Sendable' here
137 | }
138 |
139 | extension QueueBarrier: @unchecked Sendable {}
| `- note: 'QueueBarrier<Value>' declares conformance to protocol 'Sendable' here
140 |
[26/33] Compiling Threading OSAllocatedUnfairLock.swift
/host/spi-builder-workspace/Source/Lockers/PThread.swift:82:46: error: cannot convert value of type 'Int' to expected argument type 'Int32'
80 | switch kind {
81 | case .normal:
82 | pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_NORMAL)
| `- error: cannot convert value of type 'Int' to expected argument type 'Int32'
83 | case .recursive:
84 | pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE)
/host/spi-builder-workspace/Source/Lockers/PThread.swift:84:46: error: cannot convert value of type 'Int' to expected argument type 'Int32'
82 | pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_NORMAL)
83 | case .recursive:
84 | pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE)
| `- error: cannot convert value of type 'Int' to expected argument type 'Int32'
85 | }
86 |
[27/33] Compiling Threading PThread.swift
/host/spi-builder-workspace/Source/Lockers/PThread.swift:82:46: error: cannot convert value of type 'Int' to expected argument type 'Int32'
80 | switch kind {
81 | case .normal:
82 | pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_NORMAL)
| `- error: cannot convert value of type 'Int' to expected argument type 'Int32'
83 | case .recursive:
84 | pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE)
/host/spi-builder-workspace/Source/Lockers/PThread.swift:84:46: error: cannot convert value of type 'Int' to expected argument type 'Int32'
82 | pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_NORMAL)
83 | case .recursive:
84 | pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE)
| `- error: cannot convert value of type 'Int' to expected argument type 'Int32'
85 | }
86 |
[28/33] Compiling Threading Semaphore.swift
/host/spi-builder-workspace/Source/Lockers/PThread.swift:82:46: error: cannot convert value of type 'Int' to expected argument type 'Int32'
80 | switch kind {
81 | case .normal:
82 | pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_NORMAL)
| `- error: cannot convert value of type 'Int' to expected argument type 'Int32'
83 | case .recursive:
84 | pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE)
/host/spi-builder-workspace/Source/Lockers/PThread.swift:84:46: error: cannot convert value of type 'Int' to expected argument type 'Int32'
82 | pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_NORMAL)
83 | case .recursive:
84 | pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE)
| `- error: cannot convert value of type 'Int' to expected argument type 'Int32'
85 | }
86 |
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
[0/1] Planning build
Building for debugging...
[0/6] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/28] Emitting module Threading
/host/spi-builder-workspace/Source/Lockers/UnfairLock.swift:20:25: error: cannot find 'os_unfair_lock' in scope
18 | /// ```
19 | public final class UnfairLock {
20 | private var _lock = os_unfair_lock()
| `- error: cannot find 'os_unfair_lock' in scope
21 |
22 | /// Creates a new `UnfairLock` instance.
/host/spi-builder-workspace/Source/Mutexes/SyncMutex.swift:121:36: error: redundant conformance of 'QueueBarrier<Value>' to protocol 'Sendable'
119 |
120 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
121 | extension QueueBarrier: @unchecked Sendable {}
| `- error: redundant conformance of 'QueueBarrier<Value>' to protocol 'Sendable'
122 | #endif
123 |
/host/spi-builder-workspace/Source/Mutexes/QueueBarrier.swift:139:1: note: 'QueueBarrier<Value>' declares conformance to protocol 'Sendable' here
137 | }
138 |
139 | extension QueueBarrier: @unchecked Sendable {}
| `- note: 'QueueBarrier<Value>' declares conformance to protocol 'Sendable' here
140 |
/host/spi-builder-workspace/Source/Queue/Queue.swift:16:15: error: type 'Queue' does not conform to protocol 'Equatable'
14 | /// }
15 | /// ```
16 | public struct Queue: Equatable {
| |- error: type 'Queue' does not conform to protocol 'Equatable'
| `- note: add stubs for conformance
17 | /// Represents the execution behavior of a dispatch queue.
18 | ///
:
59 | }
60 |
61 | let sdk: DispatchQueue
| `- note: stored property type 'DispatchQueue' does not conform to protocol 'Equatable', preventing synthesized conformance of 'Queue' to 'Equatable'
62 | private let kind: Kind
63 | }
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 |
[3/31] Compiling Threading DispatchTime+Queue.swift
/host/spi-builder-workspace/Source/Queue/Queue.swift:16:15: error: type 'Queue' does not conform to protocol 'Equatable'
14 | /// }
15 | /// ```
16 | public struct Queue: Equatable {
| |- error: type 'Queue' does not conform to protocol 'Equatable'
| `- note: add stubs for conformance
17 | /// Represents the execution behavior of a dispatch queue.
18 | ///
:
59 | }
60 |
61 | let sdk: DispatchQueue
| `- note: stored property type 'DispatchQueue' does not conform to protocol 'Equatable', preventing synthesized conformance of 'Queue' to 'Equatable'
62 | private let kind: Kind
63 | }
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 |
[4/31] Compiling Threading Queue+Queueable.swift
/host/spi-builder-workspace/Source/Queue/Queue.swift:16:15: error: type 'Queue' does not conform to protocol 'Equatable'
14 | /// }
15 | /// ```
16 | public struct Queue: Equatable {
| |- error: type 'Queue' does not conform to protocol 'Equatable'
| `- note: add stubs for conformance
17 | /// Represents the execution behavior of a dispatch queue.
18 | ///
:
59 | }
60 |
61 | let sdk: DispatchQueue
| `- note: stored property type 'DispatchQueue' does not conform to protocol 'Equatable', preventing synthesized conformance of 'Queue' to 'Equatable'
62 | private let kind: Kind
63 | }
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 |
[5/31] Compiling Threading Queue.swift
/host/spi-builder-workspace/Source/Queue/Queue.swift:16:15: error: type 'Queue' does not conform to protocol 'Equatable'
14 | /// }
15 | /// ```
16 | public struct Queue: Equatable {
| |- error: type 'Queue' does not conform to protocol 'Equatable'
| `- note: add stubs for conformance
17 | /// Represents the execution behavior of a dispatch queue.
18 | ///
:
59 | }
60 |
61 | let sdk: DispatchQueue
| `- note: stored property type 'DispatchQueue' does not conform to protocol 'Equatable', preventing synthesized conformance of 'Queue' to 'Equatable'
62 | private let kind: Kind
63 | }
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 |
[6/31] Compiling Threading SyncMutex.swift
/host/spi-builder-workspace/Source/Mutexes/SyncMutex.swift:121:36: error: redundant conformance of 'QueueBarrier<Value>' to protocol 'Sendable'
119 |
120 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
121 | extension QueueBarrier: @unchecked Sendable {}
| `- error: redundant conformance of 'QueueBarrier<Value>' to protocol 'Sendable'
122 | #endif
123 |
/host/spi-builder-workspace/Source/Mutexes/QueueBarrier.swift:139:1: note: 'QueueBarrier<Value>' declares conformance to protocol 'Sendable' here
137 | }
138 |
139 | extension QueueBarrier: @unchecked Sendable {}
| `- note: 'QueueBarrier<Value>' declares conformance to protocol 'Sendable' here
140 |
[7/31] Compiling Threading Mutexing.swift
/host/spi-builder-workspace/Source/Mutexes/SyncMutex.swift:121:36: error: redundant conformance of 'QueueBarrier<Value>' to protocol 'Sendable'
119 |
120 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
121 | extension QueueBarrier: @unchecked Sendable {}
| `- error: redundant conformance of 'QueueBarrier<Value>' to protocol 'Sendable'
122 | #endif
123 |
/host/spi-builder-workspace/Source/Mutexes/QueueBarrier.swift:139:1: note: 'QueueBarrier<Value>' declares conformance to protocol 'Sendable' here
137 | }
138 |
139 | extension QueueBarrier: @unchecked Sendable {}
| `- note: 'QueueBarrier<Value>' declares conformance to protocol 'Sendable' here
140 |
[8/31] Compiling Threading DelayedQueue.swift
/host/spi-builder-workspace/Source/Mutexes/SyncMutex.swift:121:36: error: redundant conformance of 'QueueBarrier<Value>' to protocol 'Sendable'
119 |
120 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
121 | extension QueueBarrier: @unchecked Sendable {}
| `- error: redundant conformance of 'QueueBarrier<Value>' to protocol 'Sendable'
122 | #endif
123 |
/host/spi-builder-workspace/Source/Mutexes/QueueBarrier.swift:139:1: note: 'QueueBarrier<Value>' declares conformance to protocol 'Sendable' here
137 | }
138 |
139 | extension QueueBarrier: @unchecked Sendable {}
| `- note: 'QueueBarrier<Value>' declares conformance to protocol 'Sendable' here
140 |
[9/31] Compiling Threading IsolatedMain.swift
[10/31] Compiling Threading NSLock.swift
[11/31] Compiling Threading NSRecursiveLock.swift
[12/31] Compiling Threading AnyLock.swift
/host/spi-builder-workspace/Source/Lockers/UnfairLock.swift:20:25: error: cannot find 'os_unfair_lock' in scope
18 | /// ```
19 | public final class UnfairLock {
20 | private var _lock = os_unfair_lock()
| `- error: cannot find 'os_unfair_lock' in scope
21 |
22 | /// Creates a new `UnfairLock` instance.
[13/31] Compiling Threading AnyMutex.swift
/host/spi-builder-workspace/Source/Lockers/UnfairLock.swift:20:25: error: cannot find 'os_unfair_lock' in scope
18 | /// ```
19 | public final class UnfairLock {
20 | private var _lock = os_unfair_lock()
| `- error: cannot find 'os_unfair_lock' in scope
21 |
22 | /// Creates a new `UnfairLock` instance.
[14/31] Compiling Threading AtomicValue.swift
/host/spi-builder-workspace/Source/Lockers/UnfairLock.swift:20:25: error: cannot find 'os_unfair_lock' in scope
18 | /// ```
19 | public final class UnfairLock {
20 | private var _lock = os_unfair_lock()
| `- error: cannot find 'os_unfair_lock' in scope
21 |
22 | /// Creates a new `UnfairLock` instance.
[15/31] Compiling Threading OSAllocatedUnfairLock.swift
/host/spi-builder-workspace/Source/Lockers/PThread.swift:82:46: error: cannot convert value of type 'Int' to expected argument type 'Int32'
80 | switch kind {
81 | case .normal:
82 | pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_NORMAL)
| `- error: cannot convert value of type 'Int' to expected argument type 'Int32'
83 | case .recursive:
84 | pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE)
/host/spi-builder-workspace/Source/Lockers/PThread.swift:84:46: error: cannot convert value of type 'Int' to expected argument type 'Int32'
82 | pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_NORMAL)
83 | case .recursive:
84 | pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE)
| `- error: cannot convert value of type 'Int' to expected argument type 'Int32'
85 | }
86 |
[16/31] Compiling Threading PThread.swift
/host/spi-builder-workspace/Source/Lockers/PThread.swift:82:46: error: cannot convert value of type 'Int' to expected argument type 'Int32'
80 | switch kind {
81 | case .normal:
82 | pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_NORMAL)
| `- error: cannot convert value of type 'Int' to expected argument type 'Int32'
83 | case .recursive:
84 | pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE)
/host/spi-builder-workspace/Source/Lockers/PThread.swift:84:46: error: cannot convert value of type 'Int' to expected argument type 'Int32'
82 | pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_NORMAL)
83 | case .recursive:
84 | pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE)
| `- error: cannot convert value of type 'Int' to expected argument type 'Int32'
85 | }
86 |
[17/31] Compiling Threading Semaphore.swift
/host/spi-builder-workspace/Source/Lockers/PThread.swift:82:46: error: cannot convert value of type 'Int' to expected argument type 'Int32'
80 | switch kind {
81 | case .normal:
82 | pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_NORMAL)
| `- error: cannot convert value of type 'Int' to expected argument type 'Int32'
83 | case .recursive:
84 | pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE)
/host/spi-builder-workspace/Source/Lockers/PThread.swift:84:46: error: cannot convert value of type 'Int' to expected argument type 'Int32'
82 | pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_NORMAL)
83 | case .recursive:
84 | pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE)
| `- error: cannot convert value of type 'Int' to expected argument type 'Int32'
85 | }
86 |
[18/31] Compiling Threading LockedValue.swift
[19/31] Compiling Threading OSAllocatedUnfairMutex.swift
[20/31] Compiling Threading QueueBarrier.swift
[21/31] Compiling Threading UnfairLock.swift
/host/spi-builder-workspace/Source/Lockers/UnfairLock.swift:20:25: error: cannot find 'os_unfair_lock' in scope
18 | /// ```
19 | public final class UnfairLock {
20 | private var _lock = os_unfair_lock()
| `- error: cannot find 'os_unfair_lock' in scope
21 |
22 | /// Creates a new `UnfairLock` instance.
/host/spi-builder-workspace/Source/Lockers/UnfairLock.swift:40:9: error: cannot find 'os_unfair_lock_lock' in scope
38 | /// ```
39 | public func lock() {
40 | os_unfair_lock_lock(&_lock)
| `- error: cannot find 'os_unfair_lock_lock' in scope
41 | }
42 |
/host/spi-builder-workspace/Source/Lockers/UnfairLock.swift:55:16: error: cannot find 'os_unfair_lock_trylock' in scope
53 | /// ```
54 | public func tryLock() -> Bool {
55 | return os_unfair_lock_trylock(&_lock)
| `- error: cannot find 'os_unfair_lock_trylock' in scope
56 | }
57 |
/host/spi-builder-workspace/Source/Lockers/UnfairLock.swift:69:9: error: cannot find 'os_unfair_lock_unlock' in scope
67 | /// ```
68 | public func unlock() {
69 | os_unfair_lock_unlock(&_lock)
| `- error: cannot find 'os_unfair_lock_unlock' in scope
70 | }
71 | }
[22/31] Compiling Threading Locking.swift
/host/spi-builder-workspace/Source/Lockers/UnfairLock.swift:20:25: error: cannot find 'os_unfair_lock' in scope
18 | /// ```
19 | public final class UnfairLock {
20 | private var _lock = os_unfair_lock()
| `- error: cannot find 'os_unfair_lock' in scope
21 |
22 | /// Creates a new `UnfairLock` instance.
/host/spi-builder-workspace/Source/Lockers/UnfairLock.swift:40:9: error: cannot find 'os_unfair_lock_lock' in scope
38 | /// ```
39 | public func lock() {
40 | os_unfair_lock_lock(&_lock)
| `- error: cannot find 'os_unfair_lock_lock' in scope
41 | }
42 |
/host/spi-builder-workspace/Source/Lockers/UnfairLock.swift:55:16: error: cannot find 'os_unfair_lock_trylock' in scope
53 | /// ```
54 | public func tryLock() -> Bool {
55 | return os_unfair_lock_trylock(&_lock)
| `- error: cannot find 'os_unfair_lock_trylock' in scope
56 | }
57 |
/host/spi-builder-workspace/Source/Lockers/UnfairLock.swift:69:9: error: cannot find 'os_unfair_lock_unlock' in scope
67 | /// ```
68 | public func unlock() {
69 | os_unfair_lock_unlock(&_lock)
| `- error: cannot find 'os_unfair_lock_unlock' in scope
70 | }
71 | }
[23/31] Compiling Threading MutexInitializable.swift
/host/spi-builder-workspace/Source/Lockers/UnfairLock.swift:20:25: error: cannot find 'os_unfair_lock' in scope
18 | /// ```
19 | public final class UnfairLock {
20 | private var _lock = os_unfair_lock()
| `- error: cannot find 'os_unfair_lock' in scope
21 |
22 | /// Creates a new `UnfairLock` instance.
/host/spi-builder-workspace/Source/Lockers/UnfairLock.swift:40:9: error: cannot find 'os_unfair_lock_lock' in scope
38 | /// ```
39 | public func lock() {
40 | os_unfair_lock_lock(&_lock)
| `- error: cannot find 'os_unfair_lock_lock' in scope
41 | }
42 |
/host/spi-builder-workspace/Source/Lockers/UnfairLock.swift:55:16: error: cannot find 'os_unfair_lock_trylock' in scope
53 | /// ```
54 | public func tryLock() -> Bool {
55 | return os_unfair_lock_trylock(&_lock)
| `- error: cannot find 'os_unfair_lock_trylock' in scope
56 | }
57 |
/host/spi-builder-workspace/Source/Lockers/UnfairLock.swift:69:9: error: cannot find 'os_unfair_lock_unlock' in scope
67 | /// ```
68 | public func unlock() {
69 | os_unfair_lock_unlock(&_lock)
| `- error: cannot find 'os_unfair_lock_unlock' in scope
70 | }
71 | }
[24/31] Compiling Threading Queueable.swift
[25/31] Compiling Threading USendable.swift
[26/31] Compiling Threading resource_bundle_accessor.swift
BUILD FAILURE 6.1 android