The Swift Package Index logo.Swift Package Index

Build Information

Failed to build WWWheelPickerViewUI, reference main (d2fd3f), with Swift 6.4 for macOS (SPM) on 26 Sep 2026 21:08:49 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/WWWheelPickerViewUI.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/William-Weng/WWWheelPickerViewUI
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at d2fd3fe - Update ReadMe
Cloned https://github.com/William-Weng/WWWheelPickerViewUI.git
Revision (git rev-parse @):
d2fd3fedc9385b37f7636528e1300c50cbd2ed17
SUCCESS checkout https://github.com/William-Weng/WWWheelPickerViewUI.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.4
Building package at path:  $PWD
https://github.com/William-Weng/WWWheelPickerViewUI.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] WWWheelPickerViewUI_WWWheelPickerViewUI
[32 / 41]
[33 / 42] WWWheelPickerViewUI
[43 / 113]
[46 / 113]
[54 / 113]
[56 / 113]
[57 / 113]
[62 / 113]
[64 / 113]
[66 / 113]
[69 / 113]
[74 / 113]
[77 / 113]
[79 / 113]
[80 / 113]
[90 / 113]
[92 / 113]
[93 / 113]
[96 / 113]
[98 / 113]
[104 / 113] WWWheelPickerViewUI
error: SwiftCompile normal arm64 failed with a nonzero exit code. Command line:     cd /Users/admin/builder

/Users/admin/builder/spi-builder-workspace/Sources/WWWheelPickerViewUI/WWWheelPickerViewUI.swift:25:35: error: 'ScrollPhase' is only available in macOS 15.0 or newer
 15 | /// - 滑動停止後,自動吸附到最近的刻度
 16 | /// - 中央固定顯示指示線,作為對齊基準
 17 | public struct WWWheelPickerViewUI<Value: Hashable>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
 18 |
 19 |     @Binding private var selectedIndex: Int
    :
 23 |
 24 |     @State private var offset: CGFloat = 0              // 目前 ScrollView 的位移量
 25 |     @State private var lastPhase: ScrollPhase = .idle   // 記錄最近一次的捲動狀態
    |                        |          `- error: 'ScrollPhase' is only available in macOS 15.0 or newer
    |                        `- note: add '@available' attribute to enclosing property
 26 |
 27 |     private let items: [WWWheelPickerItem<Value>]
macro expansion @State:2:24: error: 'ScrollPhase' is only available in macOS 15.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/WWWheelPickerViewUI/WWWheelPickerViewUI.swift:25:54: note: expanded code originates here
 15 | /// - 滑動停止後,自動吸附到最近的刻度
 16 | /// - 中央固定顯示指示線,作為對齊基準
 17 | public struct WWWheelPickerViewUI<Value: Hashable>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
 18 |
 19 |     @Binding private var selectedIndex: Int
    :
 23 |
 24 |     @State private var offset: CGFloat = 0              // 目前 ScrollView 的位移量
 25 |     @State private var lastPhase: ScrollPhase = .idle   // 記錄最近一次的捲動狀態
    |     `- note: in expansion of macro 'State' on property 'lastPhase' here
    +--- macro expansion @State ----------------------------------------
    | 1 | private var __lastPhase = SwiftUICore.State._makeStorage(({
    | 2 |             let value: ScrollPhase = .idle
    |   |                        `- error: 'ScrollPhase' is only available in macOS 15.0 or newer
    | 3 |             return value
    | 4 |         }))
    +-------------------------------------------------------------------
 26 |
 27 |     private let items: [WWWheelPickerItem<Value>]
macro expansion @State:8:27: error: 'ScrollPhase' is only available in macOS 15.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/WWWheelPickerViewUI/WWWheelPickerViewUI.swift:25:54: note: expanded code originates here
 15 | /// - 滑動停止後,自動吸附到最近的刻度
 16 | /// - 中央固定顯示指示線,作為對齊基準
 17 | public struct WWWheelPickerViewUI<Value: Hashable>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
 18 |
 19 |     @Binding private var selectedIndex: Int
    :
 23 |
 24 |     @State private var offset: CGFloat = 0              // 目前 ScrollView 的位移量
 25 |     @State private var lastPhase: ScrollPhase = .idle   // 記錄最近一次的捲動狀態
    |     `- note: in expansion of macro 'State' on property 'lastPhase' here
    +--- macro expansion @State ----------------------------------------
    | 6 | @SwiftUICore._StatePropertyWrapperStorage(initialValue: "JHMxOVdXV2hlZWxQaWNrZXJWaWV3VUlBQVY5bGFzdFBoYXNlMzNfMEQ5N0M2NDVGQ0M3MEMzRTQwODNBQkYxOTgxM0FEOTVMTDVTdGF0ZWZNcF8yMF9pbml0aWFsU3RvcmVkVmFsdWVfZk11Xw==")
    | 7 | private var _lastPhase: SwiftUICore.State<_>! = SwiftUICore._stateNil(of: {
    | 8 |         SwiftUICore.State<ScrollPhase>(initialValue: .idle)
    |   |                           `- error: 'ScrollPhase' is only available in macOS 15.0 or newer
    | 9 |     })
    |10 |
    +-------------------------------------------------------------------
 26 |
 27 |     private let items: [WWWheelPickerItem<Value>]
macro expansion @State:12:44: error: 'ScrollPhase' is only available in macOS 15.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/WWWheelPickerViewUI/WWWheelPickerViewUI.swift:25:54: note: expanded code originates here
 15 | /// - 滑動停止後,自動吸附到最近的刻度
 16 | /// - 中央固定顯示指示線,作為對齊基準
 17 | public struct WWWheelPickerViewUI<Value: Hashable>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
 18 |
 19 |     @Binding private var selectedIndex: Int
    :
 23 |
 24 |     @State private var offset: CGFloat = 0              // 目前 ScrollView 的位移量
 25 |     @State private var lastPhase: ScrollPhase = .idle   // 記錄最近一次的捲動狀態
    |     `- note: in expansion of macro 'State' on property 'lastPhase' here
    +--- macro expansion @State ----------------------------------------
    |10 |
    |11 | @SwiftUICore._StateProjectedValue
    |12 | private var $lastPhase = SwiftUICore.State<ScrollPhase>(initialValue: .idle).projectedValue
    |   |                                            `- error: 'ScrollPhase' is only available in macOS 15.0 or newer
    |13 |
    |14 | @SwiftUICore._StateInitialStoredValue("U3dpZnRVSUNvcmUuU3RhdGUuX21ha2VTdG9yYWdlKCh7IGxldCB2YWx1ZTogU2Nyb2xsUGhhc2UgPSAuaWRsZQpyZXR1cm4gdmFsdWUgfSkp")
    +-------------------------------------------------------------------
 26 |
 27 |     private let items: [WWWheelPickerItem<Value>]
macro expansion @State:16:20: error: 'ScrollPhase' is only available in macOS 15.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/WWWheelPickerViewUI/WWWheelPickerViewUI.swift:25:54: note: expanded code originates here
 15 | /// - 滑動停止後,自動吸附到最近的刻度
 16 | /// - 中央固定顯示指示線,作為對齊基準
 17 | public struct WWWheelPickerViewUI<Value: Hashable>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
 18 |
 19 |     @Binding private var selectedIndex: Int
    :
 23 |
 24 |     @State private var offset: CGFloat = 0              // 目前 ScrollView 的位移量
 25 |     @State private var lastPhase: ScrollPhase = .idle   // 記錄最近一次的捲動狀態
    |     `- note: in expansion of macro 'State' on property 'lastPhase' here
    +--- macro expansion @State ----------------------------------------
    |14 | @SwiftUICore._StateInitialStoredValue("U3dpZnRVSUNvcmUuU3RhdGUuX21ha2VTdG9yYWdlKCh7IGxldCB2YWx1ZTogU2Nyb2xsUGhhc2UgPSAuaWRsZQpyZXR1cm4gdmFsdWUgfSkp")
    |15 | private static var $s19WWWheelPickerViewUIAAV9lastPhase33_0D97C645FCC70C3E4083ABF19813AD95LL5StatefMp_20_initialStoredValue_fMu_ = (SwiftUICore.State._makeStorage(initialValue: {
    |16 |             let x: ScrollPhase = .idle
    |   |                    `- error: 'ScrollPhase' is only available in macOS 15.0 or newer
    |17 |             return x
    |18 |         }()))
    +-------------------------------------------------------------------
 26 |
 27 |     private let items: [WWWheelPickerItem<Value>]
/Users/admin/builder/spi-builder-workspace/Sources/WWWheelPickerViewUI/WWWheelPickerViewUI.swift:292:43: error: 'ScrollGeometry' is only available in macOS 15.0 or newer
287 |
288 | // MARK: - Private API
289 | private extension WWWheelPickerViewUI {
    |         `- note: add '@available' attribute to enclosing extension
290 |
291 |     /// 取得目前 ScrollView 在指定軸向上的位移量
292 |     func scrollGeometryOffset(_ geometry: ScrollGeometry) -> CGFloat {
    |          |                                `- error: 'ScrollGeometry' is only available in macOS 15.0 or newer
    |          `- note: add '@available' attribute to enclosing instance method
293 |
294 |         switch scrollAxis {
/Users/admin/builder/spi-builder-workspace/Sources/WWWheelPickerViewUI/WWWheelPickerViewUI.swift:336:46: error: 'ScrollPhase' is only available in macOS 15.0 or newer
287 |
288 | // MARK: - Private API
289 | private extension WWWheelPickerViewUI {
    |         `- note: add '@available' attribute to enclosing extension
290 |
291 |     /// 取得目前 ScrollView 在指定軸向上的位移量
    :
334 |
335 |     /// 滑動停止後,自動吸附到最近刻度
336 |     func scrollPhaseChangeAction(_ oldPhase: ScrollPhase, _ newPhase: ScrollPhase, by scrollProxy: ScrollViewProxy, insets: EdgeInsets) {
    |          |                                   `- error: 'ScrollPhase' is only available in macOS 15.0 or newer
    |          `- note: add '@available' attribute to enclosing instance method
337 |
338 |         lastPhase = newPhase
/Users/admin/builder/spi-builder-workspace/Sources/WWWheelPickerViewUI/WWWheelPickerViewUI.swift:336:71: error: 'ScrollPhase' is only available in macOS 15.0 or newer
287 |
288 | // MARK: - Private API
289 | private extension WWWheelPickerViewUI {
    |         `- note: add '@available' attribute to enclosing extension
290 |
291 |     /// 取得目前 ScrollView 在指定軸向上的位移量
    :
334 |
335 |     /// 滑動停止後,自動吸附到最近刻度
336 |     func scrollPhaseChangeAction(_ oldPhase: ScrollPhase, _ newPhase: ScrollPhase, by scrollProxy: ScrollViewProxy, insets: EdgeInsets) {
    |          |                                                            `- error: 'ScrollPhase' is only available in macOS 15.0 or newer
    |          `- note: add '@available' attribute to enclosing instance method
337 |
338 |         lastPhase = newPhase
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/WWWheelPickerViewUI.build/Debug/WWWheelPickerViewUI-t.build/DerivedSources/resource_bundle_accessor.swift /Users/admin/builder/spi-builder-workspace/Sources/WWWheelPickerViewUI/Model/Constant.swift /Users/admin/builder/spi-builder-workspace/Sources/WWWheelPickerViewUI/Model/Model.swift /Users/admin/builder/spi-builder-workspace/Sources/WWWheelPickerViewUI/WWWheelPickerViewUI.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/WWWheelPickerViewUI.build/Debug/WWWheelPickerViewUI-t.build/Objects-normal/arm64/WWWheelPickerViewUI-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/WWWheelPickerViewUI.build/Debug/WWWheelPickerViewUI-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/WWWheelPickerViewUI.build/Debug/WWWheelPickerViewUI-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/WWWheelPickerViewUI.build/Debug/WWWheelPickerViewUI-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name WWWheelPickerViewUI -package-name spi_builder_workspace -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/WWWheelPickerViewUI.build/Debug/WWWheelPickerViewUI-t.build/Objects-normal/arm64/WWWheelPickerViewUI_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/WWWheelPickerViewUI.build/Debug/WWWheelPickerViewUI-t.build/Objects-normal/arm64/WWWheelPickerViewUI.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/WWWheelPickerViewUI.build/Debug/WWWheelPickerViewUI-t.build/Objects-normal/arm64/WWWheelPickerViewUI.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/WWWheelPickerViewUI.build/Debug/WWWheelPickerViewUI-t.build/Objects-normal/arm64/WWWheelPickerViewUI-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/WWWheelPickerViewUI.build/Debug/WWWheelPickerViewUI-t.build/Objects-normal/arm64/WWWheelPickerViewUI-primary-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/WWWheelPickerViewUI.build/Debug/WWWheelPickerViewUI-t.build/Objects-normal/arm64/WWWheelPickerViewUI-primary-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/WWWheelPickerViewUI.build/Debug/WWWheelPickerViewUI-t.build/Objects-normal/arm64/WWWheelPickerViewUI.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/WWWheelPickerViewUI.build/Debug/WWWheelPickerViewUI-t.build/Objects-normal/arm64/WWWheelPickerViewUI.abi.json
error: Build failed
BUILD FAILURE 6.4 macosSpm