The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build SmartNetwork, reference main (2cd1d7), with Swift 6.1 for Linux on 1 May 2025 13:27:01 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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.3
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/NikSativa/SmartNetwork.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/SmartNetwork
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 2cd1d77 new README.md
Cloned https://github.com/NikSativa/SmartNetwork.git
Revision (git rev-parse @):
2cd1d77acb4b69993a1d2552f4c18f980216e3ac
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/NikSativa/SmartNetwork.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.1
Building package at path:  $PWD
https://github.com/NikSativa/SmartNetwork.git
https://github.com/NikSativa/SmartNetwork.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"
    },
    {
      "identity" : "threading",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.1.1",
            "upper_bound" : "2.2.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/NikSativa/Threading.git"
    }
  ],
  "manifest_display_name" : "SmartNetwork",
  "name" : "SmartNetwork",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "15.0"
    },
    {
      "name" : "macos",
      "version" : "12.0"
    },
    {
      "name" : "maccatalyst",
      "version" : "13.0"
    },
    {
      "name" : "visionos",
      "version" : "1.0"
    },
    {
      "name" : "tvos",
      "version" : "15.0"
    },
    {
      "name" : "watchos",
      "version" : "8.0"
    }
  ],
  "products" : [
    {
      "name" : "SmartNetwork",
      "targets" : [
        "SmartNetwork"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SmartNetworkTests",
      "module_type" : "SwiftTarget",
      "name" : "SmartNetworkTests",
      "path" : "Tests",
      "product_dependencies" : [
        "Threading",
        "SpryKit"
      ],
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/Tests/JSON/HTTPStubBody.json",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "AnyRequestCallChainTests.swift",
        "CollectionTests.swift",
        "CrossPlatformTests.swift",
        "CustomDecodableTests.swift",
        "DecodableKeyPathTests.swift",
        "DecodeByKeyPathTests.swift",
        "Error/RequestDecodingErrorTests.swift",
        "Error/RequestEncodingErrorTests.swift",
        "Error/RequestErrorTests.swift",
        "Error/StatusCodeTests.swift",
        "Managers/AnyRequestTests.swift",
        "Managers/Content/DecodableRequestManagerTests.swift",
        "Managers/Content/PureRequestManagerTests.swift",
        "Managers/Content/TypedRequestManagerTests.swift",
        "Managers/RequestCompletionTests.swift",
        "Managers/RequestManagerTests.swift",
        "Managers/RequestMultithreadTests.swift",
        "Managers/SmartTaskTests.swift",
        "OptionalTests.swift",
        "Parameters/AddressDetailsTests.swift",
        "Parameters/AddressTests.swift",
        "Parameters/BodyTests.swift",
        "Parameters/HTTPMethodTests.swift",
        "Parameters/SmartItemTests.swift",
        "Parameters/SmartItemsTests.swift",
        "Plugins/Plugin.unifiedTests.swift",
        "Plugins/PluginPriorityTests.swift",
        "Plugins/Plugins.BasicTests.swift",
        "Plugins/Plugins.BearerTests.swift",
        "Plugins/Plugins.CurlOSTests.swift",
        "Plugins/Plugins.CurlTests.swift",
        "Plugins/Plugins.JSONHeadersTests.swift",
        "Plugins/Plugins.StatusCodeTests.swift",
        "Plugins/Plugins.TokenPluginTests.swift",
        "ProgressObservableTests.swift",
        "Result+RecoverTests.swift",
        "Retrier/AnyErrorRetrierTests.swift",
        "Retrier/ConnectionErrorRetrierTests.swift",
        "SmartRequestTests.swift",
        "Stub/HTTPStubBodyTests.swift",
        "Stub/HTTPStubConditionTests.swift",
        "Stub/HTTPStubProtocolTests.swift",
        "TestHelpers/FakeDetachedTask.swift",
        "TestHelpers/FakeRequestManager.swift",
        "TestHelpers/FakeSmartTask.swift",
        "TestHelpers/FakeSmartURLSession.swift",
        "TestHelpers/FakeStopTheLine.swift",
        "TestHelpers/FakeURLRequestRepresentation.swift",
        "TestHelpers/Parameters/Address+TestHelper.swift",
        "TestHelpers/Parameters/Body+TestHelper.swift",
        "TestHelpers/Parameters/CacheSettings+TestHelper.swift",
        "TestHelpers/Parameters/FakeRequestCache.swift",
        "TestHelpers/Parameters/HTTPMethod+TestHelper.swift",
        "TestHelpers/Parameters/Parameters+TestHelper.swift",
        "TestHelpers/Parameters/Scheme+TestHelper.swift",
        "TestHelpers/Parameters/UserInfo+TestHelper.swift",
        "TestHelpers/Plugin/FakePlugin.swift",
        "TestHelpers/Plugin/Plugin+TestHelper.swift",
        "TestHelpers/ResultTestHelpers.swift",
        "TestHelpers/RetryResult+TestHelper.swift",
        "TestHelpers/SmartItem+TestHelper.swift",
        "TestHelpers/SmartResponse+TestHelper.swift",
        "TestHelpers/StopTheLineAction+TestHelper.swift",
        "TestHelpers/TestInfo.swift",
        "TestHelpers/URLRequestRepresentation+TestHelper.swift",
        "TestHelpers/UnsafeResult.swift",
        "UserInfoTests.swift"
      ],
      "target_dependencies" : [
        "SmartNetwork"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SmartNetwork",
      "module_type" : "SwiftTarget",
      "name" : "SmartNetwork",
      "path" : "Source",
      "product_dependencies" : [
        "Threading"
      ],
      "product_memberships" : [
        "SmartNetwork"
      ],
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/Source/PrivacyInfo.xcprivacy",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "Address/Address.swift",
        "Address/AddressDetails+URL.swift",
        "Address/AddressDetails.swift",
        "Address/AddressDetailsExt.swift",
        "Address/AddressExt.swift",
        "CURLConvertible.swift",
        "Content/DataContent.swift",
        "Content/DecodableContent.swift",
        "Content/DecodableKeyPath.swift",
        "Content/Deserializable.swift",
        "Content/ImageContent.swift",
        "Content/JSONContent.swift",
        "Content/VoidContent.swift",
        "CrossPlatform.swift",
        "Error/RequestDecodingError.swift",
        "Error/RequestEncodingError.swift",
        "Error/RequestError.swift",
        "Error/RequestErrorDescription.swift",
        "Error/StatusCode.swift",
        "Extensions/Cancellable+SN.swift",
        "Extensions/Collection+SN.swift",
        "Extensions/DecodeByKeyPath.swift",
        "Extensions/DelayedQueue+SN.swift",
        "Extensions/Optional+SN.swift",
        "Extensions/Result+Recover.swift",
        "JSONDecoding.swift",
        "Managers/Request/AnyRequest.swift",
        "Managers/Request/DecodableRequestManager.swift",
        "Managers/Request/RequestCompletion.swift",
        "Managers/Request/TypedRequest.swift",
        "Managers/Request/TypedRequestManager.swift",
        "Managers/RequestManager.swift",
        "Managers/SmartRequestManager.swift",
        "Parameters/Body.MultipartForm.swift",
        "Parameters/Body.XFormEncoder.swift",
        "Parameters/Body.swift",
        "Parameters/CacheSettings.swift",
        "Parameters/HTTPMethod.swift",
        "Parameters/Parameters.swift",
        "Parameters/Scheme.swift",
        "Parameters/SmartItem.swift",
        "Parameters/SmartItems.swift",
        "Parameters/UserInfo.swift",
        "Parameters/UserInfoKey.swift",
        "Plugin/Plugin.swift",
        "Plugin/PluginPriority.swift",
        "Plugin/Plugins.Basic.swift",
        "Plugin/Plugins.Bearer.swift",
        "Plugin/Plugins.JSONHeaders.swift",
        "Plugin/Plugins.Log.swift",
        "Plugin/Plugins.LogOS.swift",
        "Plugin/Plugins.StatusCode.swift",
        "Plugin/Plugins.TokenPlugin.swift",
        "Retrier/AnyErrorRetrier.swift",
        "Retrier/ConnectionErrorRetrier.swift",
        "Retrier/SmartRetrier.swift",
        "SmartNetworkSettings.swift",
        "SmartRequest.swift",
        "SmartResponse.swift",
        "SmartSendable.swift",
        "StopTheLine/StopTheLine.swift",
        "StopTheLine/StopTheLineAction.swift",
        "StopTheLine/StopTheLineResult.swift",
        "Stub/HTTPStubBody.swift",
        "Stub/HTTPStubCondition.swift",
        "Stub/HTTPStubProtocol.swift",
        "Stub/HTTPStubResponse.swift",
        "Stub/HTTPStubServer.swift",
        "Task+SN.swift",
        "Task/DetachedTask.swift",
        "Task/SmartTask.swift",
        "Task/SmartTasking.swift",
        "URLSession/SmartURLSession.swift",
        "URLSession/URLRequestRepresentation.swift",
        "URLSession/URLSession+SN.swift",
        "UserInfo+Keys.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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
Fetching https://github.com/NikSativa/Threading.git
[1/924] Fetching sprykit
[925/1344] Fetching sprykit, threading
Fetched https://github.com/NikSativa/Threading.git from cache (0.25s)
Fetched https://github.com/NikSativa/SpryKit.git from cache (0.25s)
Computing version for https://github.com/NikSativa/Threading.git
Computed https://github.com/NikSativa/Threading.git at 2.1.1 (0.68s)
Computing version for https://github.com/NikSativa/SpryKit.git
Computed https://github.com/NikSativa/SpryKit.git at 3.0.2 (0.46s)
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.26s)
[1/70291] Fetching swift-syntax
Fetched https://github.com/apple/swift-syntax.git from cache (4.44s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 600.0.1 (6.42s)
Computing version for https://github.com/mattgallagher/CwlPreconditionTesting.git
Computed https://github.com/mattgallagher/CwlPreconditionTesting.git at 2.2.2 (0.50s)
Fetching https://github.com/mattgallagher/CwlCatchException.git
[1/455] Fetching cwlcatchexception
Fetched https://github.com/mattgallagher/CwlCatchException.git from cache (0.21s)
Computing version for https://github.com/mattgallagher/CwlCatchException.git
Computed https://github.com/mattgallagher/CwlCatchException.git at 2.2.1 (0.68s)
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.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
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/Threading.git
Working copy of https://github.com/NikSativa/Threading.git resolved at 2.1.1
Building for debugging...
[0/5] Copying PrivacyInfo.xcprivacy
[0/5] Write sources
[2/5] Copying PrivacyInfo.xcprivacy
[2/5] Write sources
[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'
    |               `- 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/.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 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 | }
[8/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 | }
[9/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() {}
[10/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() {}
[11/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() {}
[12/26] Compiling Threading Locking.swift
[13/26] Compiling Threading Barrier.swift
[14/26] Compiling Threading NSLock.swift
[15/26] Compiling Threading DelayedQueue.swift
[16/26] Compiling Threading DispatchTime+Queue.swift
[17/26] Compiling Threading IsolatedMain.swift
[18/26] Compiling Threading UnSendable.swift
[19/26] Compiling Threading resource_bundle_accessor.swift
[20/26] Compiling Threading Mutexing.swift
[21/26] Compiling Threading Queue+Queueable.swift
[22/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'
    |               `- 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/.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
[23/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'
    |               `- 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/.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
[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 |
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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/.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'
    |               `- 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/.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
[3/22] Compiling Threading Locking.swift
[4/22] Compiling Threading Barrier.swift
[5/22] Compiling Threading NSLock.swift
[6/22] 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'
    |               `- 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/.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/22] 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'
    |               `- 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/.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/22] 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() {}
[9/22] 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() {}
[10/22] 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() {}
[11/22] Compiling Threading Mutexing.swift
[12/22] Compiling Threading Queue+Queueable.swift
[13/22] 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 | }
[14/22] 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 | }
[15/22] 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 |
[16/22] 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 |
[17/22] 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 |
[18/22] Compiling Threading DelayedQueue.swift
[19/22] Compiling Threading DispatchTime+Queue.swift
[20/22] Compiling Threading IsolatedMain.swift
[21/22] Compiling Threading UnSendable.swift
[22/22] Compiling Threading resource_bundle_accessor.swift
BUILD FAILURE 6.1 linux