Build Information
Failed to build SmartNetwork, reference 5.3.0 (c1fd80
), with Swift 6.0 for Linux on 15 Nov 2024 13:25:12 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.57.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/NikSativa/SmartNetwork.git
Reference: 5.3.0
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/NikSativa/SmartNetwork
* tag 5.3.0 -> FETCH_HEAD
HEAD is now at c1fd808 new CURLConvertible
Cloned https://github.com/NikSativa/SmartNetwork.git
Revision (git rev-parse @):
c1fd808f75d0a675bd069f926071656fdc1e358b
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/NikSativa/SmartNetwork.git at 5.3.0
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $PWD
https://github.com/NikSativa/SmartNetwork.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/NikSativa/SpryKit.git
Fetching https://github.com/NikSativa/Threading.git
[1/415] Fetching threading
[416/1335] Fetching threading, sprykit
Fetched https://github.com/NikSativa/Threading.git from cache (0.20s)
Fetched https://github.com/NikSativa/SpryKit.git from cache (0.23s)
Computing version for https://github.com/NikSativa/Threading.git
Computed https://github.com/NikSativa/Threading.git at 2.1.0 (0.77s)
Computing version for https://github.com/NikSativa/SpryKit.git
Computed https://github.com/NikSativa/SpryKit.git at 3.0.1 (0.42s)
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.21s)
[1/66562] Fetching swift-syntax
Fetched https://github.com/apple/swift-syntax.git from cache (4.14s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 600.0.0 (2.00s)
Computing version for https://github.com/mattgallagher/CwlPreconditionTesting.git
Computed https://github.com/mattgallagher/CwlPreconditionTesting.git at 2.2.2 (0.44s)
Fetching https://github.com/mattgallagher/CwlCatchException.git
[1/455] Fetching cwlcatchexception
Fetched https://github.com/mattgallagher/CwlCatchException.git from cache (0.18s)
Computing version for https://github.com/mattgallagher/CwlCatchException.git
Computed https://github.com/mattgallagher/CwlCatchException.git at 2.2.1 (0.46s)
Creating working copy for https://github.com/NikSativa/Threading.git
Working copy of https://github.com/NikSativa/Threading.git resolved at 2.1.0
Creating working copy for https://github.com/mattgallagher/CwlPreconditionTesting.git
Working copy of https://github.com/mattgallagher/CwlPreconditionTesting.git resolved at 2.2.2
Creating working copy for https://github.com/NikSativa/SpryKit.git
Working copy of https://github.com/NikSativa/SpryKit.git resolved at 3.0.1
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.0
Building for debugging...
[0/5] Write sources
[0/5] Copying PrivacyInfo.xcprivacy
[1/5] Write sources
[1/5] Copying PrivacyInfo.xcprivacy
[4/5] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/24] Emitting module Threading
/host/spi-builder-workspace/.build/checkouts/Threading/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/.build/checkouts/Threading/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'
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:24: note: candidate would match if 'Queue' conformed to 'FloatingPoint'
1 | extension FloatingPoint {
2 | public static func == (lhs: Self, rhs: Self) -> Bool
| `- note: candidate would match if 'Queue' conformed to 'FloatingPoint'
3 | public static func < (lhs: Self, rhs: Self) -> Bool
4 | public static func <= (lhs: Self, rhs: Self) -> Bool
Swift.BinaryInteger:2:24: note: candidate would match if 'Queue' conformed to 'BinaryInteger'
1 | extension BinaryInteger {
2 | public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : BinaryInteger
| `- note: candidate would match if 'Queue' conformed to 'BinaryInteger'
3 | public static func != <Other>(lhs: Self, rhs: Other) -> Bool where Other : BinaryInteger
4 | public static func < <Other>(lhs: Self, rhs: Other) -> Bool where Other : BinaryInteger
Swift._Pointer:2:24: note: candidate would match if 'Queue' conformed to '_Pointer'
1 | extension _Pointer {
2 | public static func == (lhs: Self, rhs: Self) -> Bool
| `- note: candidate would match if 'Queue' conformed to '_Pointer'
3 | @inlinable public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : _Pointer
| `- note: candidate would match if 'Queue' conformed to '_Pointer'
4 | @inlinable public static func != <Other>(lhs: Self, rhs: Other) -> Bool where Other : _Pointer
5 | }
Swift.Strideable:3:35: note: candidate would match if 'Queue' conformed to 'Strideable'
1 | extension Strideable {
2 | @inlinable public static func < (x: Self, y: Self) -> Bool
3 | @inlinable public static func == (x: Self, y: Self) -> Bool
| `- note: candidate would match if 'Queue' conformed to 'Strideable'
4 | }
Swift.StringProtocol:2:35: note: candidate would match if 'Queue' conformed to 'StringProtocol'
1 | extension 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 | @inlinable public static func != <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : StringProtocol
4 | @inlinable public static func < <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : StringProtocol
Swift.SIMD:4:24: note: candidate would match if 'Queue' conformed to 'SIMD'
2 | public var indices: Range<Int> { get }
3 | public init(repeating value: Self.Scalar)
4 | public static func == (a: Self, b: Self) -> Bool
| `- note: candidate would match if 'Queue' conformed to 'SIMD'
5 | @inlinable public func hash(into hasher: inout Hasher)
6 | public func encode(to encoder: any Encoder) throws
Foundation.__BridgedNSError:2:24: note: candidate would match if 'Queue' conformed to '__BridgedNSError'
1 | extension __BridgedNSError where Self : RawRepresentable, Self.RawValue : FixedWidthInteger {
2 | public static func == (lhs: Self, rhs: Self) -> Bool
| `- note: candidate would match if 'Queue' conformed to '__BridgedNSError'
3 | }
Foundation._BridgedStoredNSError:2:24: note: candidate would match if 'Queue' conformed to '_BridgedStoredNSError'
1 | extension _BridgedStoredNSError {
2 | public static func == (lhs: Self, rhs: Self) -> Bool
| `- note: candidate would match if 'Queue' conformed to '_BridgedStoredNSError'
3 | }
FoundationEssentials.AttributedStringProtocol:3:24: note: candidate would match if 'Queue' conformed to 'AttributedStringProtocol'
1 | @available(macOS 12, iOS 15, tvOS 15, watchOS 8, *)
2 | extension AttributedStringProtocol {
3 | public static func == <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : AttributedStringProtocol
| `- note: candidate would match if 'Queue' conformed to 'AttributedStringProtocol'
4 | public func hash(into hasher: inout Hasher)
5 | }
Swift.Equatable:2:17: note: protocol requires function '==' with type '(Queue, Queue) -> Bool'
1 | public protocol Equatable {
2 | static func == (lhs: Self, rhs: Self) -> Bool
| `- note: protocol requires function '==' with type '(Queue, Queue) -> Bool'
3 | }
/host/spi-builder-workspace/.build/checkouts/Threading/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
[7/26] Compiling Threading Queue.swift
/host/spi-builder-workspace/.build/checkouts/Threading/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'
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:24: note: candidate would match if 'Queue' conformed to 'FloatingPoint'
1 | extension FloatingPoint {
2 | public static func == (lhs: Self, rhs: Self) -> Bool
| `- note: candidate would match if 'Queue' conformed to 'FloatingPoint'
3 | public static func < (lhs: Self, rhs: Self) -> Bool
4 | public static func <= (lhs: Self, rhs: Self) -> Bool
Swift.BinaryInteger:2:24: note: candidate would match if 'Queue' conformed to 'BinaryInteger'
1 | extension BinaryInteger {
2 | public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : BinaryInteger
| `- note: candidate would match if 'Queue' conformed to 'BinaryInteger'
3 | public static func != <Other>(lhs: Self, rhs: Other) -> Bool where Other : BinaryInteger
4 | public static func < <Other>(lhs: Self, rhs: Other) -> Bool where Other : BinaryInteger
Swift._Pointer:2:24: note: candidate would match if 'Queue' conformed to '_Pointer'
1 | extension _Pointer {
2 | public static func == (lhs: Self, rhs: Self) -> Bool
| `- note: candidate would match if 'Queue' conformed to '_Pointer'
3 | @inlinable public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : _Pointer
| `- note: candidate would match if 'Queue' conformed to '_Pointer'
4 | @inlinable public static func != <Other>(lhs: Self, rhs: Other) -> Bool where Other : _Pointer
5 | }
Swift.Strideable:3:35: note: candidate would match if 'Queue' conformed to 'Strideable'
1 | extension Strideable {
2 | @inlinable public static func < (x: Self, y: Self) -> Bool
3 | @inlinable public static func == (x: Self, y: Self) -> Bool
| `- note: candidate would match if 'Queue' conformed to 'Strideable'
4 | }
Swift.StringProtocol:2:35: note: candidate would match if 'Queue' conformed to 'StringProtocol'
1 | extension 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 | @inlinable public static func != <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : StringProtocol
4 | @inlinable public static func < <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : StringProtocol
Swift.SIMD:4:24: note: candidate would match if 'Queue' conformed to 'SIMD'
2 | public var indices: Range<Int> { get }
3 | public init(repeating value: Self.Scalar)
4 | public static func == (a: Self, b: Self) -> Bool
| `- note: candidate would match if 'Queue' conformed to 'SIMD'
5 | @inlinable public func hash(into hasher: inout Hasher)
6 | public func encode(to encoder: any Encoder) throws
Foundation.__BridgedNSError:2:24: note: candidate would match if 'Queue' conformed to '__BridgedNSError'
1 | extension __BridgedNSError where Self : RawRepresentable, Self.RawValue : FixedWidthInteger {
2 | public static func == (lhs: Self, rhs: Self) -> Bool
| `- note: candidate would match if 'Queue' conformed to '__BridgedNSError'
3 | }
Foundation._BridgedStoredNSError:2:24: note: candidate would match if 'Queue' conformed to '_BridgedStoredNSError'
1 | extension _BridgedStoredNSError {
2 | public static func == (lhs: Self, rhs: Self) -> Bool
| `- note: candidate would match if 'Queue' conformed to '_BridgedStoredNSError'
3 | }
FoundationEssentials.AttributedStringProtocol:3:24: note: candidate would match if 'Queue' conformed to 'AttributedStringProtocol'
1 | @available(macOS 12, iOS 15, tvOS 15, watchOS 8, *)
2 | extension AttributedStringProtocol {
3 | public static func == <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : AttributedStringProtocol
| `- note: candidate would match if 'Queue' conformed to 'AttributedStringProtocol'
4 | public func hash(into hasher: inout Hasher)
5 | }
Swift.Equatable:2:17: note: protocol requires function '==' with type '(Queue, Queue) -> Bool'
1 | public protocol Equatable {
2 | static func == (lhs: Self, rhs: Self) -> Bool
| `- note: protocol requires function '==' with type '(Queue, Queue) -> Bool'
3 | }
/host/spi-builder-workspace/.build/checkouts/Threading/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
[8/26] Compiling Threading Queueable.swift
/host/spi-builder-workspace/.build/checkouts/Threading/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'
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:24: note: candidate would match if 'Queue' conformed to 'FloatingPoint'
1 | extension FloatingPoint {
2 | public static func == (lhs: Self, rhs: Self) -> Bool
| `- note: candidate would match if 'Queue' conformed to 'FloatingPoint'
3 | public static func < (lhs: Self, rhs: Self) -> Bool
4 | public static func <= (lhs: Self, rhs: Self) -> Bool
Swift.BinaryInteger:2:24: note: candidate would match if 'Queue' conformed to 'BinaryInteger'
1 | extension BinaryInteger {
2 | public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : BinaryInteger
| `- note: candidate would match if 'Queue' conformed to 'BinaryInteger'
3 | public static func != <Other>(lhs: Self, rhs: Other) -> Bool where Other : BinaryInteger
4 | public static func < <Other>(lhs: Self, rhs: Other) -> Bool where Other : BinaryInteger
Swift._Pointer:2:24: note: candidate would match if 'Queue' conformed to '_Pointer'
1 | extension _Pointer {
2 | public static func == (lhs: Self, rhs: Self) -> Bool
| `- note: candidate would match if 'Queue' conformed to '_Pointer'
3 | @inlinable public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : _Pointer
| `- note: candidate would match if 'Queue' conformed to '_Pointer'
4 | @inlinable public static func != <Other>(lhs: Self, rhs: Other) -> Bool where Other : _Pointer
5 | }
Swift.Strideable:3:35: note: candidate would match if 'Queue' conformed to 'Strideable'
1 | extension Strideable {
2 | @inlinable public static func < (x: Self, y: Self) -> Bool
3 | @inlinable public static func == (x: Self, y: Self) -> Bool
| `- note: candidate would match if 'Queue' conformed to 'Strideable'
4 | }
Swift.StringProtocol:2:35: note: candidate would match if 'Queue' conformed to 'StringProtocol'
1 | extension 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 | @inlinable public static func != <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : StringProtocol
4 | @inlinable public static func < <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : StringProtocol
Swift.SIMD:4:24: note: candidate would match if 'Queue' conformed to 'SIMD'
2 | public var indices: Range<Int> { get }
3 | public init(repeating value: Self.Scalar)
4 | public static func == (a: Self, b: Self) -> Bool
| `- note: candidate would match if 'Queue' conformed to 'SIMD'
5 | @inlinable public func hash(into hasher: inout Hasher)
6 | public func encode(to encoder: any Encoder) throws
Foundation.__BridgedNSError:2:24: note: candidate would match if 'Queue' conformed to '__BridgedNSError'
1 | extension __BridgedNSError where Self : RawRepresentable, Self.RawValue : FixedWidthInteger {
2 | public static func == (lhs: Self, rhs: Self) -> Bool
| `- note: candidate would match if 'Queue' conformed to '__BridgedNSError'
3 | }
Foundation._BridgedStoredNSError:2:24: note: candidate would match if 'Queue' conformed to '_BridgedStoredNSError'
1 | extension _BridgedStoredNSError {
2 | public static func == (lhs: Self, rhs: Self) -> Bool
| `- note: candidate would match if 'Queue' conformed to '_BridgedStoredNSError'
3 | }
FoundationEssentials.AttributedStringProtocol:3:24: note: candidate would match if 'Queue' conformed to 'AttributedStringProtocol'
1 | @available(macOS 12, iOS 15, tvOS 15, watchOS 8, *)
2 | extension AttributedStringProtocol {
3 | public static func == <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : AttributedStringProtocol
| `- note: candidate would match if 'Queue' conformed to 'AttributedStringProtocol'
4 | public func hash(into hasher: inout Hasher)
5 | }
Swift.Equatable:2:17: note: protocol requires function '==' with type '(Queue, Queue) -> Bool'
1 | public protocol Equatable {
2 | static func == (lhs: Self, rhs: Self) -> Bool
| `- note: protocol requires function '==' with type '(Queue, Queue) -> Bool'
3 | }
/host/spi-builder-workspace/.build/checkouts/Threading/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
[9/26] Compiling Threading Semaphore.swift
/host/spi-builder-workspace/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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 | }
[10/26] Compiling Threading Unfair.swift
/host/spi-builder-workspace/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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 | }
[11/26] Compiling Threading UnSendable.swift
[12/26] Compiling Threading resource_bundle_accessor.swift
[13/26] Compiling Threading DelayedQueue.swift
[14/26] Compiling Threading DispatchTime+Queue.swift
[15/26] Compiling Threading IsolatedMain.swift
[16/26] Compiling Threading Mutexing.swift
[17/26] Compiling Threading Queue+Queueable.swift
[18/26] Compiling Threading AnyLock.swift
/host/spi-builder-workspace/.build/checkouts/Threading/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() {}
[19/26] Compiling Threading AnyMutex.swift
/host/spi-builder-workspace/.build/checkouts/Threading/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() {}
[20/26] Compiling Threading Atomic.swift
/host/spi-builder-workspace/.build/checkouts/Threading/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() {}
[21/26] Compiling Threading Locking.swift
[22/26] Compiling Threading Barrier.swift
[23/26] Compiling Threading NSLock.swift
[24/26] Compiling Threading NSRecursiveLock.swift
/host/spi-builder-workspace/.build/checkouts/Threading/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/.build/checkouts/Threading/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 |
[25/26] Compiling Threading OSAllocatedUnfairLock.swift
/host/spi-builder-workspace/.build/checkouts/Threading/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/.build/checkouts/Threading/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 |
[26/26] Compiling Threading PThread.swift
/host/spi-builder-workspace/.build/checkouts/Threading/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/.build/checkouts/Threading/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 |
BUILD FAILURE 6.0 linux