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 swift-foundation-extensions with Swift 5.9 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.29.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/CaptureContext/swift-foundation-extensions.git
Reference: 0.5.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/CaptureContext/swift-foundation-extensions
 * tag               0.5.0      -> FETCH_HEAD
HEAD is now at b01f751 feat: Update README.md
Cloned https://github.com/CaptureContext/swift-foundation-extensions.git
Revision (git rev-parse @):
b01f751b7daab7ad74cd232840b6bfa237e9fc8a
SPI manifest file found: $workDir/.spi.yml
SUCCESS checkout https://github.com/CaptureContext/swift-foundation-extensions.git at 0.5.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.9
Building package at path:  $workDir
https://github.com/CaptureContext/swift-foundation-extensions.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1
Fetching https://github.com/pointfreeco/swift-custom-dump
Fetching https://github.com/apple/swift-syntax.git
Fetching https://github.com/capturecontext/swift-declarative-configuration.git
[1/640] Fetching swift-declarative-configuration
[641/4711] Fetching swift-declarative-configuration, swift-custom-dump
[4712/62365] Fetching swift-declarative-configuration, swift-custom-dump, swift-syntax
Fetching https://github.com/pointfreeco/swift-macro-testing.git
Fetched https://github.com/capturecontext/swift-declarative-configuration.git (4.81s)
Fetched https://github.com/pointfreeco/swift-custom-dump (4.81s)
Fetching https://github.com/pointfreeco/swift-snapshot-testing
Fetched https://github.com/apple/swift-syntax.git (4.84s)
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
[1/383] Fetching swift-macro-testing
Fetched https://github.com/pointfreeco/swift-macro-testing.git (0.24s)
Fetching https://github.com/stackotter/swift-macro-toolkit.git
[1/10926] Fetching swift-snapshot-testing
[985/13206] Fetching swift-snapshot-testing, xctest-dynamic-overlay
[3265/13740] Fetching swift-snapshot-testing, xctest-dynamic-overlay, swift-macro-toolkit
Fetched https://github.com/stackotter/swift-macro-toolkit.git (1.03s)
Computing version for https://github.com/pointfreeco/swift-macro-testing.git
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay (1.40s)
Fetched https://github.com/pointfreeco/swift-snapshot-testing (1.57s)
Computed https://github.com/pointfreeco/swift-macro-testing.git at 0.2.2 (0.45s)
Computing version for https://github.com/stackotter/swift-macro-toolkit.git
Computed https://github.com/stackotter/swift-macro-toolkit.git at 0.3.1 (0.34s)
Computing version for https://github.com/pointfreeco/swift-custom-dump
Computed https://github.com/pointfreeco/swift-custom-dump at 1.1.2 (1.43s)
Computing version for https://github.com/capturecontext/swift-declarative-configuration.git
Computed https://github.com/capturecontext/swift-declarative-configuration.git at 0.3.2 (0.37s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing
Computed https://github.com/pointfreeco/swift-snapshot-testing at 1.15.1 (0.36s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 509.0.0 (0.52s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.0.2 (0.39s)
Creating working copy for https://github.com/pointfreeco/swift-snapshot-testing
Working copy of https://github.com/pointfreeco/swift-snapshot-testing resolved at 1.15.1
Creating working copy for https://github.com/apple/swift-syntax.git
Working copy of https://github.com/apple/swift-syntax.git resolved at 509.0.0
Creating working copy for https://github.com/pointfreeco/swift-macro-testing.git
Working copy of https://github.com/pointfreeco/swift-macro-testing.git resolved at 0.2.2
Creating working copy for https://github.com/stackotter/swift-macro-toolkit.git
Working copy of https://github.com/stackotter/swift-macro-toolkit.git resolved at 0.3.1
Creating working copy for https://github.com/capturecontext/swift-declarative-configuration.git
Working copy of https://github.com/capturecontext/swift-declarative-configuration.git resolved at 0.3.2
Creating working copy for https://github.com/pointfreeco/swift-custom-dump
Working copy of https://github.com/pointfreeco/swift-custom-dump resolved at 1.1.2
Creating working copy for https://github.com/pointfreeco/xctest-dynamic-overlay
Working copy of https://github.com/pointfreeco/xctest-dynamic-overlay resolved at 1.0.2
Building for debugging...
[1/27] Emitting module SwiftSyntax509
[2/27] Compiling SwiftSyntax509 Empty.swift
[4/29] Wrapping AST for SwiftSyntax509 for debugging
[6/29] Emitting module FunctionalModification
[7/29] Compiling FunctionalModification Modification.swift
[10/78] Emitting module FunctionalKeyPath
[11/78] Compiling FunctionalKeyPath FunctionalKeyPath.swift
[12/79] Compiling XCTestDynamicOverlay XCTCurrentTestCase.swift
[15/81] Compiling SwiftSyntax AbsolutePosition.swift
[16/81] Compiling SwiftSyntax Assert.swift
[17/81] Compiling SwiftSyntax BumpPtrAllocator.swift
[18/81] Compiling SwiftSyntax CommonAncestor.swift
[19/81] Compiling SwiftSyntax Convenience.swift
[20/81] Compiling SwiftSyntax MemoryLayout.swift
[21/81] Compiling SwiftSyntax MissingNodeInitializers.swift
[22/87] Compiling XCTestDynamicOverlay Deprecations.swift
[23/87] Compiling XCTestDynamicOverlay GeneratePlaceholder.swift
[24/87] Compiling XCTestDynamicOverlay RuntimeWarnings.swift
[25/87] Compiling XCTestDynamicOverlay Unimplemented.swift
[26/87] Compiling XCTestDynamicOverlay XCTFail.swift
[27/87] Compiling XCTestDynamicOverlay XCTIsTesting.swift
[28/87] Emitting module XCTestDynamicOverlay
[29/87] Compiling XCTestDynamicOverlay DefaultInitializable.swift
[32/114] Compiling CustomDump GameKit.swift
[33/114] Compiling CustomDump KeyPath.swift
[34/114] Compiling CustomDump Photos.swift
[35/114] Compiling CustomDump Speech.swift
[36/114] Compiling CustomDump StoreKit.swift
[37/114] Compiling CustomDump Swift.swift
[38/114] Compiling CustomDump SwiftUI.swift
[39/114] Compiling CustomDump UIKit.swift
[40/117] Compiling CustomDump CollectionDifference.swift
[41/117] Compiling CustomDump Mirror.swift
[42/117] Compiling CustomDump String.swift
[43/117] Compiling CustomDump CoreImage.swift
[44/117] Compiling CustomDump CoreLocation.swift
[45/117] Compiling CustomDump CoreMotion.swift
[46/117] Compiling CustomDump Foundation.swift
[47/117] Compiling CustomDump Unordered.swift
[48/117] Compiling CustomDump XCTAssertDifference.swift
[49/117] Compiling CustomDump XCTAssertNoDifference.swift
[57/117] Emitting module CustomDump
[58/117] Compiling CustomDump Dump.swift
[59/117] Compiling CustomDump AnyType.swift
[60/117] Compiling CustomDump Box.swift
[61/117] Compiling CustomDump UserNotifications.swift
[62/117] Compiling CustomDump UserNotificationsUI.swift
[63/117] Compiling CustomDump CustomDumpReflectable.swift
[64/117] Compiling CustomDump CustomDumpRepresentable.swift
[65/117] Compiling CustomDump CustomDumpStringConvertible.swift
[66/117] Compiling CustomDump Diff.swift
[69/144] Compiling FoundationExtensions Optional+.swift
[70/144] Compiling FoundationExtensions Range+.swift
[71/144] Compiling FoundationExtensions Result+.swift
[72/144] Compiling FoundationExtensions String+.swift
[73/144] Compiling FoundationExtensions DispatchTime+.swift
/host/spi-builder-workspace/Sources/FoundationExtensions/Extensions/NSLocking+.swift:46:3: error: cannot find 'withLock' in scope
                withLock(closure)
                ^~~~~~~~
[74/144] Compiling FoundationExtensions FloatingPoint+.swift
/host/spi-builder-workspace/Sources/FoundationExtensions/Extensions/NSLocking+.swift:46:3: error: cannot find 'withLock' in scope
                withLock(closure)
                ^~~~~~~~
[75/144] Compiling FoundationExtensions NSAttributedString+.swift
/host/spi-builder-workspace/Sources/FoundationExtensions/Extensions/NSLocking+.swift:46:3: error: cannot find 'withLock' in scope
                withLock(closure)
                ^~~~~~~~
[76/144] Compiling FoundationExtensions NSLocking+.swift
/host/spi-builder-workspace/Sources/FoundationExtensions/Extensions/NSLocking+.swift:46:3: error: cannot find 'withLock' in scope
                withLock(closure)
                ^~~~~~~~
error: emit-module command failed with exit code 1 (use -v to see invocation)
[77/147] Emitting module FoundationExtensions
/host/spi-builder-workspace/Sources/FoundationExtensions/Extensions/NSLocking+.swift:46:3: error: cannot find 'withLock' in scope
                withLock(closure)
                ^~~~~~~~
/host/spi-builder-workspace/Sources/FoundationExtensions/General/AssociatingObject/AssociatingObject.swift:9:11: error: cannot find type 'objc_AssociationPolicy' in scope
                policy: objc_AssociationPolicy
                        ^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/FoundationExtensions/General/AssociatingObject/AssociatingObject.swift:33:11: error: cannot find type 'objc_AssociationPolicy' in scope
                policy: objc_AssociationPolicy = .retain(.nonatomic)
                        ^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/FoundationExtensions/General/AssociatingObject/AssociatingObject.swift:95:10: error: cannot find type 'objc_AssociationPolicy' in scope
        policy: objc_AssociationPolicy
                ^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/FoundationExtensions/General/AssociatingObject/AssociatingObject.swift:39:12: error: extra argument 'policy' in call
                        policy: policy
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
/host/spi-builder-workspace/Sources/FoundationExtensions/General/AssociatingObject/AssociatingObject.swift:82:12: error: extra argument 'policy' in call
                policy: .init(
~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
/host/spi-builder-workspace/Sources/FoundationExtensions/General/AssociatingObject/AssociatingObject.swift:82:12: error: cannot infer contextual base in reference to member 'init'
                policy: .init(
                        ~^~~~
/host/spi-builder-workspace/Sources/FoundationExtensions/General/AssociatingObject/AssociatingObject.swift:83:31: error: cannot infer contextual base in reference to member 'retain'
                        Object.self is AnyClass ? .retain : .copy,
                                                  ~^~~~~~
/host/spi-builder-workspace/Sources/FoundationExtensions/General/AssociatingObject/AssociatingObject.swift:100:2: error: cannot find 'objc_setAssociatedObject' in scope
        objc_setAssociatedObject(
        ^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/FoundationExtensions/General/AssociatingObject/AssociatingObject.swift:119:9: error: cannot find 'objc_getAssociatedObject' in scope
        return objc_getAssociatedObject(
               ^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/FoundationExtensions/General/AssociatingObject/objc_AssociationPolicy+.swift:41:11: error: cannot find type 'objc_AssociationPolicy' in scope
extension objc_AssociationPolicy {
          ^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/FoundationExtensions/General/Swizzling/NSObject+Swizzling.swift:42:23: error: cannot find type 'Selector' in scope
                _ originalSelector: Selector,
                                    ^~~~~~~~
/host/spi-builder-workspace/Sources/FoundationExtensions/General/Swizzling/NSObject+Swizzling.swift:43:23: error: cannot find type 'Selector' in scope
                _ swizzledSelector: Selector
                                    ^~~~~~~~
[78/147] Compiling FoundationExtensions Exports.swift
[79/147] Compiling FoundationExtensions Bundle+.swift
[80/147] Compiling FoundationExtensions Codable+.swift
[81/147] Compiling FoundationExtensions Collection+.swift
[82/147] Compiling FoundationExtensions Reference.swift
[83/147] Compiling FoundationExtensions Castable.swift
[84/147] Compiling FoundationExtensions Equated+Comparator.swift
[85/147] Compiling FoundationExtensions AssociatingObject.swift
/host/spi-builder-workspace/Sources/FoundationExtensions/General/AssociatingObject/AssociatingObject.swift:9:11: error: cannot find type 'objc_AssociationPolicy' in scope
                policy: objc_AssociationPolicy
                        ^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/FoundationExtensions/General/AssociatingObject/AssociatingObject.swift:33:11: error: cannot find type 'objc_AssociationPolicy' in scope
                policy: objc_AssociationPolicy = .retain(.nonatomic)
                        ^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/FoundationExtensions/General/AssociatingObject/AssociatingObject.swift:95:10: error: cannot find type 'objc_AssociationPolicy' in scope
        policy: objc_AssociationPolicy
                ^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/FoundationExtensions/General/AssociatingObject/AssociatingObject.swift:39:12: error: extra argument 'policy' in call
                        policy: policy
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
/host/spi-builder-workspace/Sources/FoundationExtensions/General/AssociatingObject/AssociatingObject.swift:82:12: error: extra argument 'policy' in call
                policy: .init(
~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
/host/spi-builder-workspace/Sources/FoundationExtensions/General/AssociatingObject/AssociatingObject.swift:82:12: error: cannot infer contextual base in reference to member 'init'
                policy: .init(
                        ~^~~~
/host/spi-builder-workspace/Sources/FoundationExtensions/General/AssociatingObject/AssociatingObject.swift:83:31: error: cannot infer contextual base in reference to member 'retain'
                        Object.self is AnyClass ? .retain : .copy,
                                                  ~^~~~~~
/host/spi-builder-workspace/Sources/FoundationExtensions/General/AssociatingObject/AssociatingObject.swift:100:2: error: cannot find 'objc_setAssociatedObject' in scope
        objc_setAssociatedObject(
        ^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/FoundationExtensions/General/AssociatingObject/AssociatingObject.swift:119:9: error: cannot find 'objc_getAssociatedObject' in scope
        return objc_getAssociatedObject(
               ^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/FoundationExtensions/General/AssociatingObject/objc_AssociationPolicy+.swift:41:11: error: cannot find type 'objc_AssociationPolicy' in scope
extension objc_AssociationPolicy {
          ^~~~~~~~~~~~~~~~~~~~~~
[86/147] Compiling FoundationExtensions objc_AssociationPolicy+.swift
/host/spi-builder-workspace/Sources/FoundationExtensions/General/AssociatingObject/AssociatingObject.swift:9:11: error: cannot find type 'objc_AssociationPolicy' in scope
                policy: objc_AssociationPolicy
                        ^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/FoundationExtensions/General/AssociatingObject/AssociatingObject.swift:33:11: error: cannot find type 'objc_AssociationPolicy' in scope
                policy: objc_AssociationPolicy = .retain(.nonatomic)
                        ^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/FoundationExtensions/General/AssociatingObject/AssociatingObject.swift:95:10: error: cannot find type 'objc_AssociationPolicy' in scope
        policy: objc_AssociationPolicy
                ^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/FoundationExtensions/General/AssociatingObject/AssociatingObject.swift:39:12: error: extra argument 'policy' in call
                        policy: policy
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
/host/spi-builder-workspace/Sources/FoundationExtensions/General/AssociatingObject/AssociatingObject.swift:82:12: error: extra argument 'policy' in call
                policy: .init(
~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
/host/spi-builder-workspace/Sources/FoundationExtensions/General/AssociatingObject/AssociatingObject.swift:82:12: error: cannot infer contextual base in reference to member 'init'
                policy: .init(
                        ~^~~~
/host/spi-builder-workspace/Sources/FoundationExtensions/General/AssociatingObject/AssociatingObject.swift:83:31: error: cannot infer contextual base in reference to member 'retain'
                        Object.self is AnyClass ? .retain : .copy,
                                                  ~^~~~~~
/host/spi-builder-workspace/Sources/FoundationExtensions/General/AssociatingObject/AssociatingObject.swift:100:2: error: cannot find 'objc_setAssociatedObject' in scope
        objc_setAssociatedObject(
        ^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/FoundationExtensions/General/AssociatingObject/AssociatingObject.swift:119:9: error: cannot find 'objc_getAssociatedObject' in scope
        return objc_getAssociatedObject(
               ^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/FoundationExtensions/General/AssociatingObject/objc_AssociationPolicy+.swift:41:11: error: cannot find type 'objc_AssociationPolicy' in scope
extension objc_AssociationPolicy {
          ^~~~~~~~~~~~~~~~~~~~~~
[87/147] Compiling FoundationExtensions Box.swift
/host/spi-builder-workspace/Sources/FoundationExtensions/General/AssociatingObject/AssociatingObject.swift:9:11: error: cannot find type 'objc_AssociationPolicy' in scope
                policy: objc_AssociationPolicy
                        ^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/FoundationExtensions/General/AssociatingObject/AssociatingObject.swift:33:11: error: cannot find type 'objc_AssociationPolicy' in scope
                policy: objc_AssociationPolicy = .retain(.nonatomic)
                        ^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/FoundationExtensions/General/AssociatingObject/AssociatingObject.swift:95:10: error: cannot find type 'objc_AssociationPolicy' in scope
        policy: objc_AssociationPolicy
                ^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/FoundationExtensions/General/AssociatingObject/AssociatingObject.swift:39:12: error: extra argument 'policy' in call
                        policy: policy
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
/host/spi-builder-workspace/Sources/FoundationExtensions/General/AssociatingObject/AssociatingObject.swift:82:12: error: extra argument 'policy' in call
                policy: .init(
~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
/host/spi-builder-workspace/Sources/FoundationExtensions/General/AssociatingObject/AssociatingObject.swift:82:12: error: cannot infer contextual base in reference to member 'init'
                policy: .init(
                        ~^~~~
/host/spi-builder-workspace/Sources/FoundationExtensions/General/AssociatingObject/AssociatingObject.swift:83:31: error: cannot infer contextual base in reference to member 'retain'
                        Object.self is AnyClass ? .retain : .copy,
                                                  ~^~~~~~
/host/spi-builder-workspace/Sources/FoundationExtensions/General/AssociatingObject/AssociatingObject.swift:100:2: error: cannot find 'objc_setAssociatedObject' in scope
        objc_setAssociatedObject(
        ^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/FoundationExtensions/General/AssociatingObject/AssociatingObject.swift:119:9: error: cannot find 'objc_getAssociatedObject' in scope
        return objc_getAssociatedObject(
               ^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/FoundationExtensions/General/AssociatingObject/objc_AssociationPolicy+.swift:41:11: error: cannot find type 'objc_AssociationPolicy' in scope
extension objc_AssociationPolicy {
          ^~~~~~~~~~~~~~~~~~~~~~
[88/147] Compiling FoundationExtensions NSObject+Swizzling.swift
/host/spi-builder-workspace/Sources/FoundationExtensions/General/Swizzling/NSObject+Swizzling.swift:42:23: error: cannot find type 'Selector' in scope
                _ originalSelector: Selector,
                                    ^~~~~~~~
/host/spi-builder-workspace/Sources/FoundationExtensions/General/Swizzling/NSObject+Swizzling.swift:43:23: error: cannot find type 'Selector' in scope
                _ swizzledSelector: Selector
                                    ^~~~~~~~
/host/spi-builder-workspace/Sources/FoundationExtensions/General/Swizzling/NSObject+Swizzling.swift:45:24: error: cannot find 'class_getInstanceMethod' in scope
                let originalMethod = class_getInstanceMethod(
                                     ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/FoundationExtensions/General/Swizzling/NSObject+Swizzling.swift:50:24: error: cannot find 'class_getInstanceMethod' in scope
                let swizzledMethod = class_getInstanceMethod(
                                     ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/FoundationExtensions/General/Swizzling/NSObject+Swizzling.swift:60:3: error: cannot find 'method_exchangeImplementations' in scope
                method_exchangeImplementations(originalMethod, swizzledMethod)
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[89/147] Compiling FoundationExtensions USID.swift
/host/spi-builder-workspace/Sources/FoundationExtensions/General/Swizzling/NSObject+Swizzling.swift:42:23: error: cannot find type 'Selector' in scope
                _ originalSelector: Selector,
                                    ^~~~~~~~
/host/spi-builder-workspace/Sources/FoundationExtensions/General/Swizzling/NSObject+Swizzling.swift:43:23: error: cannot find type 'Selector' in scope
                _ swizzledSelector: Selector
                                    ^~~~~~~~
/host/spi-builder-workspace/Sources/FoundationExtensions/General/Swizzling/NSObject+Swizzling.swift:45:24: error: cannot find 'class_getInstanceMethod' in scope
                let originalMethod = class_getInstanceMethod(
                                     ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/FoundationExtensions/General/Swizzling/NSObject+Swizzling.swift:50:24: error: cannot find 'class_getInstanceMethod' in scope
                let swizzledMethod = class_getInstanceMethod(
                                     ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/FoundationExtensions/General/Swizzling/NSObject+Swizzling.swift:60:3: error: cannot find 'method_exchangeImplementations' in scope
                method_exchangeImplementations(originalMethod, swizzledMethod)
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[90/147] Compiling FoundationExtensions UnwrappingError.swift
/host/spi-builder-workspace/Sources/FoundationExtensions/General/Swizzling/NSObject+Swizzling.swift:42:23: error: cannot find type 'Selector' in scope
                _ originalSelector: Selector,
                                    ^~~~~~~~
/host/spi-builder-workspace/Sources/FoundationExtensions/General/Swizzling/NSObject+Swizzling.swift:43:23: error: cannot find type 'Selector' in scope
                _ swizzledSelector: Selector
                                    ^~~~~~~~
/host/spi-builder-workspace/Sources/FoundationExtensions/General/Swizzling/NSObject+Swizzling.swift:45:24: error: cannot find 'class_getInstanceMethod' in scope
                let originalMethod = class_getInstanceMethod(
                                     ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/FoundationExtensions/General/Swizzling/NSObject+Swizzling.swift:50:24: error: cannot find 'class_getInstanceMethod' in scope
                let swizzledMethod = class_getInstanceMethod(
                                     ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/FoundationExtensions/General/Swizzling/NSObject+Swizzling.swift:60:3: error: cannot find 'method_exchangeImplementations' in scope
                method_exchangeImplementations(originalMethod, swizzledMethod)
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[91/147] Compiling FoundationExtensions Equated.swift
[92/147] Compiling FoundationExtensions Indirect.swift
[93/147] Compiling FoundationExtensions PropertyProxy.swift
[94/147] Compiling FoundationExtensions Resettable+CollectionProxy.swift
[95/147] Compiling FoundationExtensions Resettable.swift
[96/147] Compiling FoundationExtensions RuntimeWarnings.swift
error: fatalError
[0/1] Planning build
Building for debugging...
[1/17] Emitting module FunctionalModification
[2/18] Emitting module SwiftSyntax509
[7/22] Emitting module XCTestDynamicOverlay
[8/55] Emitting module FunctionalKeyPath
[13/60] Emitting module CustomDump
[16/62] Compiling SwiftSyntax SwiftSyntaxCompatibility.swift
[17/62] Compiling SwiftSyntax Syntax.swift
[18/62] Compiling SwiftSyntax SyntaxArena.swift
[19/62] Compiling SwiftSyntax SyntaxChildren.swift
[20/62] Compiling SwiftSyntax SyntaxCollection.swift
[21/76] Compiling FoundationExtensions NSObject+Swizzling.swift
/host/spi-builder-workspace/Sources/FoundationExtensions/General/Swizzling/NSObject+Swizzling.swift:42:23: error: cannot find type 'Selector' in scope
                _ originalSelector: Selector,
                                    ^~~~~~~~
/host/spi-builder-workspace/Sources/FoundationExtensions/General/Swizzling/NSObject+Swizzling.swift:43:23: error: cannot find type 'Selector' in scope
                _ swizzledSelector: Selector
                                    ^~~~~~~~
/host/spi-builder-workspace/Sources/FoundationExtensions/General/Swizzling/NSObject+Swizzling.swift:45:24: error: cannot find 'class_getInstanceMethod' in scope
                let originalMethod = class_getInstanceMethod(
                                     ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/FoundationExtensions/General/Swizzling/NSObject+Swizzling.swift:50:24: error: cannot find 'class_getInstanceMethod' in scope
                let swizzledMethod = class_getInstanceMethod(
                                     ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/FoundationExtensions/General/Swizzling/NSObject+Swizzling.swift:60:3: error: cannot find 'method_exchangeImplementations' in scope
                method_exchangeImplementations(originalMethod, swizzledMethod)
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[22/76] Compiling FoundationExtensions objc_AssociationPolicy+.swift
/host/spi-builder-workspace/Sources/FoundationExtensions/General/AssociatingObject/objc_AssociationPolicy+.swift:41:11: error: cannot find type 'objc_AssociationPolicy' in scope
extension objc_AssociationPolicy {
          ^~~~~~~~~~~~~~~~~~~~~~
[23/77] Compiling FoundationExtensions AssociatingObject.swift
/host/spi-builder-workspace/Sources/FoundationExtensions/General/AssociatingObject/AssociatingObject.swift:9:11: error: cannot find type 'objc_AssociationPolicy' in scope
                policy: objc_AssociationPolicy
                        ^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/FoundationExtensions/General/AssociatingObject/AssociatingObject.swift:33:11: error: cannot find type 'objc_AssociationPolicy' in scope
                policy: objc_AssociationPolicy = .retain(.nonatomic)
                        ^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/FoundationExtensions/General/AssociatingObject/AssociatingObject.swift:95:10: error: cannot find type 'objc_AssociationPolicy' in scope
        policy: objc_AssociationPolicy
                ^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/FoundationExtensions/General/AssociatingObject/AssociatingObject.swift:39:12: error: extra argument 'policy' in call
                        policy: policy
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
/host/spi-builder-workspace/Sources/FoundationExtensions/General/AssociatingObject/AssociatingObject.swift:82:12: error: extra argument 'policy' in call
                policy: .init(
~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
/host/spi-builder-workspace/Sources/FoundationExtensions/General/AssociatingObject/AssociatingObject.swift:82:12: error: cannot infer contextual base in reference to member 'init'
                policy: .init(
                        ~^~~~
/host/spi-builder-workspace/Sources/FoundationExtensions/General/AssociatingObject/AssociatingObject.swift:83:31: error: cannot infer contextual base in reference to member 'retain'
                        Object.self is AnyClass ? .retain : .copy,
                                                  ~^~~~~~
/host/spi-builder-workspace/Sources/FoundationExtensions/General/AssociatingObject/AssociatingObject.swift:100:2: error: cannot find 'objc_setAssociatedObject' in scope
        objc_setAssociatedObject(
        ^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/FoundationExtensions/General/AssociatingObject/AssociatingObject.swift:119:9: error: cannot find 'objc_getAssociatedObject' in scope
        return objc_getAssociatedObject(
               ^~~~~~~~~~~~~~~~~~~~~~~~
[24/77] Compiling FoundationExtensions Box.swift
[25/77] Compiling FoundationExtensions NSAttributedString+.swift
/host/spi-builder-workspace/Sources/FoundationExtensions/Extensions/NSLocking+.swift:46:3: error: cannot find 'withLock' in scope
                withLock(closure)
                ^~~~~~~~
[26/77] Compiling FoundationExtensions NSLocking+.swift
/host/spi-builder-workspace/Sources/FoundationExtensions/Extensions/NSLocking+.swift:46:3: error: cannot find 'withLock' in scope
                withLock(closure)
                ^~~~~~~~
[27/77] Compiling FoundationExtensions DispatchTime+.swift
[28/77] Compiling FoundationExtensions FloatingPoint+.swift
[29/77] Compiling FoundationExtensions USID.swift
[30/84] Compiling FoundationExtensions UnwrappingError.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[31/85] Emitting module FoundationExtensions
/host/spi-builder-workspace/Sources/FoundationExtensions/Extensions/NSLocking+.swift:46:3: error: cannot find 'withLock' in scope
                withLock(closure)
                ^~~~~~~~
/host/spi-builder-workspace/Sources/FoundationExtensions/General/AssociatingObject/AssociatingObject.swift:9:11: error: cannot find type 'objc_AssociationPolicy' in scope
                policy: objc_AssociationPolicy
                        ^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/FoundationExtensions/General/AssociatingObject/AssociatingObject.swift:33:11: error: cannot find type 'objc_AssociationPolicy' in scope
                policy: objc_AssociationPolicy = .retain(.nonatomic)
                        ^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/FoundationExtensions/General/AssociatingObject/AssociatingObject.swift:95:10: error: cannot find type 'objc_AssociationPolicy' in scope
        policy: objc_AssociationPolicy
                ^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/FoundationExtensions/General/AssociatingObject/AssociatingObject.swift:39:12: error: extra argument 'policy' in call
                        policy: policy
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
/host/spi-builder-workspace/Sources/FoundationExtensions/General/AssociatingObject/AssociatingObject.swift:82:12: error: extra argument 'policy' in call
                policy: .init(
~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
/host/spi-builder-workspace/Sources/FoundationExtensions/General/AssociatingObject/AssociatingObject.swift:82:12: error: cannot infer contextual base in reference to member 'init'
                policy: .init(
                        ~^~~~
/host/spi-builder-workspace/Sources/FoundationExtensions/General/AssociatingObject/AssociatingObject.swift:83:31: error: cannot infer contextual base in reference to member 'retain'
                        Object.self is AnyClass ? .retain : .copy,
                                                  ~^~~~~~
/host/spi-builder-workspace/Sources/FoundationExtensions/General/AssociatingObject/AssociatingObject.swift:100:2: error: cannot find 'objc_setAssociatedObject' in scope
        objc_setAssociatedObject(
        ^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/FoundationExtensions/General/AssociatingObject/AssociatingObject.swift:119:9: error: cannot find 'objc_getAssociatedObject' in scope
        return objc_getAssociatedObject(
               ^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/FoundationExtensions/General/AssociatingObject/objc_AssociationPolicy+.swift:41:11: error: cannot find type 'objc_AssociationPolicy' in scope
extension objc_AssociationPolicy {
          ^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/FoundationExtensions/General/Swizzling/NSObject+Swizzling.swift:42:23: error: cannot find type 'Selector' in scope
                _ originalSelector: Selector,
                                    ^~~~~~~~
/host/spi-builder-workspace/Sources/FoundationExtensions/General/Swizzling/NSObject+Swizzling.swift:43:23: error: cannot find type 'Selector' in scope
                _ swizzledSelector: Selector
                                    ^~~~~~~~
[32/86] Compiling FoundationExtensions PropertyProxy.swift
[33/86] Compiling FoundationExtensions String+.swift
[34/86] Compiling FoundationExtensions Optional+.swift
[35/86] Compiling FoundationExtensions Equated+Comparator.swift
[36/86] Compiling FoundationExtensions Equated.swift
[37/86] Compiling FoundationExtensions Bundle+.swift
[38/86] Compiling FoundationExtensions Codable+.swift
[39/86] Compiling FoundationExtensions RuntimeWarnings.swift
[40/86] Compiling FoundationExtensions Resettable.swift
error: fatalError
BUILD FAILURE 5.9 linux