The Swift Package Index logo.Swift Package Index

Build Information

Failed to build WWHUDUI, reference 1.1.1 (524694), with Swift 6.4 for macOS (SPM) on 26 Sep 2026 01:14:03 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/William-Weng/WWHUDUI.git
Reference: 1.1.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/William-Weng/WWHUDUI
 * tag               1.1.1      -> FETCH_HEAD
HEAD is now at 5246949 - 修正Loading背景全透明時,背景仍然會被按到的問題
Cloned https://github.com/William-Weng/WWHUDUI.git
Revision (git rev-parse @):
5246949d172976f99c005f986d6c5a68e5cf035a
SUCCESS checkout https://github.com/William-Weng/WWHUDUI.git at 1.1.1
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.4
Building package at path:  $PWD
https://github.com/William-Weng/WWHUDUI.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64
Building for debugging...
[Pre-planning 1 / 95]
[Planning deferred tasks]
[32 / 41]
[33 / 42] WWHUDUI
[43 / 114]
[46 / 114]
[54 / 114]
[56 / 114]
[57 / 114]
[63 / 114]
[64 / 114]
[66 / 114]
[69 / 114]
[74 / 114]
[76 / 114]
[79 / 114]
[80 / 114]
[90 / 114]
[92 / 114]
[93 / 114]
[96 / 114]
[98 / 114]
[105 / 114] WWHUDUI
error: SwiftCompile normal arm64 failed with a nonzero exit code. Command line:     cd /Users/admin/builder

/Users/admin/builder/spi-builder-workspace/Sources/WWHUDUI/WWHUDUI.swift:10:13: error: 'Observable()' is only available in macOS 14.0 or newer
 8 | import SwiftUI
 9 |
10 | @MainActor @Observable
   |             `- error: 'Observable()' is only available in macOS 14.0 or newer
11 | public final class WWHUDUI {
12 |
macro expansion @Observable:1:2: error: 'ObservationTracked()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/WWHUDUI/WWHUDUI.swift:13:5: note: expanded code originates here
 8 | import SwiftUI
 9 |
10 | @MainActor @Observable
   |            `- note: in expansion of macro 'Observable' on property 'isPresented' here
11 | public final class WWHUDUI {
   |                    `- note: add '@available' attribute to enclosing class
12 |
13 |     public private(set) var isPresented = false     // HUD 是否顯示中
   +--- macro expansion @Observable ------------------------------------
   |1 | @ObservationTracked
   |  |  `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
   +--------------------------------------------------------------------
14 |     public private(set) var title = "Loading..."    // HUD 顯示的文字
15 |
macro expansion @Observable:1:2: error: 'ObservationTracked()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/WWHUDUI/WWHUDUI.swift:14:5: note: expanded code originates here
 8 | import SwiftUI
 9 |
10 | @MainActor @Observable
   |            `- note: in expansion of macro 'Observable' on property 'title' here
11 | public final class WWHUDUI {
   |                    `- note: add '@available' attribute to enclosing class
12 |
13 |     public private(set) var isPresented = false     // HUD 是否顯示中
14 |     public private(set) var title = "Loading..."    // HUD 顯示的文字
   +--- macro expansion @Observable ------------------------------------
   |1 | @ObservationTracked
   |  |  `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
   +--------------------------------------------------------------------
15 |
16 |     private var displayDate: Date?                  // 記錄 HUD 開始顯示的時間,用來計算最短顯示時間
macro expansion @Observable:1:2: error: 'ObservationTracked()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/WWHUDUI/WWHUDUI.swift:16:5: note: expanded code originates here
 8 | import SwiftUI
 9 |
10 | @MainActor @Observable
   |            `- note: in expansion of macro 'Observable' on property 'displayDate' here
11 | public final class WWHUDUI {
   |                    `- note: add '@available' attribute to enclosing class
12 |
13 |     public private(set) var isPresented = false     // HUD 是否顯示中
14 |     public private(set) var title = "Loading..."    // HUD 顯示的文字
15 |
16 |     private var displayDate: Date?                  // 記錄 HUD 開始顯示的時間,用來計算最短顯示時間
   +--- macro expansion @Observable ------------------------------------
   |1 | @ObservationTracked
   |  |  `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
   +--------------------------------------------------------------------
17 |     private var dismissTask: Task<Void, Never>?     // 延遲隱藏 HUD 的任務 (防止短時間內重複顯示/隱藏)
18 |
macro expansion @Observable:1:2: error: 'ObservationTracked()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/WWHUDUI/WWHUDUI.swift:17:5: note: expanded code originates here
 8 | import SwiftUI
 9 |
10 | @MainActor @Observable
   |            `- note: in expansion of macro 'Observable' on property 'dismissTask' here
11 | public final class WWHUDUI {
   |                    `- note: add '@available' attribute to enclosing class
12 |
13 |     public private(set) var isPresented = false     // HUD 是否顯示中
   :
15 |
16 |     private var displayDate: Date?                  // 記錄 HUD 開始顯示的時間,用來計算最短顯示時間
17 |     private var dismissTask: Task<Void, Never>?     // 延遲隱藏 HUD 的任務 (防止短時間內重複顯示/隱藏)
   +--- macro expansion @Observable ------------------------------------
   |1 | @ObservationTracked
   |  |  `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
   +--------------------------------------------------------------------
18 |
19 |     public init() {}
macro expansion @Observable:1:2: error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/WWHUDUI/WWHUDUI.swift:20:1: note: expanded code originates here
 8 | import SwiftUI
 9 |
10 | @MainActor @Observable
   |            `- note: in expansion of macro 'Observable' on class 'WWHUDUI' here
11 | public final class WWHUDUI {
   |                    `- note: add '@available' attribute to enclosing class
12 |
13 |     public private(set) var isPresented = false     // HUD 是否顯示中
   :
18 |
19 |     public init() {}
20 | }
   +--- macro expansion @Observable ------------------------------------
   | 1 | @ObservationIgnored private let _$observationRegistrar = Observation.ObservationRegistrar()
   |   |  `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
   | 2 |
   | 3 | internal nonisolated func access<$s7WWHUDUIAA10ObservablefMm_6MemberfMu_>(
   +--------------------------------------------------------------------
21 |
22 | // MARK: - 公開API
macro expansion @ObservationTracked:1:2: error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/WWHUDUI/WWHUDUI.swift:13:48: note: expanded code originates here
 9 |
10 | @MainActor @Observable
11 | public final class WWHUDUI {
   |                    `- note: add '@available' attribute to enclosing class
12 |
13 |     public private(set) var isPresented = false     // HUD 是否顯示中
   +--- macro expansion @ObservationTracked ----------------------------
   |1 | @ObservationIgnored
   |  |  `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
   |2 | private  var _isPresented  = false     // HUD 是否顯示中     // HUD 是否顯示中     // HUD 是否顯示中
   +--------------------------------------------------------------------
14 |     public private(set) var title = "Loading..."    // HUD 顯示的文字
15 |
macro expansion @ObservationTracked:1:2: error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/WWHUDUI/WWHUDUI.swift:14:49: note: expanded code originates here
 9 |
10 | @MainActor @Observable
11 | public final class WWHUDUI {
   |                    `- note: add '@available' attribute to enclosing class
12 |
13 |     public private(set) var isPresented = false     // HUD 是否顯示中
14 |     public private(set) var title = "Loading..."    // HUD 顯示的文字
   +--- macro expansion @ObservationTracked ----------------------------
   |1 | @ObservationIgnored
   |  |  `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
   |2 | private  var _title  = "Loading..."    // HUD 顯示的文字    // HUD 顯示的文字    // HUD 顯示的文字
   +--------------------------------------------------------------------
15 |
16 |     private var displayDate: Date?                  // 記錄 HUD 開始顯示的時間,用來計算最短顯示時間
macro expansion @ObservationTracked:1:2: error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/WWHUDUI/WWHUDUI.swift:16:35: note: expanded code originates here
 9 |
10 | @MainActor @Observable
11 | public final class WWHUDUI {
   |                    `- note: add '@available' attribute to enclosing class
12 |
13 |     public private(set) var isPresented = false     // HUD 是否顯示中
14 |     public private(set) var title = "Loading..."    // HUD 顯示的文字
15 |
16 |     private var displayDate: Date?                  // 記錄 HUD 開始顯示的時間,用來計算最短顯示時間
   +--- macro expansion @ObservationTracked ----------------------------
   |1 | @ObservationIgnored
   |  |  `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
   |2 | private  var _displayDate: Date?                  // 記錄 HUD 開始顯示的時間,用來計算最短顯示時間                  // 記錄 HUD 開始顯示的時間,用來計算最短顯示時間                  // 記錄 HUD 開始顯示的時間,用來計算最短顯示時間
   +--------------------------------------------------------------------
17 |     private var dismissTask: Task<Void, Never>?     // 延遲隱藏 HUD 的任務 (防止短時間內重複顯示/隱藏)
18 |
macro expansion @ObservationTracked:1:2: error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/WWHUDUI/WWHUDUI.swift:17:48: note: expanded code originates here
 9 |
10 | @MainActor @Observable
11 | public final class WWHUDUI {
   |                    `- note: add '@available' attribute to enclosing class
12 |
13 |     public private(set) var isPresented = false     // HUD 是否顯示中
   :
15 |
16 |     private var displayDate: Date?                  // 記錄 HUD 開始顯示的時間,用來計算最短顯示時間
17 |     private var dismissTask: Task<Void, Never>?     // 延遲隱藏 HUD 的任務 (防止短時間內重複顯示/隱藏)
   +--- macro expansion @ObservationTracked ----------------------------
   |1 | @ObservationIgnored
   |  |  `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
   |2 | private  var _dismissTask: Task<Void, Never>?     // 延遲隱藏 HUD 的任務 (防止短時間內重複顯示/隱藏)     // 延遲隱藏 HUD 的任務 (防止短時間內重複顯示/隱藏)     // 延遲隱藏 HUD 的任務 (防止短時間內重複顯示/隱藏)
   +--------------------------------------------------------------------
18 |
19 |     public init() {}
macro expansion @Observable:1:70: error: 'ObservationRegistrar' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/WWHUDUI/WWHUDUI.swift:20:1: note: expanded code originates here
 8 | import SwiftUI
 9 |
10 | @MainActor @Observable
   |            `- note: in expansion of macro 'Observable' on class 'WWHUDUI' here
11 | public final class WWHUDUI {
   |                    `- note: add '@available' attribute to enclosing class
12 |
13 |     public private(set) var isPresented = false     // HUD 是否顯示中
   :
18 |
19 |     public init() {}
20 | }
   +--- macro expansion @Observable ------------------------------------
   | 1 | @ObservationIgnored private let _$observationRegistrar = Observation.ObservationRegistrar()
   |   |                                                                      `- error: 'ObservationRegistrar' is only available in macOS 14.0 or newer
   | 2 |
   | 3 | internal nonisolated func access<$s7WWHUDUIAA10ObservablefMm_6MemberfMu_>(
   +--------------------------------------------------------------------
21 |
22 | // MARK: - 公開API
/Users/admin/builder/spi-builder-workspace/Sources/WWHUDUI/WWHUDUI.swift:10:13: error: 'Observable()' is only available in macOS 14.0 or newer
 8 | import SwiftUI
 9 |
10 | @MainActor @Observable
   |             `- error: 'Observable()' is only available in macOS 14.0 or newer
11 | public final class WWHUDUI {
   |                    `- note: add '@available' attribute to enclosing class
12 |
13 |     public private(set) var isPresented = false     // HUD 是否顯示中
Failed frontend command:
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/WWHUDUI.build/Debug/WWHUDUI-t.build/DerivedSources/resource_bundle_accessor.swift /Users/admin/builder/spi-builder-workspace/Sources/WWHUDUI/Modifier/LoadingModifier.swift /Users/admin/builder/spi-builder-workspace/Sources/WWHUDUI/Modifier/ToastModifier.swift /Users/admin/builder/spi-builder-workspace/Sources/WWHUDUI/Utility/Extension.swift /Users/admin/builder/spi-builder-workspace/Sources/WWHUDUI/WWHUDUI.swift -target arm64-apple-macos12.0 -disable-cross-import-overlay-search -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libFoundationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server\#FoundationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libObservationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server\#ObservationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libPreviewsMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server\#PreviewsMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libSwiftMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server\#SwiftMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libSwiftUIMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server\#SwiftUIMacros -disable-implicit-swift-modules -Xcc -fno-implicit-modules -Xcc -fno-implicit-module-maps -explicit-swift-module-map-file /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/WWHUDUI.build/Debug/WWHUDUI-t.build/Objects-normal/arm64/WWHUDUI-dependencies-1.json -Xllvm -aarch64-use-tbi -enable-objc-interop -stack-check -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk -I /Users/admin/builder/spi-builder-workspace/.build/out/Products/Debug -Isystem /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/Products/Debug -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks -module-cache-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftExplicitPrecompiledModules -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 SWIFT_MODULE_RESOURCE_BUNDLE_AVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.build/out/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.build/out/SDKStatCaches.noindex/macosx27.0-26A425-80c5bbf1d171475443272936d42f90a36a22442a12e9d48fe1a705f55a1adfc4.sdkstatcache -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/out/Products/Debug/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/WWHUDUI.build/Debug/WWHUDUI-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/WWHUDUI.build/Debug/WWHUDUI-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/WWHUDUI.build/Debug/WWHUDUI-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name WWHUDUI -package-name spi_builder_workspace -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/WWHUDUI.build/Debug/WWHUDUI-t.build/Objects-normal/arm64/WWHUDUI_const_extract_protocols.json -disable-clang-spi -clang-target arm64-apple-macos27.0 -target-sdk-version 27.0 -target-sdk-name macosx27.0 -in-process-plugin-server-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/libSwiftInProcPluginServer.dylib -emit-module-doc-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/WWHUDUI.build/Debug/WWHUDUI-t.build/Objects-normal/arm64/WWHUDUI.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/WWHUDUI.build/Debug/WWHUDUI-t.build/Objects-normal/arm64/WWHUDUI.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/WWHUDUI.build/Debug/WWHUDUI-t.build/Objects-normal/arm64/WWHUDUI-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/WWHUDUI.build/Debug/WWHUDUI-t.build/Objects-normal/arm64/WWHUDUI-primary-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/WWHUDUI.build/Debug/WWHUDUI-t.build/Objects-normal/arm64/WWHUDUI-primary-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/WWHUDUI.build/Debug/WWHUDUI-t.build/Objects-normal/arm64/WWHUDUI.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/WWHUDUI.build/Debug/WWHUDUI-t.build/Objects-normal/arm64/WWHUDUI.abi.json
error: Build failed
BUILD FAILURE 6.4 macosSpm