The Swift Package Index logo.Swift Package Index

Build Information

Failed to build HotReloading, reference main (f3a785), with Swift 6.4 for macOS (SPM) on 22 Sep 2026 08:29:53 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/johnno1962/HotReloading.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/johnno1962/HotReloading
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at f3a7854 Re-re-work.
Cloned https://github.com/johnno1962/HotReloading.git
Revision (git rev-parse @):
f3a785427fe5b0da5f15157f19e03f69b19d4044
SUCCESS checkout https://github.com/johnno1962/HotReloading.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.4
Building package at path:  $PWD
https://github.com/johnno1962/HotReloading.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64
Building for debugging...
[Computing dependencies]
[Pre-planning 1 / 634]
[Planning deferred tasks]
[102 / 218]
[116 / 221] SwiftTraceGutsD
[117 / 221] XprobeSweep
[119 / 221] XprobeSweep
[122 / 249] HotReloadingGuts
[123 / 316] SwiftTraceD
[127 / 369]
[133 / 422]
[139 / 422]
[141 / 422]
[143 / 422]
[145 / 422]
[155 / 422]
[175 / 422]
[187 / 422] RemoteCapture
[196 / 422]
[205 / 422]
[210 / 422] HotReloadingGuts
[215 / 422]
[224 / 472]
[240 / 472] DLKitCD
[253 / 472]
[265 / 472]
[274 / 472]
[280 / 472]
[289 / 472]
[295 / 472]
[300 / 472]
[309 / 472]
[312 / 472]
[326 / 472] injectiondGuts-product
[328 / 472]
[332 / 472]
[346 / 472]
[353 / 472]
[358 / 472] SwiftRegex
[367 / 472]
[370 / 472]
[375 / 472]
[382 / 472]
[385 / 472]
[387 / 472]
[397 / 472] SwiftTraceD
[398 / 472] RemoteMovie
[400 / 472] SwiftTraceD
[421 / 474]
[425 / 474] SwiftRegex-product
[426 / 474] SwiftRegex-product
[435 / 501]
[440 / 501]
[444 / 501] RemoteUI
[456 / 501]
[456 / 501] ProfileSwiftUI
[459 / 504]
[465 / 504] injectiond-product
[475 / 504] injectiond-product
[476 / 504] injectiond-product
[478 / 504] injectiond-product
[485 / 505]
[487 / 505]
[487 / 505] injectiond-product
[487 / 505] SwiftTraceD-product
[491 / 505] HotReloading
[502 / 518] HotReloading
[503 / 518] injectiond-product
[507 / 518]
[507 / 518] HotReloading
Fetching https://github.com/johnno1962/ProfileSwiftUI
Fetching https://github.com/johnno1962/SwiftTrace
Fetching https://github.com/johnno1962/SwiftRegex5
Fetching https://github.com/johnno1962/Remote
Fetching https://github.com/johnno1962/XprobePlugin
[1/74] Fetching profileswiftui
[15/2047] Fetching profileswiftui, xprobeplugin
[42/2276] Fetching profileswiftui, xprobeplugin, swiftregex5
[49/4419] Fetching profileswiftui, xprobeplugin, swiftregex5, swifttrace
Fetched https://github.com/johnno1962/ProfileSwiftUI (0.82s)
[222/4345] Fetching xprobeplugin, swiftregex5, swifttrace
[1884/5255] Fetching xprobeplugin, swiftregex5, swifttrace, remote
Fetched https://github.com/johnno1962/XprobePlugin (1.51s)
Fetched https://github.com/johnno1962/SwiftTrace (1.51s)
Fetched https://github.com/johnno1962/Remote (1.51s)
Fetched https://github.com/johnno1962/SwiftRegex5 (1.51s)
Computing version for https://github.com/johnno1962/ProfileSwiftUI
Computed https://github.com/johnno1962/ProfileSwiftUI at 1.1.3 (2.18s)
Fetching https://github.com/johnno1962/DLKit
[1/543] Fetching dlkit
Fetched https://github.com/johnno1962/DLKit (0.90s)
Computing version for https://github.com/johnno1962/Remote
Computed https://github.com/johnno1962/Remote at 2.3.5 (1.58s)
Computing version for https://github.com/johnno1962/XprobePlugin
Computed https://github.com/johnno1962/XprobePlugin at 2.9.10 (0.63s)
Computing version for https://github.com/johnno1962/SwiftTrace
Computed https://github.com/johnno1962/SwiftTrace at 8.6.1 (0.63s)
Computing version for https://github.com/johnno1962/SwiftRegex5
Computed https://github.com/johnno1962/SwiftRegex5 at 6.1.3 (0.63s)
Computing version for https://github.com/johnno1962/DLKit
Computed https://github.com/johnno1962/DLKit at 3.6.0 (0.62s)
Fetching https://github.com/johnno1962/fishhook
[1/173] Fetching fishhook
Fetched https://github.com/johnno1962/fishhook (0.84s)
Computing version for https://github.com/johnno1962/fishhook
Computed https://github.com/johnno1962/fishhook at 1.2.2 (1.50s)
Creating working copy for https://github.com/johnno1962/Remote
Working copy of https://github.com/johnno1962/Remote resolved at 2.3.5
Creating working copy for https://github.com/johnno1962/SwiftTrace
Working copy of https://github.com/johnno1962/SwiftTrace resolved at 8.6.1
Creating working copy for https://github.com/johnno1962/ProfileSwiftUI
Working copy of https://github.com/johnno1962/ProfileSwiftUI resolved at 1.1.3
Creating working copy for https://github.com/johnno1962/SwiftRegex5
Working copy of https://github.com/johnno1962/SwiftRegex5 resolved at 6.1.3
Creating working copy for https://github.com/johnno1962/fishhook
Working copy of https://github.com/johnno1962/fishhook resolved at 1.2.2
Creating working copy for https://github.com/johnno1962/DLKit
Working copy of https://github.com/johnno1962/DLKit resolved at 3.6.0
Creating working copy for https://github.com/johnno1962/XprobePlugin
Working copy of https://github.com/johnno1962/XprobePlugin resolved at 2.9.10
/Users/admin/builder/spi-builder-workspace/Sources/injectiond/Experimental.swift:274:36: warning: will never be executed
272 |                 edited += 1
273 |             }
274 |             let s = changes == 1 ? "" : "s"
    |                             |      `- warning: will never be executed
    |                             `- note: condition always evaluates to false
275 |             InjectionServer.error("\(changes) automatic edit\(s) made to \(edited) files")
276 |         }
/Users/admin/builder/spi-builder-workspace/Sources/injectiond/AppDelegate.swift:145:20: warning: 'highlightMode' was deprecated in macOS 10.14: Use the receiver's button.cell.highlightsBy instead [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
143 |         let statusBar = NSStatusBar.system
144 |         statusItem = statusBar.statusItem(withLength: statusBar.thickness)
145 |         statusItem.highlightMode = true
    |                    `- warning: 'highlightMode' was deprecated in macOS 10.14: Use the receiver's button.cell.highlightsBy instead [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
146 |         statusItem.menu = statusMenu
147 |         statusItem.isEnabled = true
/Users/admin/builder/spi-builder-workspace/Sources/injectiond/AppDelegate.swift:147:20: warning: 'isEnabled' was deprecated in macOS 10.14: Use the receiver's button.enabled instead [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
145 |         statusItem.highlightMode = true
146 |         statusItem.menu = statusMenu
147 |         statusItem.isEnabled = true
    |                    `- warning: 'isEnabled' was deprecated in macOS 10.14: Use the receiver's button.enabled instead [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
148 |         statusItem.title = ""
149 |
/Users/admin/builder/spi-builder-workspace/Sources/injectiond/AppDelegate.swift:148:20: warning: 'title' was deprecated in macOS 10.14: Use the receiver's button.title instead [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
146 |         statusItem.menu = statusMenu
147 |         statusItem.isEnabled = true
148 |         statusItem.title = ""
    |                    `- warning: 'title' was deprecated in macOS 10.14: Use the receiver's button.title instead [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
149 |
150 |         if isSandboxed {
/Users/admin/builder/spi-builder-workspace/Sources/injectiond/AppDelegate.swift:268:20: warning: 'title' was deprecated in macOS 10.14: Use the receiver's button.title instead [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
266 |         }
267 |         #endif
268 |         statusItem.title = appName
    |                    `- warning: 'title' was deprecated in macOS 10.14: Use the receiver's button.title instead [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
269 |         if let quit = statusMenu.item(at: statusMenu.items.count-1) {
270 |             quit.title = "Quit "+appName
/Users/admin/builder/spi-builder-workspace/Sources/injectiond/AppDelegate.swift:455:33: warning: 'image' was deprecated in macOS 10.14: Use the receiver's button.image instead [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
453 |                 let image = NSImage(contentsOfFile: path) {
454 |     //            image.template = TRUE;
455 |                 self.statusItem.image = image
    |                                 `- warning: 'image' was deprecated in macOS 10.14: Use the receiver's button.image instead [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
456 |                 self.statusItem.alternateImage = self.statusItem.image
457 |                 let appRunning = tiffName != "InjectionIdle"
/Users/admin/builder/spi-builder-workspace/Sources/injectiond/AppDelegate.swift:456:33: warning: 'alternateImage' was deprecated in macOS 10.14: Use the receiver's button.alternateImage instead [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
454 |     //            image.template = TRUE;
455 |                 self.statusItem.image = image
456 |                 self.statusItem.alternateImage = self.statusItem.image
    |                                 `- warning: 'alternateImage' was deprecated in macOS 10.14: Use the receiver's button.alternateImage instead [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
457 |                 let appRunning = tiffName != "InjectionIdle"
458 |                 self.startItem.isEnabled = appRunning
/Users/admin/builder/spi-builder-workspace/Sources/injectiond/AppDelegate.swift:456:66: warning: 'image' was deprecated in macOS 10.14: Use the receiver's button.image instead [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
454 |     //            image.template = TRUE;
455 |                 self.statusItem.image = image
456 |                 self.statusItem.alternateImage = self.statusItem.image
    |                                                                  `- warning: 'image' was deprecated in macOS 10.14: Use the receiver's button.image instead [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
457 |                 let appRunning = tiffName != "InjectionIdle"
458 |                 self.startItem.isEnabled = appRunning
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
/Users/admin/builder/spi-builder-workspace/Sources/HotReloading/Vaccine.swift:34:17: warning: 'defer' statement at end of scope always executes immediately; replace with 'do' statement to silence this warning
 32 |                 CATransaction.setAnimationDuration(1.0)
 33 |                 CATransaction.setAnimationTimingFunction(CAMediaTimingFunction(name: CAMediaTimingFunctionName.easeInEaseOut))
 34 |                 defer { CATransaction.commit() }
    |                 `- warning: 'defer' statement at end of scope always executes immediately; replace with 'do' statement to silence this warning
 35 |             }
 36 |
/Users/admin/builder/spi-builder-workspace/Sources/HotReloading/SwiftSweeper.swift:125:38: warning: conditional cast from 'Any' to 'AnyObject' always succeeds
123 |         /// Fixes a potential crash that the value is not accessible during injection.
124 | //        print(value)
125 |         guard !containsType && value as? AnyObject != nil else { return }
    |                                      `- warning: conditional cast from 'Any' to 'AnyObject' always succeeds
126 |
127 |         let mirror = Mirror(reflecting: value)
/Users/admin/builder/spi-builder-workspace/Sources/HotReloading/SwiftSweeper.swift:132:13: warning: switch must be exhaustive
130 |                 style = .optional
131 |             }
132 |             switch style {
    |             |- warning: switch must be exhaustive
    |             `- note: add missing case: '.foreignReference'
133 |             case .set, .collection:
134 |                 let containsType = _typeName(type(of: value)).contains(".Type")
/Users/admin/builder/spi-builder-workspace/Sources/HotReloading/SwiftSweeper.swift:125:38: warning: conditional cast from 'Any' to 'AnyObject' always succeeds
123 |         /// Fixes a potential crash that the value is not accessible during injection.
124 | //        print(value)
125 |         guard !containsType && value as? AnyObject != nil else { return }
    |                                      `- warning: conditional cast from 'Any' to 'AnyObject' always succeeds
126 |
127 |         let mirror = Mirror(reflecting: value)
/Users/admin/builder/spi-builder-workspace/Sources/HotReloading/SwiftSweeper.swift:132:13: warning: switch must be exhaustive
130 |                 style = .optional
131 |             }
132 |             switch style {
    |             |- warning: switch must be exhaustive
    |             `- note: add missing case: '.foreignReference'
133 |             case .set, .collection:
134 |                 let containsType = _typeName(type(of: value)).contains(".Type")
/Users/admin/builder/spi-builder-workspace/Package.swift: injectiond-product: ld: warning: Could not find or use auto-linked framework 'CoreAudioTypes': framework 'CoreAudioTypes' not found
/Users/admin/builder/spi-builder-workspace/Package.swift: injectiond-product: ld: warning: Could not parse or use implicit file '/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SwiftUICore.framework/Versions/A/SwiftUICore.tbd': cannot link directly with 'SwiftUICore' because product being built is not an allowed client of it
Undefined symbols for architecture arm64:
  "_OBJC_IVAR_$_RemoteCapture.buffend", referenced from:
      -[RemoteCapture(Recover) recover:against:] in RemoteUI.o
      -[RemoteCapture(Recover) recover:against:] in RemoteUI.o
  "_OBJC_IVAR_$_RemoteCapture.buffer", referenced from:
      -[RemoteCapture(Recover) recover:against:] in RemoteUI.o
  "_OBJC_IVAR_$_RemoteCapture.cg", referenced from:
      -[RMDeviceController snapshot:withFormat:] in RemoteUI.o
      -[RMDeviceController recoverImage:] in RemoteUI.o
ld: symbol(s) not found for architecture arm64
/Users/admin/builder/spi-builder-workspace/Package.swift: injectiond-product: clang: error: linker command failed with exit code 1 (use -v to see invocation)
error: Ld /Users/admin/builder/spi-builder-workspace/.build/out/Products/Debug/injectiond normal failed with a nonzero exit code. Command line:     cd /Users/admin/builder/spi-builder-workspace
    /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -Xlinker -reproducible -target arm64-apple-macos12.0 -emit-executable -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk -Xlinker -no_warn_duplicate_libraries -L/Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/EagerLinkingTBDs/Debug -L/Users/admin/builder/spi-builder-workspace/.build/out/Products/Debug -L/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib -F/Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/EagerLinkingTBDs/Debug -F/Users/admin/builder/spi-builder-workspace/.build/out/Products/Debug/PackageFrameworks -F/Users/admin/builder/spi-builder-workspace/.build/out/Products/Debug -Fsystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks @/Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/HotReloading.build/Debug/injectiond-p.build/Objects-normal/arm64/injectiond.LinkFileList -Xlinker -rpath -Xlinker /usr/lib/swift -Xlinker -rpath -Xlinker @loader_path -Xlinker -rpath -Xlinker /Users/admin/builder/spi-builder-workspace/.build/out/Products/Debug/PackageFrameworks -Xlinker -rpath -Xlinker /var/run/com.apple.security.cryptexd/mnt/com.apple.MobileAsset.MetalToolchain-v27.1.266.1.xNDLE6/Metal.xctoolchain/usr/lib/swift-6.2/macosx -Xlinker -rpath -Xlinker /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift-6.2/macosx -Xlinker -dead_strip -Xlinker -object_path_lto -Xlinker /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/HotReloading.build/Debug/injectiond-p.build/Objects-normal/arm64/injectiond_lto.o -Xclang-linker -rdynamic -Xlinker -no_deduplicate -Xlinker -dependency_info -Xlinker /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/HotReloading.build/Debug/injectiond-p.build/Objects-normal/arm64/injectiond_dependency_info.dat -link-objc-runtime -L/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx -L/usr/lib/swift -Xlinker -add_ast_path -Xlinker /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/HotReloading.build/Debug/injectiond-p.build/Objects-normal/arm64/injectiond.swiftmodule -lc++ -Xlinker -no_adhoc_codesign -o /Users/admin/builder/spi-builder-workspace/.build/out/Products/Debug/injectiond -no-stdlib-rpath
error: Build failed
BUILD FAILURE 6.4 macosSpm