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-4609320-1":/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: 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/CaptureContext/swift-foundation-extensions
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
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 main
========================================
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-4609320-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1
Fetching https://github.com/pointfreeco/swift-macro-testing.git
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
Fetching https://github.com/capturecontext/swift-declarative-configuration.git
[1/640] Fetching swift-declarative-configuration
[641/1023] Fetching swift-declarative-configuration, swift-macro-testing
Fetching https://github.com/stackotter/swift-macro-toolkit.git
Fetched https://github.com/pointfreeco/swift-macro-testing.git (0.25s)
[1/2280] Fetching xctest-dynamic-overlay
[2281/2814] Fetching xctest-dynamic-overlay, swift-macro-toolkit
Fetched https://github.com/capturecontext/swift-declarative-configuration.git (0.46s)
Fetching https://github.com/pointfreeco/swift-snapshot-testing
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay (0.46s)
Fetching https://github.com/apple/swift-syntax.git
Fetched https://github.com/stackotter/swift-macro-toolkit.git (0.22s)
Fetching https://github.com/pointfreeco/swift-custom-dump
[1/4071] Fetching swift-custom-dump
[4072/14997] Fetching swift-custom-dump, swift-snapshot-testing
[110/10926] Fetching swift-snapshot-testing
Fetched https://github.com/pointfreeco/swift-custom-dump (0.32s)
Computing version for https://github.com/pointfreeco/swift-macro-testing.git
Computed https://github.com/pointfreeco/swift-macro-testing.git at 0.2.2 (0.39s)
[8196/68580] Fetching swift-snapshot-testing, swift-syntax
Fetched https://github.com/pointfreeco/swift-snapshot-testing (1.77s)
[50159/57654] Fetching swift-syntax
Fetched https://github.com/apple/swift-syntax.git (4.28s)
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.36s)
Computing version for https://github.com/pointfreeco/swift-custom-dump
Computed https://github.com/pointfreeco/swift-custom-dump at 1.1.2 (1.14s)
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.42s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing
Computed https://github.com/pointfreeco/swift-snapshot-testing at 1.15.1 (0.42s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 509.0.0 (0.58s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.0.2 (0.42s)
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-snapshot-testing
Working copy of https://github.com/pointfreeco/swift-snapshot-testing resolved at 1.15.1
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
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/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-custom-dump
Working copy of https://github.com/pointfreeco/swift-custom-dump resolved at 1.1.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
Building for debugging...
[1/27] Emitting module SwiftSyntax509
[2/27] Compiling SwiftSyntax509 Empty.swift
[5/29] Emitting module FunctionalModification
[6/29] Compiling FunctionalModification Modification.swift
[7/30] Wrapping AST for SwiftSyntax509 for debugging
[10/78] Emitting module FunctionalKeyPath
[11/78] Compiling FunctionalKeyPath FunctionalKeyPath.swift
[14/80] Compiling XCTestDynamicOverlay Unimplemented.swift
[15/80] Compiling XCTestDynamicOverlay XCTFail.swift
[16/80] Compiling XCTestDynamicOverlay XCTCurrentTestCase.swift
[17/81] Compiling XCTestDynamicOverlay GeneratePlaceholder.swift
[18/81] Compiling XCTestDynamicOverlay Deprecations.swift
[19/81] Compiling XCTestDynamicOverlay RuntimeWarnings.swift
[20/81] Emitting module XCTestDynamicOverlay
[21/81] Compiling XCTestDynamicOverlay DefaultInitializable.swift
[22/81] Compiling XCTestDynamicOverlay XCTIsTesting.swift
[25/108] Compiling CustomDump CollectionDifference.swift
[26/108] Compiling CustomDump Mirror.swift
[27/108] Compiling CustomDump String.swift
[28/111] Emitting module CustomDump
[29/111] Compiling CustomDump CoreImage.swift
[30/111] Compiling CustomDump CoreLocation.swift
[31/111] Compiling CustomDump CoreMotion.swift
[32/111] Compiling CustomDump Foundation.swift
[33/111] Compiling CustomDump StoreKit.swift
[34/111] Compiling CustomDump Swift.swift
[35/111] Compiling CustomDump SwiftUI.swift
[36/111] Compiling CustomDump UIKit.swift
[37/111] Compiling CustomDump GameKit.swift
[38/111] Compiling CustomDump KeyPath.swift
[39/111] Compiling CustomDump Photos.swift
[40/111] Compiling CustomDump Speech.swift
[41/111] Compiling CustomDump CustomDumpRepresentable.swift
[42/111] Compiling CustomDump CustomDumpStringConvertible.swift
[43/117] Compiling CustomDump Unordered.swift
[44/117] Compiling CustomDump XCTAssertDifference.swift
[45/117] Compiling CustomDump XCTAssertNoDifference.swift
[46/117] Compiling CustomDump UserNotifications.swift
[47/117] Compiling CustomDump UserNotificationsUI.swift
[48/117] Compiling CustomDump CustomDumpReflectable.swift
[49/117] Compiling CustomDump Dump.swift
[50/117] Compiling CustomDump AnyType.swift
[51/117] Compiling CustomDump Box.swift
[66/117] Compiling CustomDump Diff.swift
[69/144] Compiling FoundationExtensions Exports.swift
[70/144] Compiling FoundationExtensions Bundle+.swift
[71/144] Compiling FoundationExtensions Codable+.swift
[72/144] Compiling FoundationExtensions Collection+.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[73/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
                                    ^~~~~~~~
[74/147] Compiling FoundationExtensions Optional+.swift
[75/147] Compiling FoundationExtensions Range+.swift
[76/147] Compiling FoundationExtensions Result+.swift
[77/147] Compiling FoundationExtensions String+.swift
[78/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)
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[79/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)
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[80/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)
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[81/147] Compiling FoundationExtensions Reference.swift
[82/147] Compiling FoundationExtensions Castable.swift
[83/147] Compiling FoundationExtensions Equated+Comparator.swift
[84/147] Compiling FoundationExtensions DispatchTime+.swift
/host/spi-builder-workspace/Sources/FoundationExtensions/Extensions/NSLocking+.swift:46:3: error: cannot find 'withLock' in scope
                withLock(closure)
                ^~~~~~~~
[85/147] Compiling FoundationExtensions FloatingPoint+.swift
/host/spi-builder-workspace/Sources/FoundationExtensions/Extensions/NSLocking+.swift:46:3: error: cannot find 'withLock' in scope
                withLock(closure)
                ^~~~~~~~
[86/147] Compiling FoundationExtensions NSAttributedString+.swift
/host/spi-builder-workspace/Sources/FoundationExtensions/Extensions/NSLocking+.swift:46:3: error: cannot find 'withLock' in scope
                withLock(closure)
                ^~~~~~~~
[87/147] Compiling FoundationExtensions NSLocking+.swift
/host/spi-builder-workspace/Sources/FoundationExtensions/Extensions/NSLocking+.swift:46:3: error: cannot find 'withLock' in scope
                withLock(closure)
                ^~~~~~~~
[88/147] Compiling FoundationExtensions Equated.swift
[89/147] Compiling FoundationExtensions Indirect.swift
[90/147] Compiling FoundationExtensions PropertyProxy.swift
[91/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 {
          ^~~~~~~~~~~~~~~~~~~~~~
[92/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 {
          ^~~~~~~~~~~~~~~~~~~~~~
[93/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 {
          ^~~~~~~~~~~~~~~~~~~~~~
[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/57] 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(
               ^~~~~~~~~~~~~~~~~~~~~~~~
[2/57] Compiling FoundationExtensions NSAttributedString+.swift
/host/spi-builder-workspace/Sources/FoundationExtensions/Extensions/NSLocking+.swift:46:3: error: cannot find 'withLock' in scope
                withLock(closure)
                ^~~~~~~~
[3/57] Compiling FoundationExtensions NSLocking+.swift
/host/spi-builder-workspace/Sources/FoundationExtensions/Extensions/NSLocking+.swift:46:3: error: cannot find 'withLock' in scope
                withLock(closure)
                ^~~~~~~~
[4/58] Compiling FoundationExtensions DispatchTime+.swift
[5/58] Compiling FoundationExtensions FloatingPoint+.swift
[6/58] 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 {
          ^~~~~~~~~~~~~~~~~~~~~~
[7/58] Compiling FoundationExtensions USID.swift
[8/58] Compiling FoundationExtensions Box.swift
[9/58] 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)
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[10/65] Compiling FoundationExtensions UnwrappingError.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[11/66] 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
                                    ^~~~~~~~
[12/67] Compiling FoundationExtensions PropertyProxy.swift
[13/67] Compiling FoundationExtensions String+.swift
[14/67] Compiling FoundationExtensions Equated.swift
[15/67] Compiling FoundationExtensions Optional+.swift
[16/67] Compiling FoundationExtensions Bundle+.swift
[17/67] Compiling FoundationExtensions Codable+.swift
[18/67] Compiling FoundationExtensions Equated+Comparator.swift
[19/67] Compiling FoundationExtensions Resettable.swift
[20/67] Compiling FoundationExtensions RuntimeWarnings.swift
error: fatalError
BUILD FAILURE 5.9 linux