Build Information
Failed to build swift-foundation-extensions with Swift 5.10 for Linux.
Build Command
bash -c docker run --rm -v "checkouts-4606859-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-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.10
Building package at path: $workDir
https://github.com/CaptureContext/swift-foundation-extensions.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Fetching https://github.com/pointfreeco/swift-snapshot-testing
Fetching https://github.com/stackotter/swift-macro-toolkit.git
Fetching https://github.com/apple/swift-syntax.git
Fetching https://github.com/pointfreeco/swift-macro-testing.git
Fetching https://github.com/pointfreeco/swift-custom-dump
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
[1/383] Fetching swift-macro-testing
[293/917] Fetching swift-macro-testing, swift-macro-toolkit
[716/4988] Fetching swift-macro-testing, swift-macro-toolkit, swift-custom-dump
[4787/7268] Fetching swift-macro-testing, swift-macro-toolkit, swift-custom-dump, xctest-dynamic-overlay
Fetched https://github.com/stackotter/swift-macro-toolkit.git from cache (0.30s)
[4546/6734] Fetching swift-macro-testing, swift-custom-dump, xctest-dynamic-overlay
Fetching https://github.com/capturecontext/swift-declarative-configuration.git
Fetched https://github.com/pointfreeco/swift-custom-dump from cache (0.30s)
[520/2663] Fetching swift-macro-testing, xctest-dynamic-overlay
[2072/13589] Fetching swift-macro-testing, xctest-dynamic-overlay, swift-snapshot-testing
[3429/14229] Fetching swift-macro-testing, xctest-dynamic-overlay, swift-snapshot-testing, swift-declarative-configuration
Fetched https://github.com/capturecontext/swift-declarative-configuration.git from cache (0.27s)
[3865/13589] Fetching swift-macro-testing, xctest-dynamic-overlay, swift-snapshot-testing
[12935/71243] Fetching swift-macro-testing, xctest-dynamic-overlay, swift-snapshot-testing, swift-syntax
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (1.54s)
[63775/68963] Fetching swift-macro-testing, swift-snapshot-testing, swift-syntax
Fetched https://github.com/pointfreeco/swift-snapshot-testing from cache (1.60s)
[55155/58037] Fetching swift-macro-testing, swift-syntax
Fetched https://github.com/pointfreeco/swift-macro-testing.git from cache (3.62s)
Computing version for https://github.com/pointfreeco/swift-macro-testing.git
Fetched https://github.com/apple/swift-syntax.git from cache (3.66s)
Computed https://github.com/pointfreeco/swift-macro-testing.git at 0.2.2 (0.35s)
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.37s)
Computing version for https://github.com/pointfreeco/swift-custom-dump
Computed https://github.com/pointfreeco/swift-custom-dump at 1.1.2 (1.01s)
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.43s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing
Computed https://github.com/pointfreeco/swift-snapshot-testing at 1.15.1 (0.43s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 509.0.0 (0.63s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.0.2 (0.44s)
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-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/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/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/pointfreeco/swift-snapshot-testing
Working copy of https://github.com/pointfreeco/swift-snapshot-testing resolved at 1.15.1
Building for debugging...
[0/37] Write sources
[20/37] Write swift-version-24593BA9C3E375BF.txt
[22/49] Compiling SwiftSyntax509 Empty.swift
[23/49] Emitting module SwiftSyntax509
[25/50] Emitting module FunctionalModification
[26/50] Compiling FunctionalModification Modification.swift
[27/51] Wrapping AST for SwiftSyntax509 for debugging
[29/98] Compiling XCTestDynamicOverlay XCTCurrentTestCase.swift
[30/98] Compiling XCTestDynamicOverlay Unimplemented.swift
[31/99] Emitting module FunctionalKeyPath
[32/99] Compiling FunctionalKeyPath FunctionalKeyPath.swift
[34/100] Compiling SwiftSyntax AbsolutePosition.swift
[35/100] Compiling SwiftSyntax Assert.swift
[36/100] Compiling SwiftSyntax BumpPtrAllocator.swift
[37/100] Compiling SwiftSyntax CommonAncestor.swift
[38/100] Compiling SwiftSyntax Convenience.swift
[39/100] Compiling SwiftSyntax MemoryLayout.swift
[40/100] Compiling SwiftSyntax MissingNodeInitializers.swift
[41/106] Compiling XCTestDynamicOverlay XCTFail.swift
[42/106] Compiling XCTestDynamicOverlay XCTIsTesting.swift
[43/106] Compiling XCTestDynamicOverlay Deprecations.swift
[44/106] Compiling XCTestDynamicOverlay GeneratePlaceholder.swift
[45/106] Compiling XCTestDynamicOverlay RuntimeWarnings.swift
[46/106] Emitting module XCTestDynamicOverlay
[47/106] Compiling XCTestDynamicOverlay DefaultInitializable.swift
[49/132] Compiling CustomDump GameKit.swift
[50/132] Compiling CustomDump KeyPath.swift
[51/132] Compiling CustomDump Photos.swift
[52/132] Compiling CustomDump Speech.swift
[53/135] Compiling CustomDump CollectionDifference.swift
[54/135] Compiling CustomDump Mirror.swift
[55/135] Compiling CustomDump String.swift
[56/135] Compiling CustomDump StoreKit.swift
[57/135] Compiling CustomDump Swift.swift
[58/135] Compiling CustomDump SwiftUI.swift
[59/135] Compiling CustomDump UIKit.swift
[60/135] Compiling CustomDump Unordered.swift
[61/135] Compiling CustomDump XCTAssertDifference.swift
[62/135] Compiling CustomDump XCTAssertNoDifference.swift
[63/135] Compiling CustomDump CoreImage.swift
[64/135] Compiling CustomDump CoreLocation.swift
[65/135] Compiling CustomDump CoreMotion.swift
[66/135] Compiling CustomDump Foundation.swift
[67/135] Compiling CustomDump Dump.swift
[68/135] Compiling CustomDump AnyType.swift
[69/135] Compiling CustomDump Box.swift
[70/135] Emitting module CustomDump
[71/135] Compiling CustomDump UserNotifications.swift
[72/135] Compiling CustomDump UserNotificationsUI.swift
[73/135] Compiling CustomDump CustomDumpReflectable.swift
[74/135] Compiling CustomDump CustomDumpRepresentable.swift
[75/135] Compiling CustomDump CustomDumpStringConvertible.swift
[76/135] Compiling CustomDump Diff.swift
[78/161] Compiling FoundationExtensions DispatchTime+.swift
/host/spi-builder-workspace/Sources/FoundationExtensions/Extensions/NSLocking+.swift:46:3: error: cannot find 'withLock' in scope
withLock(closure)
^~~~~~~~
[79/161] Compiling FoundationExtensions FloatingPoint+.swift
/host/spi-builder-workspace/Sources/FoundationExtensions/Extensions/NSLocking+.swift:46:3: error: cannot find 'withLock' in scope
withLock(closure)
^~~~~~~~
[80/161] Compiling FoundationExtensions NSAttributedString+.swift
/host/spi-builder-workspace/Sources/FoundationExtensions/Extensions/NSLocking+.swift:46:3: error: cannot find 'withLock' in scope
withLock(closure)
^~~~~~~~
[81/161] Compiling FoundationExtensions NSLocking+.swift
/host/spi-builder-workspace/Sources/FoundationExtensions/Extensions/NSLocking+.swift:46:3: error: cannot find 'withLock' in scope
withLock(closure)
^~~~~~~~
[82/164] Compiling FoundationExtensions Optional+.swift
[83/164] Compiling FoundationExtensions Range+.swift
[84/164] Compiling FoundationExtensions Result+.swift
[85/164] Compiling FoundationExtensions String+.swift
[86/164] Compiling FoundationExtensions Exports.swift
[87/164] Compiling FoundationExtensions Bundle+.swift
[88/164] Compiling FoundationExtensions Codable+.swift
[89/164] Compiling FoundationExtensions Collection+.swift
[90/164] Compiling FoundationExtensions Reference.swift
[91/164] Compiling FoundationExtensions Castable.swift
[92/164] Compiling FoundationExtensions Equated+Comparator.swift
[93/164] 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 {
^~~~~~~~~~~~~~~~~~~~~~
[94/164] 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 {
^~~~~~~~~~~~~~~~~~~~~~
[95/164] 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 {
^~~~~~~~~~~~~~~~~~~~~~
error: emit-module command failed with exit code 1 (use -v to see invocation)
[96/164] 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
^~~~~~~~
[97/164] 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)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[98/164] 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)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[99/164] 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)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[100/164] Compiling FoundationExtensions Resettable+CollectionProxy.swift
[101/164] Compiling FoundationExtensions Resettable.swift
[102/164] Compiling FoundationExtensions RuntimeWarnings.swift
[103/164] Compiling FoundationExtensions Equated.swift
[104/164] Compiling FoundationExtensions Indirect.swift
[105/164] Compiling FoundationExtensions PropertyProxy.swift
error: fatalError
[0/1] Planning build
Building for debugging...
[0/17] Write swift-version-24593BA9C3E375BF.txt
[2/65] Compiling FoundationExtensions NSAttributedString+.swift
/host/spi-builder-workspace/Sources/FoundationExtensions/Extensions/NSLocking+.swift:46:3: error: cannot find 'withLock' in scope
withLock(closure)
^~~~~~~~
[3/65] Compiling FoundationExtensions NSLocking+.swift
/host/spi-builder-workspace/Sources/FoundationExtensions/Extensions/NSLocking+.swift:46:3: error: cannot find 'withLock' in scope
withLock(closure)
^~~~~~~~
[4/66] Compiling FoundationExtensions UnwrappingError.swift
[5/67] 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(
^~~~~~~~~~~~~~~~~~~~~~~~
[6/67] 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/67] Compiling FoundationExtensions Box.swift
[8/67] Compiling FoundationExtensions Optional+.swift
[9/67] 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/67] Compiling FoundationExtensions USID.swift
[11/73] Compiling FoundationExtensions DispatchTime+.swift
[12/73] Compiling FoundationExtensions FloatingPoint+.swift
[13/74] Compiling FoundationExtensions PropertyProxy.swift
[14/74] Compiling FoundationExtensions Equated+Comparator.swift
[15/74] Compiling FoundationExtensions String+.swift
[16/74] Compiling FoundationExtensions Codable+.swift
[17/74] Compiling FoundationExtensions Bundle+.swift
[18/74] Compiling FoundationExtensions Equated.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[19/75] 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
^~~~~~~~
[20/75] Compiling FoundationExtensions Resettable.swift
[21/75] Compiling FoundationExtensions RuntimeWarnings.swift
error: fatalError
BUILD FAILURE 5.10 linux