Build Information
Failed to build swift-foundation-extensions, reference main (b01f75
), with Swift 6.0 for Linux on 4 Nov 2024 09:36:48 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.56.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: $PWD/.spi.yml
SUCCESS checkout https://github.com/CaptureContext/swift-foundation-extensions.git at main
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
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-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/pointfreeco/swift-custom-dump
Fetching https://github.com/stackotter/swift-macro-toolkit.git
Fetching https://github.com/pointfreeco/swift-macro-testing.git
Fetching https://github.com/capturecontext/swift-declarative-configuration.git
[1/852] Fetching swift-macro-toolkit
[462/1483] Fetching swift-macro-toolkit, swift-macro-testing
[1484/5994] Fetching swift-macro-toolkit, swift-macro-testing, swift-custom-dump
[3605/6634] Fetching swift-macro-toolkit, swift-macro-testing, swift-custom-dump, swift-declarative-configuration
Fetched https://github.com/stackotter/swift-macro-toolkit.git from cache (0.26s)
[5196/5782] Fetching swift-macro-testing, swift-custom-dump, swift-declarative-configuration
Fetched https://github.com/pointfreeco/swift-macro-testing.git from cache (0.32s)
Fetched https://github.com/pointfreeco/swift-custom-dump from cache (0.32s)
Fetched https://github.com/capturecontext/swift-declarative-configuration.git from cache (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.42s)
Fetching https://github.com/pointfreeco/swift-snapshot-testing
Fetching https://github.com/apple/swift-syntax.git
[1/12446] Fetching swift-snapshot-testing
[4233/78845] Fetching swift-snapshot-testing, swift-syntax
Fetched https://github.com/pointfreeco/swift-snapshot-testing from cache (1.75s)
[48472/66399] Fetching swift-syntax
Fetched https://github.com/apple/swift-syntax.git from cache (4.41s)
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.40s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 509.0.0 (1.92s)
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.46s)
Computing version for https://github.com/pointfreeco/swift-custom-dump
Computed https://github.com/pointfreeco/swift-custom-dump at 1.3.3 (0.48s)
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
[1/4985] Fetching xctest-dynamic-overlay
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (0.63s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.4.2 (0.42s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing
Computed https://github.com/pointfreeco/swift-snapshot-testing at 1.17.6 (0.47s)
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/apple/swift-syntax.git
Working copy of https://github.com/apple/swift-syntax.git resolved at 509.0.0
Creating working copy for https://github.com/pointfreeco/swift-macro-testing.git
Working copy of https://github.com/pointfreeco/swift-macro-testing.git resolved at 0.2.2
Creating working copy for https://github.com/pointfreeco/swift-snapshot-testing
Working copy of https://github.com/pointfreeco/swift-snapshot-testing resolved at 1.17.6
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/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.4.2
warning: 'swift-snapshot-testing': 'swift-snapshot-testing' dependency on 'https://github.com/swiftlang/swift-syntax' conflicts with dependency on 'https://github.com/apple/swift-syntax.git' which has the same identity 'swift-syntax'. this will be escalated to an error in future versions of SwiftPM.
Building for debugging...
[0/38] Write sources
[21/38] Write swift-version-24593BA9C3E375BF.txt
[23/61] Emitting module SwiftSyntax509
[24/61] Emitting module IssueReporting
[25/63] Compiling SwiftSyntax509 Empty.swift
[26/64] Compiling FunctionalModification Reduce.swift
[27/64] Compiling IssueReporting WithExpectedIssue.swift
[28/64] Compiling IssueReporting WithIssueContext.swift
[30/64] Compiling IssueReporting TestContext.swift
[31/64] Compiling IssueReporting Unimplemented.swift
[32/109] Emitting module FunctionalModification
[33/109] Compiling FunctionalModification Modification.swift
[33/110] Wrapping AST for SwiftSyntax509 for debugging
[36/112] Compiling FunctionalKeyPath FunctionalKeyPath.swift
[37/112] Emitting module FunctionalKeyPath
[39/113] Compiling SwiftSyntax Convenience.swift
[40/113] Compiling SwiftSyntax MemoryLayout.swift
[41/113] Compiling SwiftSyntax MissingNodeInitializers.swift
[42/113] Compiling SwiftSyntax SwiftSyntaxCompatibility.swift
[43/113] Compiling SwiftSyntax BumpPtrAllocator.swift
[44/113] Compiling SwiftSyntax CommonAncestor.swift
[45/113] Compiling SwiftSyntax RawSyntaxTokenView.swift
[46/113] Compiling SwiftSyntax SourceLength.swift
[47/113] Compiling SwiftSyntax SourceLocation.swift
[48/113] Compiling SwiftSyntax SourcePresence.swift
[49/113] Compiling SwiftSyntax AbsolutePosition.swift
[50/113] Compiling SwiftSyntax Assert.swift
[51/113] Compiling SwiftSyntax RawSyntax.swift
[52/113] Compiling SwiftSyntax RawSyntaxLayoutView.swift
[53/113] Compiling SwiftSyntax RawSyntaxNodeProtocol.swift
[62/123] Compiling XCTestDynamicOverlay Exports.swift
[63/123] Emitting module XCTestDynamicOverlay
[71/123] Compiling XCTestDynamicOverlay Deprecations.swift
[73/151] Compiling CustomDump GameKit.swift
[74/151] Compiling CustomDump KeyPath.swift
[75/151] Compiling CustomDump Photos.swift
[76/151] Compiling CustomDump Speech.swift
[77/154] Compiling CustomDump ExpectNoDifference.swift
[78/154] Compiling CustomDump AnyType.swift
[79/154] Compiling CustomDump CollectionDifference.swift
[80/154] Compiling CustomDump Identifiable.swift
[81/154] Compiling CustomDump Mirror.swift
[82/154] Compiling CustomDump String.swift
[83/154] Compiling CustomDump CoreImage.swift
[84/154] Compiling CustomDump CoreLocation.swift
[85/154] Compiling CustomDump CoreMotion.swift
[86/154] Compiling CustomDump Foundation.swift
[87/154] Compiling CustomDump Unordered.swift
[88/154] Compiling CustomDump XCTAssertDifference.swift
[89/154] Compiling CustomDump XCTAssertNoDifference.swift
[90/154] Emitting module CustomDump
[91/154] Compiling CustomDump UserNotifications.swift
[92/154] Compiling CustomDump UserNotificationsUI.swift
[93/154] Compiling CustomDump CustomDumpReflectable.swift
[94/154] Compiling CustomDump CustomDumpRepresentable.swift
[95/154] Compiling CustomDump CustomDumpStringConvertible.swift
[96/154] Compiling CustomDump Diff.swift
[97/154] Compiling CustomDump Dump.swift
[98/154] Compiling CustomDump ExpectDifference.swift
[99/154] Compiling CustomDump StoreKit.swift
[100/154] Compiling CustomDump Swift.swift
[101/154] Compiling CustomDump SwiftUI.swift
[102/154] Compiling CustomDump UIKit.swift
[104/180] 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(
[105/180] 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(
[106/180] 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(
[107/183] Compiling FoundationExtensions Optional+.swift
[108/183] Compiling FoundationExtensions Range+.swift
[109/183] Compiling FoundationExtensions Result+.swift
[110/183] Compiling FoundationExtensions String+.swift
[111/183] Compiling FoundationExtensions Exports.swift
[112/183] Compiling FoundationExtensions Bundle+.swift
[113/183] Compiling FoundationExtensions Codable+.swift
[114/183] Compiling FoundationExtensions Collection+.swift
[115/183] Compiling FoundationExtensions DispatchTime+.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
[116/183] Compiling FoundationExtensions FloatingPoint+.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
[117/183] Compiling FoundationExtensions NSAttributedString+.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
[118/183] Compiling FoundationExtensions NSLocking+.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
[119/183] 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 | }
[120/183] 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 | }
[121/183] 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 | }
[122/183] Compiling FoundationExtensions Reference.swift
[123/183] Compiling FoundationExtensions Castable.swift
[124/183] Compiling FoundationExtensions Equated+Comparator.swift
[125/183] Compiling FoundationExtensions Equated.swift
[126/183] Compiling FoundationExtensions Indirect.swift
[127/183] Compiling FoundationExtensions PropertyProxy.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[128/183] 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/RuntimeWarnings.swift:41:73: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
39 | )
40 | #else
41 | fputs("\(formatter.string(from: Date())) [\(category)] \(message)\n", stderr)
| `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
42 | #endif
43 | }
SwiftGlibc.stderr:1:12: note: var declared here
1 | public var stderr: UnsafeMutablePointer<FILE>!
| `- note: var declared here
/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(
[129/183] Compiling FoundationExtensions Resettable+CollectionProxy.swift
/host/spi-builder-workspace/Sources/FoundationExtensions/General/RuntimeWarnings.swift:41:73: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
39 | )
40 | #else
41 | fputs("\(formatter.string(from: Date())) [\(category)] \(message)\n", stderr)
| `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
42 | #endif
43 | }
SwiftGlibc.stderr:1:12: note: var declared here
1 | public var stderr: UnsafeMutablePointer<FILE>!
| `- note: var declared here
[130/183] Compiling FoundationExtensions Resettable.swift
/host/spi-builder-workspace/Sources/FoundationExtensions/General/RuntimeWarnings.swift:41:73: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
39 | )
40 | #else
41 | fputs("\(formatter.string(from: Date())) [\(category)] \(message)\n", stderr)
| `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
42 | #endif
43 | }
SwiftGlibc.stderr:1:12: note: var declared here
1 | public var stderr: UnsafeMutablePointer<FILE>!
| `- note: var declared here
[131/183] Compiling FoundationExtensions RuntimeWarnings.swift
/host/spi-builder-workspace/Sources/FoundationExtensions/General/RuntimeWarnings.swift:41:73: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
39 | )
40 | #else
41 | fputs("\(formatter.string(from: Date())) [\(category)] \(message)\n", stderr)
| `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
42 | #endif
43 | }
SwiftGlibc.stderr:1:12: note: var declared here
1 | public var stderr: UnsafeMutablePointer<FILE>!
| `- note: var declared here
BUILD FAILURE 6.0 linux