The Swift Package Index logo.Swift Package Index

Build Information

Failed to build FrameworkToolbox, reference main (f34031), with Swift 6.4 for Linux on 29 Nov 2026 16:14:07 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-53886769-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:linux-6.4-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Mx-Iris/FrameworkToolbox.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/Mx-Iris/FrameworkToolbox
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at f340313 docs: land scoped UserDefaults keys as 0019
Cloned https://github.com/Mx-Iris/FrameworkToolbox.git
Revision (git rev-parse @):
f3403136ab0cab017ca755e97865cf98d0cf2156
SUCCESS checkout https://github.com/Mx-Iris/FrameworkToolbox.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.4
Building package at path:  $PWD
https://github.com/Mx-Iris/FrameworkToolbox.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886769-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:linux-6.4-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
linux-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:24b3a70409a49491a0b3da00df2e0ea9248eeb65e7d70f4700c30d1c09457b82
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:linux-6.4-latest
Fetching https://github.com/swiftlang/swift-syntax.git
Fetching https://github.com/pointfreeco/swift-macro-testing.git
[1/1002] Fetching swift-macro-testing
Fetched https://github.com/pointfreeco/swift-macro-testing.git (0.39s)
[1/82517] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git (3.05s)
Computing version for https://github.com/pointfreeco/swift-macro-testing.git
Computed https://github.com/pointfreeco/swift-macro-testing.git at 0.7.0 (3.20s)
Fetching https://github.com/pointfreeco/swift-snapshot-testing
[1/16649] Fetching swift-snapshot-testing
Fetched https://github.com/pointfreeco/swift-snapshot-testing (1.99s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 603.0.2 (2.96s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing
Computed https://github.com/pointfreeco/swift-snapshot-testing at 1.19.7 (0.15s)
Fetching https://github.com/pointfreeco/swift-custom-dump
[1/5669] Fetching swift-custom-dump
Fetched https://github.com/pointfreeco/swift-custom-dump (0.43s)
Computing version for https://github.com/pointfreeco/swift-custom-dump
Computed https://github.com/pointfreeco/swift-custom-dump at 1.7.3 (0.59s)
Fetching https://github.com/pointfreeco/swift-issue-reporting
[1/6183] Fetching swift-issue-reporting
Fetched https://github.com/pointfreeco/swift-issue-reporting (0.71s)
Computing version for https://github.com/pointfreeco/swift-issue-reporting
Computed https://github.com/pointfreeco/swift-issue-reporting at 2.1.2 (1.60s)
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.7.0
Creating working copy for https://github.com/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 603.0.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.7.3
Creating working copy for https://github.com/pointfreeco/swift-snapshot-testing
Working copy of https://github.com/pointfreeco/swift-snapshot-testing resolved at 1.19.7
Creating working copy for https://github.com/pointfreeco/swift-issue-reporting
Working copy of https://github.com/pointfreeco/swift-issue-reporting resolved at 2.1.2
Downloading package prebuilt https://download.swift.org/prebuilts/swift-syntax/603.0.2/swift-6.4.0-RELEASE-ubuntu_noble_x86_64-MacroSupport.tar.gz
Downloaded https://download.swift.org/prebuilts/swift-syntax/603.0.2/swift-6.4.0-RELEASE-ubuntu_noble_x86_64-MacroSupport.tar.gz (0.28s)
Building for debugging...
[Computing dependencies]
[Provisioning 1 / 60]
[Pre-planning 1 / 1581]
[Planning deferred tasks]
[Starting]
[36 / 519] SwiftSyntax603
[246 / 537] SwiftSyntax510
[282 / 538] SwiftSyntax
[285 / 547] SwiftSyntax
[287 / 549] SwiftSyntax509
[290 / 549] SwiftSyntax602
[298 / 551] SwiftSyntax602
[305 / 553] SwiftSyntax600
[308 / 553] SwiftSyntax
[309 / 553]
[309 / 553] SwiftSyntax
[321 / 572] SwiftDiagnostics
[323 / 581] SwiftParser
[327 / 581] SwiftDiagnostics
[336 / 581] SwiftParser
[337 / 581] SwiftParser
[339 / 581] SwiftParser
[340 / 581] SwiftParser
[346 / 581] SwiftDiagnostics
[347 / 581] SwiftDiagnostics
[349 / 581] SwiftParser
[351 / 581] SwiftDiagnostics-product
[355 / 581] SwiftParserDiagnostics
[357 / 582] SwiftBasicFormat
[364 / 602] SwiftOperators
[367 / 604] SwiftParserDiagnostics
[368 / 604] SwiftParserDiagnostics
[371 / 604] SwiftParserDiagnostics
[380 / 604] SwiftSyntaxBuilder
[381 / 604] SwiftSyntaxBuilder
[385 / 604] SwiftParser
[389 / 604] SwiftOperators
[391 / 604] SwiftOperators
[394 / 605] SwiftSyntaxBuilder
[397 / 614] SwiftOperators
[399 / 615] SwiftSyntaxBuilder
[402 / 616] SwiftParserDiagnostics
[404 / 616] SwiftSyntaxBuilder
[410 / 616] SwiftSyntaxBuilder-product
[417 / 626] SwiftIfConfig
[424 / 626] SwiftIfConfig
[426 / 626] SwiftIfConfig
[427 / 626] SwiftSyntaxMacros
[431 / 636] SwiftSyntaxMacros
[438 / 637] SwiftSyntaxMacros
[448 / 647] SwiftSyntaxMacroExpansion
[450 / 647] SwiftSyntaxMacroExpansion
[451 / 649] SwiftSyntaxMacros
[452 / 649] SwiftSyntaxMacroExpansion
[456 / 649] SwiftSyntaxBuilder
[469 / 669] SwiftCompilerPluginMessageHandling
[471 / 669] SwiftCompilerPluginMessageHandling
[475 / 670] SwiftCompilerPluginMessageHandling
[480 / 670] SwiftCompilerPluginMessageHandling
[483 / 670] SwiftCompilerPluginMessageHandling
[484 / 670] SwiftCompilerPluginMessageHandling
[488 / 670] MacroToolbox
[495 / 670] MacroToolbox
[496 / 671]
[503 / 673] SwiftCompilerPlugin
[505 / 674] SwiftCompilerPluginMessageHandling
[507 / 675] MacroToolbox
[509 / 676] SwiftSyntax
[512 / 677] SwiftSyntax
[519 / 677] SwiftIfConfig
[554 / 683] DyldToolboxMacros
[566 / 727] SwiftStdlibToolboxMacros
[573 / 728] SwiftStdlibToolboxMacros
[577 / 728] SwiftStdlibToolboxMacros
[579 / 728] SwiftStdlibToolboxMacros
[582 / 728] ObjCRuntimeToolboxMacros
[585 / 728] ObjCRuntimeToolboxMacros
[586 / 728] ObjCRuntimeToolboxMacros
[589 / 728] OSToolboxMacros
[593 / 729] SwiftStdlibToolboxMacros
[598 / 729] FrameworkToolboxMacros
[602 / 729] FoundationToolboxMacros
[607 / 729] FrameworkToolboxMacros
[611 / 732] OSToolboxMacros
[624 / 732] FoundationToolboxMacros
[628 / 733] SwiftStdlibToolboxMacros
[628 / 733] DyldToolboxMacros
[630 / 735] FrameworkToolbox
[641 / 747] ObjCRuntimeToolbox
[665 / 769] FrameworkToolboxClient-product
error: SwiftCompile normal x86_64 failed with a nonzero exit code. Command line:     cd /host

/host/spi-builder-workspace/Sources/FrameworkToolboxClient/ReferenceSemanticsDetection.swift:20:2: error: Objective-C interoperability is disabled
18 | extension ClassBoundService {}
19 |
20 | @objc protocol ObjectiveCService {}
   |  `- error: Objective-C interoperability is disabled
21 |
22 | @FrameworkToolboxExtension(.internal)
Failed frontend command:
/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /host/spi-builder-workspace/Sources/FrameworkToolboxClient/ReferenceSemanticsDetection.swift /host/spi-builder-workspace/Sources/FrameworkToolboxClient/main.swift -target x86_64-unknown-linux-gnu -disable-objc-interop -I /host/spi-builder-workspace/.build/out/Products/Debug-linux-x86_64 -module-cache-path /host/spi-builder-workspace/.build/out/ModuleCache.noindex -color-diagnostics -Xcc -fcolor-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -D Xcode -serialize-debugging-options -load-plugin-executable /host/spi-builder-workspace/.build/out/Products/Debug-linux-x86_64/FrameworkToolboxMacros\#FrameworkToolboxMacros -enable-experimental-feature AvailabilityMacro\=SwiftStdlib\ 5.0:\ macOS\ 10.14.4,\ iOS\ 12.2,\ watchOS\ 5.2,\ tvOS\ 12.2 -enable-experimental-feature AvailabilityMacro\=SwiftStdlib\ 5.1:\ macOS\ 10.15,\ iOS\ 13.0,\ watchOS\ 6.0,\ tvOS\ 13.0 -enable-experimental-feature AvailabilityMacro\=SwiftStdlib\ 5.6:\ macOS\ 12.3,\ iOS\ 15.4,\ watchOS\ 8.5,\ tvOS\ 15.4 -enable-experimental-feature AvailabilityMacro\=SwiftStdlib\ 5.7:\ macOS\ 13.0,\ iOS\ 16.0,\ watchOS\ 9.0,\ tvOS\ 16.0 -enable-experimental-feature AvailabilityMacro\=SwiftStdlib\ 5.8:\ macOS\ 13.3,\ iOS\ 16.4,\ watchOS\ 9.4,\ tvOS\ 16.4 -enable-experimental-feature AvailabilityMacro\=SwiftStdlib\ 5.9:\ macOS\ 14.0,\ iOS\ 17.0,\ watchOS\ 10.0,\ tvOS\ 17.0 -enable-experimental-feature AvailabilityMacro\=SwiftStdlib\ 5.10:\ macOS\ 14.4,\ iOS\ 17.4,\ watchOS\ 10.4,\ tvOS\ 17.4,\ visionOS\ 1.1 -enable-experimental-feature AvailabilityMacro\=SwiftStdlib\ 6.0:\ macOS\ 15.0,\ iOS\ 18.0,\ watchOS\ 11.0,\ tvOS\ 18.0,\ visionOS\ 2.0 -enable-experimental-feature AvailabilityMacro\=SwiftStdlib\ 6.1:\ macOS\ 15.4,\ iOS\ 18.4,\ watchOS\ 11.4,\ tvOS\ 18.4,\ visionOS\ 2.4 -enable-experimental-feature AvailabilityMacro\=SwiftStdlib\ 6.2:\ macOS\ 26.0,\ iOS\ 26.0,\ watchOS\ 26.0,\ tvOS\ 26.0,\ visionOS\ 26.0 -enable-experimental-feature AvailabilityMacro\=SwiftStdlib\ 6.3:\ macOS\ 26.4,\ iOS\ 26.4,\ watchOS\ 26.4,\ tvOS\ 26.4,\ visionOS\ 26.4 -enable-experimental-feature AvailabilityMacro\=SwiftStdlib\ 6.4:\ macOS\ 27.0,\ iOS\ 27.0,\ watchOS\ 27.0,\ tvOS\ 27.0,\ visionOS\ 27.0 -enable-experimental-feature AvailabilityMacro\=SwiftStdlib\ 6.5:\ macOS\ 9999,\ iOS\ 9999,\ watchOS\ 9999,\ tvOS\ 9999,\ visionOS\ 9999 -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -external-plugin-path /usr/lib/swift/host/plugins/testing\#/usr/bin/swift-plugin-server -validate-clang-modules-once -clang-build-session-file /host/spi-builder-workspace/.build/out/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /host -enable-anonymous-context-mangled-names -file-compilation-dir /host -Xcc -fno-omit-frame-pointer -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/host/spi-builder-workspace/.build/out/Products/Debug-linux-x86_64/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/FrameworkToolbox.build/Debug-linux-x86_64/FrameworkToolboxClient-p.build/DerivedSources-normal/x86_64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/FrameworkToolbox.build/Debug-linux-x86_64/FrameworkToolboxClient-p.build/DerivedSources/x86_64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/FrameworkToolbox.build/Debug-linux-x86_64/FrameworkToolboxClient-p.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name FrameworkToolboxClient -package-name spi_builder_workspace -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/FrameworkToolbox.build/Debug-linux-x86_64/FrameworkToolboxClient-p.build/Objects-normal/x86_64/FrameworkToolboxClient_const_extract_protocols.json -in-process-plugin-server-path /usr/lib/swift/host/libSwiftInProcPluginServer.so -plugin-path /usr/lib/swift/host/plugins -plugin-path /usr/local/lib/swift/host/plugins -emit-module-doc-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/FrameworkToolbox.build/Debug-linux-x86_64/FrameworkToolboxClient-p.build/Objects-normal/x86_64/Modules/FrameworkToolboxClient.swiftdoc -emit-module-source-info-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/FrameworkToolbox.build/Debug-linux-x86_64/FrameworkToolboxClient-p.build/Objects-normal/x86_64/Modules/FrameworkToolboxClient.swiftsourceinfo -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/FrameworkToolbox.build/Debug-linux-x86_64/FrameworkToolboxClient-p.build/Objects-normal/x86_64/FrameworkToolboxClient-primary-emit-module.dia -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/FrameworkToolbox.build/Debug-linux-x86_64/FrameworkToolboxClient-p.build/Objects-normal/x86_64/FrameworkToolboxClient-primary-emit-module.d -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/FrameworkToolbox.build/Debug-linux-x86_64/FrameworkToolboxClient-p.build/Objects-normal/x86_64/Modules/FrameworkToolboxClient.swiftmodule
/host/spi-builder-workspace/Sources/ObjCRuntimeToolboxClient/main.swift:143:2: error: Objective-C interoperability is disabled
141 | // replaced.
142 |
143 | @objc(IconTileRuntimeClient)
    |  `- error: Objective-C interoperability is disabled
144 | final class IconTile: NSObject {
145 |     @objc dynamic var displayedIconName: NSString?
/host/spi-builder-workspace/Sources/ObjCRuntimeToolboxClient/main.swift:145:6: error: Objective-C interoperability is disabled
143 | @objc(IconTileRuntimeClient)
144 | final class IconTile: NSObject {
145 |     @objc dynamic var displayedIconName: NSString?
    |      `- error: Objective-C interoperability is disabled
146 |
147 |     @objc dynamic func setIcon(_ name: NSString?, animated: Bool) {
/host/spi-builder-workspace/Sources/ObjCRuntimeToolboxClient/main.swift:147:6: error: Objective-C interoperability is disabled
145 |     @objc dynamic var displayedIconName: NSString?
146 |
147 |     @objc dynamic func setIcon(_ name: NSString?, animated: Bool) {
    |      `- error: Objective-C interoperability is disabled
148 |         displayedIconName = name
149 |     }
/host/spi-builder-workspace/Sources/ObjCRuntimeToolboxClient/main.swift:152:2: error: unknown attribute 'RuntimeClassHook'
150 | }
151 |
152 | @RuntimeClassHook("IconTileRuntimeClient")
    |  `- error: unknown attribute 'RuntimeClassHook'
153 | struct IconTileHooks {
154 |     @RuntimeMethodReplacement
/host/spi-builder-workspace/Sources/ObjCRuntimeToolboxClient/main.swift:154:6: error: unknown attribute 'RuntimeMethodReplacement'
152 | @RuntimeClassHook("IconTileRuntimeClient")
153 | struct IconTileHooks {
154 |     @RuntimeMethodReplacement
    |      `- error: unknown attribute 'RuntimeMethodReplacement'
155 |     func setIcon(_ name: NSString?, animated: Bool) {
156 |         // `host` is the receiver; `callOriginal` goes straight to the
/host/spi-builder-workspace/Sources/ObjCRuntimeToolboxClient/main.swift:164:2: error: unknown attribute 'RuntimeClassProxy'
162 | // MARK: - Scenario 7 — @RuntimeClassProxy: calling into that same class
163 |
164 | @RuntimeClassProxy("IconTileRuntimeClient")
    |  `- error: unknown attribute 'RuntimeClassProxy'
165 | protocol IconTileSurface {
166 |     var displayedIconName: NSString? { get set }
/host/spi-builder-workspace/Sources/ObjCRuntimeToolboxClient/main.swift:178:23: error: type 'IconTileHooks' has no member 'install'
176 |
177 | do {
178 |     try IconTileHooks.install()
    |                       `- error: type 'IconTileHooks' has no member 'install'
179 |     print("  install       : ok")
180 | } catch {
/host/spi-builder-workspace/Sources/ObjCRuntimeToolboxClient/main.swift:188:33: error: type 'IconTileHooks' has no member 'descriptors'
186 |
187 | print("  derived descriptors:")
188 | for descriptor in IconTileHooks.descriptors() {
    |                                 `- error: type 'IconTileHooks' has no member 'descriptors'
189 |     print("    \(descriptor) encoding=\(descriptor.expectedTypeEncoding)")
190 | }
/host/spi-builder-workspace/Sources/ObjCRuntimeToolboxClient/main.swift:193:25: error: cannot find 'IconTileSurfaceImplementation' in scope
191 |
192 | print("== Scenario 7 — IconTileSurface (@RuntimeClassProxy) ==")
193 | print("  isSupported:", IconTileSurfaceImplementation.isSupported)
    |                         `- error: cannot find 'IconTileSurfaceImplementation' in scope
194 | if let surface = IconTileSurfaceImplementation(iconTile) {
195 |     print("  read via proxy :", surface.displayedIconName ?? "<nil>")
/host/spi-builder-workspace/Sources/ObjCRuntimeToolboxClient/main.swift:194:18: error: cannot find 'IconTileSurfaceImplementation' in scope
192 | print("== Scenario 7 — IconTileSurface (@RuntimeClassProxy) ==")
193 | print("  isSupported:", IconTileSurfaceImplementation.isSupported)
194 | if let surface = IconTileSurfaceImplementation(iconTile) {
    |                  `- error: cannot find 'IconTileSurfaceImplementation' in scope
195 |     print("  read via proxy :", surface.displayedIconName ?? "<nil>")
196 |     surface.setIcon("mail", animated: true)
/host/spi-builder-workspace/Sources/ObjCRuntimeToolboxClient/main.swift:201:47: error: cannot find 'IconTileSurfaceImplementation' in scope
199 |     print("  proxy unavailable")
200 | }
201 | print("  proxy refuses an unrelated object:", IconTileSurfaceImplementation(NSObject()) == nil)
    |                                               `- error: cannot find 'IconTileSurfaceImplementation' in scope
202 |
203 | // MARK: - Scenario 8 — DynamicObject (call a class with no header)
/host/spi-builder-workspace/Sources/ObjCRuntimeToolboxClient/main.swift:207:21: error: cannot find 'ObjC' in scope
205 | print("== Scenario 8 — DynamicObject ==")
206 |
207 | let dateFormatter = ObjC.NSDateFormatter()
    |                     `- error: cannot find 'ObjC' in scope
208 | dateFormatter.dateFormat = "yyyy-MM-dd"
209 | let formattedDate: String? = dateFormatter.stringFromDate(Date(timeIntervalSince1970: 1_600_000_000))
/host/spi-builder-workspace/Sources/ObjCRuntimeToolboxClient/main.swift:212:28: error: cannot find 'ObjC' in scope
210 | print("  formatted date : \(formattedDate ?? "<nil>")")
211 |
212 | let processorCount: Int? = ObjC.NSProcessInfo.processInfo.processorCount
    |                            `- error: cannot find 'ObjC' in scope
213 | print("  processor count: \(processorCount.map(String.init) ?? "<nil>") (native \(ProcessInfo.processInfo.processorCount))")
214 |
/host/spi-builder-workspace/Sources/ObjCRuntimeToolboxClient/main.swift:215:15: error: cannot find 'ObjC' in scope
213 | print("  processor count: \(processorCount.map(String.init) ?? "<nil>") (native \(ProcessInfo.processInfo.processorCount))")
214 |
215 | let missing = ObjC.NSDateFormatter().noSuchMethodExists()
    |               `- error: cannot find 'ObjC' in scope
216 | print("  unknown selector is an error, not a crash: \(missing.isError)")
217 |
Failed frontend command:
/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /host/spi-builder-workspace/Sources/ObjCRuntimeToolboxClient/main.swift -target x86_64-unknown-linux-gnu -disable-objc-interop -I /host/spi-builder-workspace/.build/out/Products/Debug-linux-x86_64 -module-cache-path /host/spi-builder-workspace/.build/out/ModuleCache.noindex -color-diagnostics -Xcc -fcolor-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -D Xcode -serialize-debugging-options -load-plugin-executable /host/spi-builder-workspace/.build/out/Products/Debug-linux-x86_64/ObjCRuntimeToolboxMacros\#ObjCRuntimeToolboxMacros -enable-experimental-feature AvailabilityMacro\=SwiftStdlib\ 5.0:\ macOS\ 10.14.4,\ iOS\ 12.2,\ watchOS\ 5.2,\ tvOS\ 12.2 -enable-experimental-feature AvailabilityMacro\=SwiftStdlib\ 5.1:\ macOS\ 10.15,\ iOS\ 13.0,\ watchOS\ 6.0,\ tvOS\ 13.0 -enable-experimental-feature AvailabilityMacro\=SwiftStdlib\ 5.6:\ macOS\ 12.3,\ iOS\ 15.4,\ watchOS\ 8.5,\ tvOS\ 15.4 -enable-experimental-feature AvailabilityMacro\=SwiftStdlib\ 5.7:\ macOS\ 13.0,\ iOS\ 16.0,\ watchOS\ 9.0,\ tvOS\ 16.0 -enable-experimental-feature AvailabilityMacro\=SwiftStdlib\ 5.8:\ macOS\ 13.3,\ iOS\ 16.4,\ watchOS\ 9.4,\ tvOS\ 16.4 -enable-experimental-feature AvailabilityMacro\=SwiftStdlib\ 5.9:\ macOS\ 14.0,\ iOS\ 17.0,\ watchOS\ 10.0,\ tvOS\ 17.0 -enable-experimental-feature AvailabilityMacro\=SwiftStdlib\ 5.10:\ macOS\ 14.4,\ iOS\ 17.4,\ watchOS\ 10.4,\ tvOS\ 17.4,\ visionOS\ 1.1 -enable-experimental-feature AvailabilityMacro\=SwiftStdlib\ 6.0:\ macOS\ 15.0,\ iOS\ 18.0,\ watchOS\ 11.0,\ tvOS\ 18.0,\ visionOS\ 2.0 -enable-experimental-feature AvailabilityMacro\=SwiftStdlib\ 6.1:\ macOS\ 15.4,\ iOS\ 18.4,\ watchOS\ 11.4,\ tvOS\ 18.4,\ visionOS\ 2.4 -enable-experimental-feature AvailabilityMacro\=SwiftStdlib\ 6.2:\ macOS\ 26.0,\ iOS\ 26.0,\ watchOS\ 26.0,\ tvOS\ 26.0,\ visionOS\ 26.0 -enable-experimental-feature AvailabilityMacro\=SwiftStdlib\ 6.3:\ macOS\ 26.4,\ iOS\ 26.4,\ watchOS\ 26.4,\ tvOS\ 26.4,\ visionOS\ 26.4 -enable-experimental-feature AvailabilityMacro\=SwiftStdlib\ 6.4:\ macOS\ 27.0,\ iOS\ 27.0,\ watchOS\ 27.0,\ tvOS\ 27.0,\ visionOS\ 27.0 -enable-experimental-feature AvailabilityMacro\=SwiftStdlib\ 6.5:\ macOS\ 9999,\ iOS\ 9999,\ watchOS\ 9999,\ tvOS\ 9999,\ visionOS\ 9999 -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -external-plugin-path /usr/lib/swift/host/plugins/testing\#/usr/bin/swift-plugin-server -validate-clang-modules-once -clang-build-session-file /host/spi-builder-workspace/.build/out/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /host -enable-anonymous-context-mangled-names -file-compilation-dir /host -Xcc -fno-omit-frame-pointer -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/host/spi-builder-workspace/.build/out/Products/Debug-linux-x86_64/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/FrameworkToolbox.build/Debug-linux-x86_64/ObjCRuntimeToolboxClient-p.build/DerivedSources-normal/x86_64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/FrameworkToolbox.build/Debug-linux-x86_64/ObjCRuntimeToolboxClient-p.build/DerivedSources/x86_64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/FrameworkToolbox.build/Debug-linux-x86_64/ObjCRuntimeToolboxClient-p.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name ObjCRuntimeToolboxClient -package-name spi_builder_workspace -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/FrameworkToolbox.build/Debug-linux-x86_64/ObjCRuntimeToolboxClient-p.build/Objects-normal/x86_64/ObjCRuntimeToolboxClient_const_extract_protocols.json -in-process-plugin-server-path /usr/lib/swift/host/libSwiftInProcPluginServer.so -plugin-path /usr/lib/swift/host/plugins -plugin-path /usr/local/lib/swift/host/plugins -emit-module-doc-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/FrameworkToolbox.build/Debug-linux-x86_64/ObjCRuntimeToolboxClient-p.build/Objects-normal/x86_64/Modules/ObjCRuntimeToolboxClient.swiftdoc -emit-module-source-info-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/FrameworkToolbox.build/Debug-linux-x86_64/ObjCRuntimeToolboxClient-p.build/Objects-normal/x86_64/Modules/ObjCRuntimeToolboxClient.swiftsourceinfo -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/FrameworkToolbox.build/Debug-linux-x86_64/ObjCRuntimeToolboxClient-p.build/Objects-normal/x86_64/ObjCRuntimeToolboxClient-primary-emit-module.dia -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/FrameworkToolbox.build/Debug-linux-x86_64/ObjCRuntimeToolboxClient-p.build/Objects-normal/x86_64/ObjCRuntimeToolboxClient-primary-emit-module.d -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/FrameworkToolbox.build/Debug-linux-x86_64/ObjCRuntimeToolboxClient-p.build/Objects-normal/x86_64/Modules/ObjCRuntimeToolboxClient.swiftmodule
error: SwiftCompile normal x86_64 /host/spi-builder-workspace/Sources/ObjCRuntimeToolboxClient/main.swift failed with a nonzero exit code. Command line:     cd /host
    builtin-SwiftPerFileCompile main.swift
/host/spi-builder-workspace/Sources/ObjCRuntimeToolboxClient/main.swift:143:2: error: Objective-C interoperability is disabled
141 | // replaced.
142 |
143 | @objc(IconTileRuntimeClient)
    |  `- error: Objective-C interoperability is disabled
144 | final class IconTile: NSObject {
145 |     @objc dynamic var displayedIconName: NSString?
/host/spi-builder-workspace/Sources/ObjCRuntimeToolboxClient/main.swift:145:6: error: Objective-C interoperability is disabled
143 | @objc(IconTileRuntimeClient)
144 | final class IconTile: NSObject {
145 |     @objc dynamic var displayedIconName: NSString?
    |      `- error: Objective-C interoperability is disabled
146 |
147 |     @objc dynamic func setIcon(_ name: NSString?, animated: Bool) {
/host/spi-builder-workspace/Sources/ObjCRuntimeToolboxClient/main.swift:147:6: error: Objective-C interoperability is disabled
145 |     @objc dynamic var displayedIconName: NSString?
146 |
147 |     @objc dynamic func setIcon(_ name: NSString?, animated: Bool) {
    |      `- error: Objective-C interoperability is disabled
148 |         displayedIconName = name
149 |     }
/host/spi-builder-workspace/Sources/ObjCRuntimeToolboxClient/main.swift:152:2: error: unknown attribute 'RuntimeClassHook'
150 | }
151 |
152 | @RuntimeClassHook("IconTileRuntimeClient")
    |  `- error: unknown attribute 'RuntimeClassHook'
153 | struct IconTileHooks {
154 |     @RuntimeMethodReplacement
/host/spi-builder-workspace/Sources/ObjCRuntimeToolboxClient/main.swift:154:6: error: unknown attribute 'RuntimeMethodReplacement'
152 | @RuntimeClassHook("IconTileRuntimeClient")
153 | struct IconTileHooks {
154 |     @RuntimeMethodReplacement
    |      `- error: unknown attribute 'RuntimeMethodReplacement'
155 |     func setIcon(_ name: NSString?, animated: Bool) {
156 |         // `host` is the receiver; `callOriginal` goes straight to the
/host/spi-builder-workspace/Sources/ObjCRuntimeToolboxClient/main.swift:164:2: error: unknown attribute 'RuntimeClassProxy'
162 | // MARK: - Scenario 7 — @RuntimeClassProxy: calling into that same class
163 |
164 | @RuntimeClassProxy("IconTileRuntimeClient")
    |  `- error: unknown attribute 'RuntimeClassProxy'
165 | protocol IconTileSurface {
166 |     var displayedIconName: NSString? { get set }
/host/spi-builder-workspace/Sources/ObjCRuntimeToolboxClient/main.swift:178:23: error: type 'IconTileHooks' has no member 'install'
176 |
177 | do {
178 |     try IconTileHooks.install()
    |                       `- error: type 'IconTileHooks' has no member 'install'
179 |     print("  install       : ok")
180 | } catch {
/host/spi-builder-workspace/Sources/ObjCRuntimeToolboxClient/main.swift:188:33: error: type 'IconTileHooks' has no member 'descriptors'
186 |
187 | print("  derived descriptors:")
188 | for descriptor in IconTileHooks.descriptors() {
    |                                 `- error: type 'IconTileHooks' has no member 'descriptors'
189 |     print("    \(descriptor) encoding=\(descriptor.expectedTypeEncoding)")
190 | }
/host/spi-builder-workspace/Sources/ObjCRuntimeToolboxClient/main.swift:193:25: error: cannot find 'IconTileSurfaceImplementation' in scope
191 |
192 | print("== Scenario 7 — IconTileSurface (@RuntimeClassProxy) ==")
193 | print("  isSupported:", IconTileSurfaceImplementation.isSupported)
    |                         `- error: cannot find 'IconTileSurfaceImplementation' in scope
194 | if let surface = IconTileSurfaceImplementation(iconTile) {
195 |     print("  read via proxy :", surface.displayedIconName ?? "<nil>")
/host/spi-builder-workspace/Sources/ObjCRuntimeToolboxClient/main.swift:194:18: error: cannot find 'IconTileSurfaceImplementation' in scope
192 | print("== Scenario 7 — IconTileSurface (@RuntimeClassProxy) ==")
193 | print("  isSupported:", IconTileSurfaceImplementation.isSupported)
194 | if let surface = IconTileSurfaceImplementation(iconTile) {
    |                  `- error: cannot find 'IconTileSurfaceImplementation' in scope
195 |     print("  read via proxy :", surface.displayedIconName ?? "<nil>")
196 |     surface.setIcon("mail", animated: true)
/host/spi-builder-workspace/Sources/ObjCRuntimeToolboxClient/main.swift:201:47: error: cannot find 'IconTileSurfaceImplementation' in scope
199 |     print("  proxy unavailable")
200 | }
201 | print("  proxy refuses an unrelated object:", IconTileSurfaceImplementation(NSObject()) == nil)
    |                                               `- error: cannot find 'IconTileSurfaceImplementation' in scope
202 |
203 | // MARK: - Scenario 8 — DynamicObject (call a class with no header)
/host/spi-builder-workspace/Sources/ObjCRuntimeToolboxClient/main.swift:207:21: error: cannot find 'ObjC' in scope
205 | print("== Scenario 8 — DynamicObject ==")
206 |
207 | let dateFormatter = ObjC.NSDateFormatter()
    |                     `- error: cannot find 'ObjC' in scope
208 | dateFormatter.dateFormat = "yyyy-MM-dd"
209 | let formattedDate: String? = dateFormatter.stringFromDate(Date(timeIntervalSince1970: 1_600_000_000))
/host/spi-builder-workspace/Sources/ObjCRuntimeToolboxClient/main.swift:212:28: error: cannot find 'ObjC' in scope
210 | print("  formatted date : \(formattedDate ?? "<nil>")")
211 |
212 | let processorCount: Int? = ObjC.NSProcessInfo.processInfo.processorCount
    |                            `- error: cannot find 'ObjC' in scope
213 | print("  processor count: \(processorCount.map(String.init) ?? "<nil>") (native \(ProcessInfo.processInfo.processorCount))")
214 |
/host/spi-builder-workspace/Sources/ObjCRuntimeToolboxClient/main.swift:215:15: error: cannot find 'ObjC' in scope
213 | print("  processor count: \(processorCount.map(String.init) ?? "<nil>") (native \(ProcessInfo.processInfo.processorCount))")
214 |
215 | let missing = ObjC.NSDateFormatter().noSuchMethodExists()
    |               `- error: cannot find 'ObjC' in scope
216 | print("  unknown selector is an error, not a crash: \(missing.isError)")
217 |
/host/spi-builder-workspace/Sources/ObjCRuntimeToolboxClient/main.swift:158:9: error: cannot find 'callOriginal' in scope
156 |         // `host` is the receiver; `callOriginal` goes straight to the
157 |         // implementation this replacement displaced, so it cannot re-enter.
158 |         callOriginal("overridden:\(name ?? "")" as NSString, animated)
    |         `- error: cannot find 'callOriginal' in scope
159 |     }
160 | }
Failed frontend command:
/usr/bin/swift-frontend -frontend -c -primary-file /host/spi-builder-workspace/Sources/ObjCRuntimeToolboxClient/main.swift -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/FrameworkToolbox.build/Debug-linux-x86_64/ObjCRuntimeToolboxClient-p.build/Objects-normal/x86_64/main.d -emit-const-values-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/FrameworkToolbox.build/Debug-linux-x86_64/ObjCRuntimeToolboxClient-p.build/Objects-normal/x86_64/main.swiftconstvalues -emit-reference-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/FrameworkToolbox.build/Debug-linux-x86_64/ObjCRuntimeToolboxClient-p.build/Objects-normal/x86_64/main.swiftdeps -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/FrameworkToolbox.build/Debug-linux-x86_64/ObjCRuntimeToolboxClient-p.build/Objects-normal/x86_64/main.dia -target x86_64-unknown-linux-gnu -disable-objc-interop -I /host/spi-builder-workspace/.build/out/Products/Debug-linux-x86_64 -module-cache-path /host/spi-builder-workspace/.build/out/ModuleCache.noindex -color-diagnostics -Xcc -fcolor-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -D Xcode -serialize-debugging-options -load-plugin-executable /host/spi-builder-workspace/.build/out/Products/Debug-linux-x86_64/ObjCRuntimeToolboxMacros\#ObjCRuntimeToolboxMacros -enable-experimental-feature AvailabilityMacro\=SwiftStdlib\ 5.0:\ macOS\ 10.14.4,\ iOS\ 12.2,\ watchOS\ 5.2,\ tvOS\ 12.2 -enable-experimental-feature AvailabilityMacro\=SwiftStdlib\ 5.1:\ macOS\ 10.15,\ iOS\ 13.0,\ watchOS\ 6.0,\ tvOS\ 13.0 -enable-experimental-feature AvailabilityMacro\=SwiftStdlib\ 5.6:\ macOS\ 12.3,\ iOS\ 15.4,\ watchOS\ 8.5,\ tvOS\ 15.4 -enable-experimental-feature AvailabilityMacro\=SwiftStdlib\ 5.7:\ macOS\ 13.0,\ iOS\ 16.0,\ watchOS\ 9.0,\ tvOS\ 16.0 -enable-experimental-feature AvailabilityMacro\=SwiftStdlib\ 5.8:\ macOS\ 13.3,\ iOS\ 16.4,\ watchOS\ 9.4,\ tvOS\ 16.4 -enable-experimental-feature AvailabilityMacro\=SwiftStdlib\ 5.9:\ macOS\ 14.0,\ iOS\ 17.0,\ watchOS\ 10.0,\ tvOS\ 17.0 -enable-experimental-feature AvailabilityMacro\=SwiftStdlib\ 5.10:\ macOS\ 14.4,\ iOS\ 17.4,\ watchOS\ 10.4,\ tvOS\ 17.4,\ visionOS\ 1.1 -enable-experimental-feature AvailabilityMacro\=SwiftStdlib\ 6.0:\ macOS\ 15.0,\ iOS\ 18.0,\ watchOS\ 11.0,\ tvOS\ 18.0,\ visionOS\ 2.0 -enable-experimental-feature AvailabilityMacro\=SwiftStdlib\ 6.1:\ macOS\ 15.4,\ iOS\ 18.4,\ watchOS\ 11.4,\ tvOS\ 18.4,\ visionOS\ 2.4 -enable-experimental-feature AvailabilityMacro\=SwiftStdlib\ 6.2:\ macOS\ 26.0,\ iOS\ 26.0,\ watchOS\ 26.0,\ tvOS\ 26.0,\ visionOS\ 26.0 -enable-experimental-feature AvailabilityMacro\=SwiftStdlib\ 6.3:\ macOS\ 26.4,\ iOS\ 26.4,\ watchOS\ 26.4,\ tvOS\ 26.4,\ visionOS\ 26.4 -enable-experimental-feature AvailabilityMacro\=SwiftStdlib\ 6.4:\ macOS\ 27.0,\ iOS\ 27.0,\ watchOS\ 27.0,\ tvOS\ 27.0,\ visionOS\ 27.0 -enable-experimental-feature AvailabilityMacro\=SwiftStdlib\ 6.5:\ macOS\ 9999,\ iOS\ 9999,\ watchOS\ 9999,\ tvOS\ 9999,\ visionOS\ 9999 -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -external-plugin-path /usr/lib/swift/host/plugins/testing\#/usr/bin/swift-plugin-server -validate-clang-modules-once -clang-build-session-file /host/spi-builder-workspace/.build/out/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /host -enable-anonymous-context-mangled-names -file-compilation-dir /host -Xcc -fno-omit-frame-pointer -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/host/spi-builder-workspace/.build/out/Products/Debug-linux-x86_64/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/FrameworkToolbox.build/Debug-linux-x86_64/ObjCRuntimeToolboxClient-p.build/DerivedSources-normal/x86_64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/FrameworkToolbox.build/Debug-linux-x86_64/ObjCRuntimeToolboxClient-p.build/DerivedSources/x86_64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/FrameworkToolbox.build/Debug-linux-x86_64/ObjCRuntimeToolboxClient-p.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name ObjCRuntimeToolboxClient -package-name spi_builder_workspace -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/FrameworkToolbox.build/Debug-linux-x86_64/ObjCRuntimeToolboxClient-p.build/Objects-normal/x86_64/ObjCRuntimeToolboxClient_const_extract_protocols.json -in-process-plugin-server-path /usr/lib/swift/host/libSwiftInProcPluginServer.so -plugin-path /usr/lib/swift/host/plugins -plugin-path /usr/local/lib/swift/host/plugins -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/FrameworkToolbox.build/Debug-linux-x86_64/ObjCRuntimeToolboxClient-p.build/Objects-normal/x86_64/main.o -index-unit-output-path /FrameworkToolbox.build/Debug-linux-x86_64/ObjCRuntimeToolboxClient-p.build/Objects-normal/x86_64/main.o -index-store-path /host/spi-builder-workspace/.build/out -index-system-modules
error: Build failed
BUILD FAILURE 6.4 linux