Build Information
Failed to build swift-foundation-extensions, reference 0.5.0 (b01f75
), with Swift 6.2 (beta) for Android on 21 Jun 2025 05:04:58 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.64.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: $PWD/.spi.yml
SUCCESS checkout https://github.com/CaptureContext/swift-foundation-extensions.git at 0.5.0
========================================
Build
========================================
Selected platform: android
Swift version: 6.2
Building package at path: $PWD
https://github.com/CaptureContext/swift-foundation-extensions.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:b7c4a6b4153ff40ef9277e2157e708f835b8eb011095d53bd8db4594eb2b7798
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.2-latest
Fetching https://github.com/capturecontext/swift-declarative-configuration.git
Fetching https://github.com/stackotter/swift-macro-toolkit.git
Fetching https://github.com/pointfreeco/swift-custom-dump
Fetching https://github.com/pointfreeco/swift-macro-testing.git
[1/640] Fetching swift-declarative-configuration
[641/1548] Fetching swift-declarative-configuration, swift-macro-testing
[795/6129] Fetching swift-declarative-configuration, swift-macro-testing, swift-custom-dump
[1381/7025] Fetching swift-declarative-configuration, swift-macro-testing, swift-custom-dump, swift-macro-toolkit
Fetched https://github.com/pointfreeco/swift-macro-testing.git from cache (0.32s)
Fetched https://github.com/capturecontext/swift-declarative-configuration.git from cache (0.33s)
Fetched https://github.com/stackotter/swift-macro-toolkit.git from cache (0.36s)
Fetched https://github.com/pointfreeco/swift-custom-dump from cache (0.36s)
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.83s)
Fetching https://github.com/apple/swift-syntax.git
Fetching https://github.com/pointfreeco/swift-snapshot-testing
[1/13674] Fetching swift-snapshot-testing
[1369/84597] Fetching swift-snapshot-testing, swift-syntax
Fetched https://github.com/pointfreeco/swift-snapshot-testing from cache (2.70s)
[70848/70923] Fetching swift-syntax
Fetched https://github.com/apple/swift-syntax.git from cache (6.00s)
Computing version for https://github.com/stackotter/swift-macro-toolkit.git
Computed https://github.com/stackotter/swift-macro-toolkit.git at 0.3.1 (6.40s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 509.0.0 (2.48s)
Computing version for https://github.com/capturecontext/swift-declarative-configuration.git
Computed https://github.com/capturecontext/swift-declarative-configuration.git at 0.3.3 (0.60s)
Computing version for https://github.com/pointfreeco/swift-custom-dump
Computed https://github.com/pointfreeco/swift-custom-dump at 1.3.3 (1.09s)
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
[1/5467] Fetching xctest-dynamic-overlay
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (0.68s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.5.2 (1.12s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing
Computed https://github.com/pointfreeco/swift-snapshot-testing at 1.18.4 (0.44s)
Creating working copy for https://github.com/pointfreeco/swift-snapshot-testing
Working copy of https://github.com/pointfreeco/swift-snapshot-testing resolved at 1.18.4
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/pointfreeco/swift-custom-dump
Working copy of https://github.com/pointfreeco/swift-custom-dump resolved at 1.3.3
Creating working copy for https://github.com/pointfreeco/xctest-dynamic-overlay
Working copy of https://github.com/pointfreeco/xctest-dynamic-overlay resolved at 1.5.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/capturecontext/swift-declarative-configuration.git
Working copy of https://github.com/capturecontext/swift-declarative-configuration.git resolved at 0.3.3
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
warning: 'swift-snapshot-testing': Conflicting identity for swift-syntax: dependency 'github.com/swiftlang/swift-syntax' and dependency 'github.com/apple/swift-syntax' both point to the same package identity 'swift-syntax'. The dependencies are introduced through the following chains: (A) /host/spi-builder-workspace->github.com/pointfreeco/swift-macro-testing->github.com/pointfreeco/swift-snapshot-testing->github.com/swiftlang/swift-syntax (B) /host/spi-builder-workspace->github.com/stackotter/swift-macro-toolkit->github.com/apple/swift-syntax. If there are multiple chains that lead to the same dependency, only the first chain is shown here. To see all chains use debug output option. To resolve the conflict, coordinate with the maintainer of the package that introduces the conflicting dependency. This will be escalated to an error in future versions of SwiftPM.
Building for debugging...
[0/45] Write sources
[28/45] Write swift-version-8C5A4AE7A8CE2BA.txt
[30/91] Emitting module FunctionalModification
[31/91] Emitting module IssueReporting
[32/93] Compiling IssueReporting TestContext.swift
[33/93] Compiling IssueReporting Unimplemented.swift
[34/93] Emitting module SwiftSyntax509
[35/93] Compiling SwiftSyntax509 Empty.swift
[36/94] Compiling FunctionalModification Modification.swift
[37/94] Emitting module FunctionalModification
[38/94] Compiling FunctionalModification Reduce.swift
[40/95] Compiling IssueReporting BreakpointReporter.swift
[41/95] Compiling IssueReporting FatalErrorReporter.swift
[42/95] Wrapping AST for SwiftSyntax509 for debugging
[44/96] Compiling IssueReporting XCTest.swift
[45/96] Compiling IssueReporting IsTesting.swift
[46/114] Compiling FunctionalModification Reduce.swift
[47/144] Compiling FunctionalModification Modification.swift
[49/147] Compiling FunctionalKeyPath FunctionalKeyPath.swift
[50/147] Emitting module FunctionalKeyPath
[51/148] Compiling SwiftSyntax SyntaxCollection.swift
[52/148] Compiling SwiftSyntax SyntaxData.swift
[54/148] Emitting module FunctionalKeyPath
[55/148] Compiling FunctionalKeyPath FunctionalKeyPath.swift
[59/149] Compiling SwiftSyntax AbsolutePosition.swift
[60/149] Compiling SwiftSyntax Assert.swift
[61/149] Compiling SwiftSyntax BumpPtrAllocator.swift
[62/149] Compiling SwiftSyntax CommonAncestor.swift
[63/149] Compiling SwiftSyntax Convenience.swift
[64/149] Compiling SwiftSyntax MemoryLayout.swift
[65/149] Compiling SwiftSyntax MissingNodeInitializers.swift
[66/149] Compiling SwiftSyntax SyntaxArena.swift
[67/149] Compiling SwiftSyntax SyntaxChildren.swift
[74/155] Compiling SwiftSyntax SourceLength.swift
[75/155] Compiling SwiftSyntax SourceLocation.swift
[76/155] Compiling SwiftSyntax SourcePresence.swift
[78/155] Compiling SwiftSyntax RawSyntax.swift
[79/155] Compiling SwiftSyntax RawSyntaxLayoutView.swift
[81/159] Compiling XCTestDynamicOverlay Exports.swift
[82/159] Compiling XCTestDynamicOverlay Deprecations.swift
[83/159] Emitting module XCTestDynamicOverlay
[85/160] Compiling SwiftSyntax RawSyntaxNodeProtocol.swift
[86/160] Compiling SwiftSyntax RawSyntaxTokenView.swift
[88/160] Compiling SwiftSyntax SwiftSyntaxCompatibility.swift
[89/160] Emitting module IssueReporting
[100/161] Compiling SwiftSyntax Syntax.swift
[110/191] Compiling CustomDump GameKit.swift
[111/191] Compiling CustomDump KeyPath.swift
[112/191] Compiling CustomDump Photos.swift
[113/191] Compiling CustomDump Speech.swift
[114/194] Compiling XCTestDynamicOverlay Exports.swift
[115/194] Compiling CustomDump Identifiable.swift
[116/194] Compiling CustomDump Mirror.swift
[117/194] Compiling CustomDump String.swift
[118/194] Compiling CustomDump ExpectNoDifference.swift
[119/194] Compiling CustomDump AnyType.swift
[120/194] Compiling CustomDump CollectionDifference.swift
[121/194] Compiling CustomDump Unordered.swift
[122/194] Compiling CustomDump XCTAssertDifference.swift
[123/194] Compiling CustomDump XCTAssertNoDifference.swift
[124/194] Emitting module CustomDump
[125/194] Compiling CustomDump CoreImage.swift
[126/194] Compiling CustomDump CoreLocation.swift
[127/194] Compiling CustomDump CoreMotion.swift
[128/194] Compiling CustomDump Foundation.swift
[129/194] Compiling XCTestDynamicOverlay Deprecations.swift
[130/194] Emitting module XCTestDynamicOverlay
[132/222] Compiling CustomDump CoreImage.swift
[133/222] Compiling CustomDump CoreLocation.swift
[134/222] Compiling CustomDump CoreMotion.swift
[135/222] Compiling CustomDump Foundation.swift
[136/225] Compiling CustomDump ExpectNoDifference.swift
[137/225] Compiling CustomDump AnyType.swift
[138/225] Compiling CustomDump CollectionDifference.swift
[139/225] Compiling CustomDump Identifiable.swift
[140/225] Compiling CustomDump Mirror.swift
[141/225] Compiling CustomDump String.swift
[142/225] Compiling CustomDump Unordered.swift
[143/225] Compiling CustomDump XCTAssertDifference.swift
[144/225] Compiling CustomDump XCTAssertNoDifference.swift
[145/225] Emitting module CustomDump
[146/225] Compiling CustomDump GameKit.swift
[147/225] Compiling CustomDump KeyPath.swift
[148/225] Compiling CustomDump Photos.swift
[149/225] Compiling CustomDump Speech.swift
[150/225] Compiling CustomDump UserNotifications.swift
[151/225] Compiling CustomDump UserNotificationsUI.swift
[152/225] Compiling CustomDump CustomDumpReflectable.swift
[153/225] Compiling CustomDump CustomDumpRepresentable.swift
[154/225] Compiling CustomDump CustomDumpStringConvertible.swift
[155/225] Compiling CustomDump Diff.swift
[156/225] Compiling CustomDump Dump.swift
[157/225] Compiling CustomDump ExpectDifference.swift
[159/251] Compiling FoundationExtensions Optional+.swift
[160/251] Compiling FoundationExtensions Range+.swift
[161/251] Compiling FoundationExtensions Result+.swift
[162/251] Compiling FoundationExtensions String+.swift
[163/251] Compiling FoundationExtensions AssociatingObject.swift
[164/251] Compiling FoundationExtensions objc_AssociationPolicy+.swift
[165/251] Compiling FoundationExtensions Box.swift
[166/251] Compiling FoundationExtensions Reference.swift
[167/251] Compiling FoundationExtensions DispatchTime+.swift
[168/251] Compiling FoundationExtensions FloatingPoint+.swift
[169/251] Compiling FoundationExtensions NSAttributedString+.swift
[170/251] Compiling FoundationExtensions NSLocking+.swift
[171/251] Compiling FoundationExtensions Castable.swift
[172/251] Compiling FoundationExtensions Equated+Comparator.swift
[173/251] Compiling FoundationExtensions Equated.swift
[174/251] Compiling FoundationExtensions Indirect.swift
[176/277] Compiling FoundationExtensions Exports.swift
[177/277] Compiling FoundationExtensions Bundle+.swift
[178/277] Compiling FoundationExtensions Codable+.swift
[179/277] Compiling FoundationExtensions Collection+.swift
[180/277] Compiling FoundationExtensions DispatchTime+.swift
[181/277] Compiling FoundationExtensions FloatingPoint+.swift
[182/277] Compiling FoundationExtensions NSAttributedString+.swift
[183/277] Compiling FoundationExtensions NSLocking+.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[184/280] Emitting module FoundationExtensions
/host/spi-builder-workspace/Sources/FoundationExtensions/Extensions/DispatchTime+.swift:11:1: warning: extension declares a conformance of imported type 'DispatchTime' to imported protocol 'ExpressibleByFloatLiteral'; this will not behave correctly if the owners of 'Dispatch' introduce this conformance in the future
9 | }
10 |
11 | extension DispatchTime: ExpressibleByFloatLiteral {
| |- warning: extension declares a conformance of imported type 'DispatchTime' to imported protocol 'ExpressibleByFloatLiteral'; this will not behave correctly if the owners of 'Dispatch' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
12 | /// Creates DispatchTime for the specified interval in seconds from `.now()`
13 | @inlinable
/host/spi-builder-workspace/Sources/FoundationExtensions/General/AssociatingObject/AssociatingObject.swift:9:11: error: cannot find type 'objc_AssociationPolicy' in scope
7 | _ object: Object?,
8 | forKey key: StaticString,
9 | policy: objc_AssociationPolicy
| `- error: cannot find type 'objc_AssociationPolicy' in scope
10 | ) -> Bool
11 |
/host/spi-builder-workspace/Sources/FoundationExtensions/General/AssociatingObject/AssociatingObject.swift:33:11: error: cannot find type 'objc_AssociationPolicy' in scope
31 | _ object: Object?,
32 | forKey key: StaticString,
33 | policy: objc_AssociationPolicy = .retain(.nonatomic)
| `- error: cannot find type 'objc_AssociationPolicy' in scope
34 | ) -> Bool {
35 | return _setAssociatedObject(
/host/spi-builder-workspace/Sources/FoundationExtensions/General/AssociatingObject/AssociatingObject.swift:95:10: error: cannot find type 'objc_AssociationPolicy' in scope
93 | to associatingObject: AnyObject,
94 | forKey key: StaticString,
95 | policy: objc_AssociationPolicy
| `- error: cannot find type 'objc_AssociationPolicy' in scope
96 | ) -> Bool {
97 | guard key.hasPointerRepresentation
/host/spi-builder-workspace/Sources/FoundationExtensions/General/AssociatingObject/AssociatingObject.swift:39:12: error: extra argument 'policy' in call
37 | to: self,
38 | forKey: key,
39 | policy: policy
| `- error: extra argument 'policy' in call
40 | )
41 | }
/host/spi-builder-workspace/Sources/FoundationExtensions/General/AssociatingObject/AssociatingObject.swift:82:12: error: extra argument 'policy' in call
80 | to: associatingObject,
81 | forKey: key,
82 | policy: .init(
| `- error: extra argument 'policy' in call
83 | Object.self is AnyClass ? .retain : .copy,
84 | threadSafety
/host/spi-builder-workspace/Sources/FoundationExtensions/General/AssociatingObject/AssociatingObject.swift:82:12: error: cannot infer contextual base in reference to member 'init'
80 | to: associatingObject,
81 | forKey: key,
82 | policy: .init(
| `- error: cannot infer contextual base in reference to member 'init'
83 | Object.self is AnyClass ? .retain : .copy,
84 | threadSafety
/host/spi-builder-workspace/Sources/FoundationExtensions/General/AssociatingObject/AssociatingObject.swift:83:31: error: cannot infer contextual base in reference to member 'retain'
81 | forKey: key,
82 | policy: .init(
83 | Object.self is AnyClass ? .retain : .copy,
| `- error: cannot infer contextual base in reference to member 'retain'
84 | threadSafety
85 | )
/host/spi-builder-workspace/Sources/FoundationExtensions/General/AssociatingObject/AssociatingObject.swift:100:2: error: cannot find 'objc_setAssociatedObject' in scope
98 | else { return false }
99 |
100 | objc_setAssociatedObject(
| `- error: cannot find 'objc_setAssociatedObject' in scope
101 | associatingObject,
102 | UnsafeRawPointer(key.utf8Start),
/host/spi-builder-workspace/Sources/FoundationExtensions/General/AssociatingObject/AssociatingObject.swift:119:9: error: cannot find 'objc_getAssociatedObject' in scope
117 | else { return nil }
118 |
119 | return objc_getAssociatedObject(
| `- error: cannot find 'objc_getAssociatedObject' in scope
120 | associatingObject,
121 | UnsafeRawPointer(key.utf8Start)
/host/spi-builder-workspace/Sources/FoundationExtensions/General/AssociatingObject/objc_AssociationPolicy+.swift:41:11: error: cannot find type 'objc_AssociationPolicy' in scope
39 | }
40 |
41 | extension objc_AssociationPolicy {
| `- error: cannot find type 'objc_AssociationPolicy' in scope
42 | @inlinable
43 | public init(
/host/spi-builder-workspace/Sources/FoundationExtensions/General/Swizzling/NSObject+Swizzling.swift:42:23: error: cannot find type 'Selector' in scope
40 | ///
41 | public static func objc_exchangeImplementations(
42 | _ originalSelector: Selector,
| `- error: cannot find type 'Selector' in scope
43 | _ swizzledSelector: Selector
44 | ) {
/host/spi-builder-workspace/Sources/FoundationExtensions/General/Swizzling/NSObject+Swizzling.swift:43:23: error: cannot find type 'Selector' in scope
41 | public static func objc_exchangeImplementations(
42 | _ originalSelector: Selector,
43 | _ swizzledSelector: Selector
| `- error: cannot find type 'Selector' in scope
44 | ) {
45 | let originalMethod = class_getInstanceMethod(
[185/280] 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
40 | ///
41 | public static func objc_exchangeImplementations(
42 | _ originalSelector: Selector,
| `- error: cannot find type 'Selector' in scope
43 | _ swizzledSelector: Selector
44 | ) {
/host/spi-builder-workspace/Sources/FoundationExtensions/General/Swizzling/NSObject+Swizzling.swift:43:23: error: cannot find type 'Selector' in scope
41 | public static func objc_exchangeImplementations(
42 | _ originalSelector: Selector,
43 | _ swizzledSelector: Selector
| `- error: cannot find type 'Selector' in scope
44 | ) {
45 | let originalMethod = class_getInstanceMethod(
/host/spi-builder-workspace/Sources/FoundationExtensions/General/Swizzling/NSObject+Swizzling.swift:45:24: error: cannot find 'class_getInstanceMethod' in scope
43 | _ swizzledSelector: Selector
44 | ) {
45 | let originalMethod = class_getInstanceMethod(
| `- error: cannot find 'class_getInstanceMethod' in scope
46 | Self.self,
47 | originalSelector
/host/spi-builder-workspace/Sources/FoundationExtensions/General/Swizzling/NSObject+Swizzling.swift:50:24: error: cannot find 'class_getInstanceMethod' in scope
48 | )
49 |
50 | let swizzledMethod = class_getInstanceMethod(
| `- error: cannot find 'class_getInstanceMethod' in scope
51 | Self.self,
52 | swizzledSelector
/host/spi-builder-workspace/Sources/FoundationExtensions/General/Swizzling/NSObject+Swizzling.swift:60:3: error: cannot find 'method_exchangeImplementations' in scope
58 | else { return }
59 |
60 | method_exchangeImplementations(originalMethod, swizzledMethod)
| `- error: cannot find 'method_exchangeImplementations' in scope
61 | }
62 | }
[186/280] Compiling FoundationExtensions USID.swift
/host/spi-builder-workspace/Sources/FoundationExtensions/General/Swizzling/NSObject+Swizzling.swift:42:23: error: cannot find type 'Selector' in scope
40 | ///
41 | public static func objc_exchangeImplementations(
42 | _ originalSelector: Selector,
| `- error: cannot find type 'Selector' in scope
43 | _ swizzledSelector: Selector
44 | ) {
/host/spi-builder-workspace/Sources/FoundationExtensions/General/Swizzling/NSObject+Swizzling.swift:43:23: error: cannot find type 'Selector' in scope
41 | public static func objc_exchangeImplementations(
42 | _ originalSelector: Selector,
43 | _ swizzledSelector: Selector
| `- error: cannot find type 'Selector' in scope
44 | ) {
45 | let originalMethod = class_getInstanceMethod(
/host/spi-builder-workspace/Sources/FoundationExtensions/General/Swizzling/NSObject+Swizzling.swift:45:24: error: cannot find 'class_getInstanceMethod' in scope
43 | _ swizzledSelector: Selector
44 | ) {
45 | let originalMethod = class_getInstanceMethod(
| `- error: cannot find 'class_getInstanceMethod' in scope
46 | Self.self,
47 | originalSelector
/host/spi-builder-workspace/Sources/FoundationExtensions/General/Swizzling/NSObject+Swizzling.swift:50:24: error: cannot find 'class_getInstanceMethod' in scope
48 | )
49 |
50 | let swizzledMethod = class_getInstanceMethod(
| `- error: cannot find 'class_getInstanceMethod' in scope
51 | Self.self,
52 | swizzledSelector
/host/spi-builder-workspace/Sources/FoundationExtensions/General/Swizzling/NSObject+Swizzling.swift:60:3: error: cannot find 'method_exchangeImplementations' in scope
58 | else { return }
59 |
60 | method_exchangeImplementations(originalMethod, swizzledMethod)
| `- error: cannot find 'method_exchangeImplementations' in scope
61 | }
62 | }
[187/280] Compiling FoundationExtensions UnwrappingError.swift
/host/spi-builder-workspace/Sources/FoundationExtensions/General/Swizzling/NSObject+Swizzling.swift:42:23: error: cannot find type 'Selector' in scope
40 | ///
41 | public static func objc_exchangeImplementations(
42 | _ originalSelector: Selector,
| `- error: cannot find type 'Selector' in scope
43 | _ swizzledSelector: Selector
44 | ) {
/host/spi-builder-workspace/Sources/FoundationExtensions/General/Swizzling/NSObject+Swizzling.swift:43:23: error: cannot find type 'Selector' in scope
41 | public static func objc_exchangeImplementations(
42 | _ originalSelector: Selector,
43 | _ swizzledSelector: Selector
| `- error: cannot find type 'Selector' in scope
44 | ) {
45 | let originalMethod = class_getInstanceMethod(
/host/spi-builder-workspace/Sources/FoundationExtensions/General/Swizzling/NSObject+Swizzling.swift:45:24: error: cannot find 'class_getInstanceMethod' in scope
43 | _ swizzledSelector: Selector
44 | ) {
45 | let originalMethod = class_getInstanceMethod(
| `- error: cannot find 'class_getInstanceMethod' in scope
46 | Self.self,
47 | originalSelector
/host/spi-builder-workspace/Sources/FoundationExtensions/General/Swizzling/NSObject+Swizzling.swift:50:24: error: cannot find 'class_getInstanceMethod' in scope
48 | )
49 |
50 | let swizzledMethod = class_getInstanceMethod(
| `- error: cannot find 'class_getInstanceMethod' in scope
51 | Self.self,
52 | swizzledSelector
/host/spi-builder-workspace/Sources/FoundationExtensions/General/Swizzling/NSObject+Swizzling.swift:60:3: error: cannot find 'method_exchangeImplementations' in scope
58 | else { return }
59 |
60 | method_exchangeImplementations(originalMethod, swizzledMethod)
| `- error: cannot find 'method_exchangeImplementations' in scope
61 | }
62 | }
[188/280] Compiling FoundationExtensions Reference.swift
[189/280] Compiling FoundationExtensions Castable.swift
[190/280] Compiling FoundationExtensions Equated+Comparator.swift
[191/280] Compiling FoundationExtensions Resettable+CollectionProxy.swift
[192/280] Compiling FoundationExtensions Resettable.swift
[193/280] Compiling FoundationExtensions RuntimeWarnings.swift
[194/280] Compiling FoundationExtensions AssociatingObject.swift
/host/spi-builder-workspace/Sources/FoundationExtensions/General/AssociatingObject/AssociatingObject.swift:9:11: error: cannot find type 'objc_AssociationPolicy' in scope
7 | _ object: Object?,
8 | forKey key: StaticString,
9 | policy: objc_AssociationPolicy
| `- error: cannot find type 'objc_AssociationPolicy' in scope
10 | ) -> Bool
11 |
/host/spi-builder-workspace/Sources/FoundationExtensions/General/AssociatingObject/AssociatingObject.swift:33:11: error: cannot find type 'objc_AssociationPolicy' in scope
31 | _ object: Object?,
32 | forKey key: StaticString,
33 | policy: objc_AssociationPolicy = .retain(.nonatomic)
| `- error: cannot find type 'objc_AssociationPolicy' in scope
34 | ) -> Bool {
35 | return _setAssociatedObject(
/host/spi-builder-workspace/Sources/FoundationExtensions/General/AssociatingObject/AssociatingObject.swift:95:10: error: cannot find type 'objc_AssociationPolicy' in scope
93 | to associatingObject: AnyObject,
94 | forKey key: StaticString,
95 | policy: objc_AssociationPolicy
| `- error: cannot find type 'objc_AssociationPolicy' in scope
96 | ) -> Bool {
97 | guard key.hasPointerRepresentation
/host/spi-builder-workspace/Sources/FoundationExtensions/General/AssociatingObject/AssociatingObject.swift:39:12: error: extra argument 'policy' in call
37 | to: self,
38 | forKey: key,
39 | policy: policy
| `- error: extra argument 'policy' in call
40 | )
41 | }
/host/spi-builder-workspace/Sources/FoundationExtensions/General/AssociatingObject/AssociatingObject.swift:82:12: error: extra argument 'policy' in call
80 | to: associatingObject,
81 | forKey: key,
82 | policy: .init(
| `- error: extra argument 'policy' in call
83 | Object.self is AnyClass ? .retain : .copy,
84 | threadSafety
/host/spi-builder-workspace/Sources/FoundationExtensions/General/AssociatingObject/AssociatingObject.swift:82:12: error: cannot infer contextual base in reference to member 'init'
80 | to: associatingObject,
81 | forKey: key,
82 | policy: .init(
| `- error: cannot infer contextual base in reference to member 'init'
83 | Object.self is AnyClass ? .retain : .copy,
84 | threadSafety
/host/spi-builder-workspace/Sources/FoundationExtensions/General/AssociatingObject/AssociatingObject.swift:83:31: error: cannot infer contextual base in reference to member 'retain'
81 | forKey: key,
82 | policy: .init(
83 | Object.self is AnyClass ? .retain : .copy,
| `- error: cannot infer contextual base in reference to member 'retain'
84 | threadSafety
85 | )
/host/spi-builder-workspace/Sources/FoundationExtensions/General/AssociatingObject/AssociatingObject.swift:100:2: error: cannot find 'objc_setAssociatedObject' in scope
98 | else { return false }
99 |
100 | objc_setAssociatedObject(
| `- error: cannot find 'objc_setAssociatedObject' in scope
101 | associatingObject,
102 | UnsafeRawPointer(key.utf8Start),
/host/spi-builder-workspace/Sources/FoundationExtensions/General/AssociatingObject/AssociatingObject.swift:119:9: error: cannot find 'objc_getAssociatedObject' in scope
117 | else { return nil }
118 |
119 | return objc_getAssociatedObject(
| `- error: cannot find 'objc_getAssociatedObject' in scope
120 | associatingObject,
121 | UnsafeRawPointer(key.utf8Start)
/host/spi-builder-workspace/Sources/FoundationExtensions/General/AssociatingObject/objc_AssociationPolicy+.swift:41:11: error: cannot find type 'objc_AssociationPolicy' in scope
39 | }
40 |
41 | extension objc_AssociationPolicy {
| `- error: cannot find type 'objc_AssociationPolicy' in scope
42 | @inlinable
43 | public init(
[195/280] 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
7 | _ object: Object?,
8 | forKey key: StaticString,
9 | policy: objc_AssociationPolicy
| `- error: cannot find type 'objc_AssociationPolicy' in scope
10 | ) -> Bool
11 |
/host/spi-builder-workspace/Sources/FoundationExtensions/General/AssociatingObject/AssociatingObject.swift:33:11: error: cannot find type 'objc_AssociationPolicy' in scope
31 | _ object: Object?,
32 | forKey key: StaticString,
33 | policy: objc_AssociationPolicy = .retain(.nonatomic)
| `- error: cannot find type 'objc_AssociationPolicy' in scope
34 | ) -> Bool {
35 | return _setAssociatedObject(
/host/spi-builder-workspace/Sources/FoundationExtensions/General/AssociatingObject/AssociatingObject.swift:95:10: error: cannot find type 'objc_AssociationPolicy' in scope
93 | to associatingObject: AnyObject,
94 | forKey key: StaticString,
95 | policy: objc_AssociationPolicy
| `- error: cannot find type 'objc_AssociationPolicy' in scope
96 | ) -> Bool {
97 | guard key.hasPointerRepresentation
/host/spi-builder-workspace/Sources/FoundationExtensions/General/AssociatingObject/AssociatingObject.swift:39:12: error: extra argument 'policy' in call
37 | to: self,
38 | forKey: key,
39 | policy: policy
| `- error: extra argument 'policy' in call
40 | )
41 | }
/host/spi-builder-workspace/Sources/FoundationExtensions/General/AssociatingObject/AssociatingObject.swift:82:12: error: extra argument 'policy' in call
80 | to: associatingObject,
81 | forKey: key,
82 | policy: .init(
| `- error: extra argument 'policy' in call
83 | Object.self is AnyClass ? .retain : .copy,
84 | threadSafety
/host/spi-builder-workspace/Sources/FoundationExtensions/General/AssociatingObject/AssociatingObject.swift:82:12: error: cannot infer contextual base in reference to member 'init'
80 | to: associatingObject,
81 | forKey: key,
82 | policy: .init(
| `- error: cannot infer contextual base in reference to member 'init'
83 | Object.self is AnyClass ? .retain : .copy,
84 | threadSafety
/host/spi-builder-workspace/Sources/FoundationExtensions/General/AssociatingObject/AssociatingObject.swift:83:31: error: cannot infer contextual base in reference to member 'retain'
81 | forKey: key,
82 | policy: .init(
83 | Object.self is AnyClass ? .retain : .copy,
| `- error: cannot infer contextual base in reference to member 'retain'
84 | threadSafety
85 | )
/host/spi-builder-workspace/Sources/FoundationExtensions/General/AssociatingObject/AssociatingObject.swift:100:2: error: cannot find 'objc_setAssociatedObject' in scope
98 | else { return false }
99 |
100 | objc_setAssociatedObject(
| `- error: cannot find 'objc_setAssociatedObject' in scope
101 | associatingObject,
102 | UnsafeRawPointer(key.utf8Start),
/host/spi-builder-workspace/Sources/FoundationExtensions/General/AssociatingObject/AssociatingObject.swift:119:9: error: cannot find 'objc_getAssociatedObject' in scope
117 | else { return nil }
118 |
119 | return objc_getAssociatedObject(
| `- error: cannot find 'objc_getAssociatedObject' in scope
120 | associatingObject,
121 | UnsafeRawPointer(key.utf8Start)
/host/spi-builder-workspace/Sources/FoundationExtensions/General/AssociatingObject/objc_AssociationPolicy+.swift:41:11: error: cannot find type 'objc_AssociationPolicy' in scope
39 | }
40 |
41 | extension objc_AssociationPolicy {
| `- error: cannot find type 'objc_AssociationPolicy' in scope
42 | @inlinable
43 | public init(
[196/280] Compiling FoundationExtensions Box.swift
/host/spi-builder-workspace/Sources/FoundationExtensions/General/AssociatingObject/AssociatingObject.swift:9:11: error: cannot find type 'objc_AssociationPolicy' in scope
7 | _ object: Object?,
8 | forKey key: StaticString,
9 | policy: objc_AssociationPolicy
| `- error: cannot find type 'objc_AssociationPolicy' in scope
10 | ) -> Bool
11 |
/host/spi-builder-workspace/Sources/FoundationExtensions/General/AssociatingObject/AssociatingObject.swift:33:11: error: cannot find type 'objc_AssociationPolicy' in scope
31 | _ object: Object?,
32 | forKey key: StaticString,
33 | policy: objc_AssociationPolicy = .retain(.nonatomic)
| `- error: cannot find type 'objc_AssociationPolicy' in scope
34 | ) -> Bool {
35 | return _setAssociatedObject(
/host/spi-builder-workspace/Sources/FoundationExtensions/General/AssociatingObject/AssociatingObject.swift:95:10: error: cannot find type 'objc_AssociationPolicy' in scope
93 | to associatingObject: AnyObject,
94 | forKey key: StaticString,
95 | policy: objc_AssociationPolicy
| `- error: cannot find type 'objc_AssociationPolicy' in scope
96 | ) -> Bool {
97 | guard key.hasPointerRepresentation
/host/spi-builder-workspace/Sources/FoundationExtensions/General/AssociatingObject/AssociatingObject.swift:39:12: error: extra argument 'policy' in call
37 | to: self,
38 | forKey: key,
39 | policy: policy
| `- error: extra argument 'policy' in call
40 | )
41 | }
/host/spi-builder-workspace/Sources/FoundationExtensions/General/AssociatingObject/AssociatingObject.swift:82:12: error: extra argument 'policy' in call
80 | to: associatingObject,
81 | forKey: key,
82 | policy: .init(
| `- error: extra argument 'policy' in call
83 | Object.self is AnyClass ? .retain : .copy,
84 | threadSafety
/host/spi-builder-workspace/Sources/FoundationExtensions/General/AssociatingObject/AssociatingObject.swift:82:12: error: cannot infer contextual base in reference to member 'init'
80 | to: associatingObject,
81 | forKey: key,
82 | policy: .init(
| `- error: cannot infer contextual base in reference to member 'init'
83 | Object.self is AnyClass ? .retain : .copy,
84 | threadSafety
/host/spi-builder-workspace/Sources/FoundationExtensions/General/AssociatingObject/AssociatingObject.swift:83:31: error: cannot infer contextual base in reference to member 'retain'
81 | forKey: key,
82 | policy: .init(
83 | Object.self is AnyClass ? .retain : .copy,
| `- error: cannot infer contextual base in reference to member 'retain'
84 | threadSafety
85 | )
/host/spi-builder-workspace/Sources/FoundationExtensions/General/AssociatingObject/AssociatingObject.swift:100:2: error: cannot find 'objc_setAssociatedObject' in scope
98 | else { return false }
99 |
100 | objc_setAssociatedObject(
| `- error: cannot find 'objc_setAssociatedObject' in scope
101 | associatingObject,
102 | UnsafeRawPointer(key.utf8Start),
/host/spi-builder-workspace/Sources/FoundationExtensions/General/AssociatingObject/AssociatingObject.swift:119:9: error: cannot find 'objc_getAssociatedObject' in scope
117 | else { return nil }
118 |
119 | return objc_getAssociatedObject(
| `- error: cannot find 'objc_getAssociatedObject' in scope
120 | associatingObject,
121 | UnsafeRawPointer(key.utf8Start)
/host/spi-builder-workspace/Sources/FoundationExtensions/General/AssociatingObject/objc_AssociationPolicy+.swift:41:11: error: cannot find type 'objc_AssociationPolicy' in scope
39 | }
40 |
41 | extension objc_AssociationPolicy {
| `- error: cannot find type 'objc_AssociationPolicy' in scope
42 | @inlinable
43 | public init(
[197/280] Compiling FoundationExtensions Optional+.swift
/host/spi-builder-workspace/Sources/FoundationExtensions/Extensions/DispatchTime+.swift:11:1: warning: extension declares a conformance of imported type 'DispatchTime' to imported protocol 'ExpressibleByFloatLiteral'; this will not behave correctly if the owners of 'Dispatch' introduce this conformance in the future
9 | }
10 |
11 | extension DispatchTime: ExpressibleByFloatLiteral {
| |- warning: extension declares a conformance of imported type 'DispatchTime' to imported protocol 'ExpressibleByFloatLiteral'; this will not behave correctly if the owners of 'Dispatch' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
12 | /// Creates DispatchTime for the specified interval in seconds from `.now()`
13 | @inlinable
[198/280] Compiling FoundationExtensions Range+.swift
/host/spi-builder-workspace/Sources/FoundationExtensions/Extensions/DispatchTime+.swift:11:1: warning: extension declares a conformance of imported type 'DispatchTime' to imported protocol 'ExpressibleByFloatLiteral'; this will not behave correctly if the owners of 'Dispatch' introduce this conformance in the future
9 | }
10 |
11 | extension DispatchTime: ExpressibleByFloatLiteral {
| |- warning: extension declares a conformance of imported type 'DispatchTime' to imported protocol 'ExpressibleByFloatLiteral'; this will not behave correctly if the owners of 'Dispatch' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
12 | /// Creates DispatchTime for the specified interval in seconds from `.now()`
13 | @inlinable
[199/280] Compiling FoundationExtensions Result+.swift
/host/spi-builder-workspace/Sources/FoundationExtensions/Extensions/DispatchTime+.swift:11:1: warning: extension declares a conformance of imported type 'DispatchTime' to imported protocol 'ExpressibleByFloatLiteral'; this will not behave correctly if the owners of 'Dispatch' introduce this conformance in the future
9 | }
10 |
11 | extension DispatchTime: ExpressibleByFloatLiteral {
| |- warning: extension declares a conformance of imported type 'DispatchTime' to imported protocol 'ExpressibleByFloatLiteral'; this will not behave correctly if the owners of 'Dispatch' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
12 | /// Creates DispatchTime for the specified interval in seconds from `.now()`
13 | @inlinable
[200/280] Compiling FoundationExtensions String+.swift
/host/spi-builder-workspace/Sources/FoundationExtensions/Extensions/DispatchTime+.swift:11:1: warning: extension declares a conformance of imported type 'DispatchTime' to imported protocol 'ExpressibleByFloatLiteral'; this will not behave correctly if the owners of 'Dispatch' introduce this conformance in the future
9 | }
10 |
11 | extension DispatchTime: ExpressibleByFloatLiteral {
| |- warning: extension declares a conformance of imported type 'DispatchTime' to imported protocol 'ExpressibleByFloatLiteral'; this will not behave correctly if the owners of 'Dispatch' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
12 | /// Creates DispatchTime for the specified interval in seconds from `.now()`
13 | @inlinable
[201/280] Compiling FoundationExtensions Equated.swift
[202/280] Compiling FoundationExtensions Indirect.swift
[203/280] Compiling FoundationExtensions PropertyProxy.swift
BUILD FAILURE 6.2 android