The Swift Package Index logo.Swift Package Index

Build Information

Failed to build WWSaveFileTool, reference 0.1.1 (e95ab8), with Swift 6.4 for macOS (SPM) on 25 Sep 2026 18:28:50 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/WWSaveFileTool.git
Reference: 0.1.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/William-Weng/WWSaveFileTool
 * tag               0.1.1      -> FETCH_HEAD
HEAD is now at e95ab89 - 補上預設檔名 / 副檔名的處理
Cloned https://github.com/William-Weng/WWSaveFileTool.git
Revision (git rev-parse @):
e95ab89897ab5761f78b4ea13142a595d0c6fdd8
SUCCESS checkout https://github.com/William-Weng/WWSaveFileTool.git at 0.1.1
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.4
Building package at path:  $PWD
https://github.com/William-Weng/WWSaveFileTool.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] WWSaveFileTool_WWSaveFileTool
[32 / 41]
[33 / 42] WWSaveFileTool
[43 / 90]
[48 / 90]
[51 / 90]
[52 / 90]
[56 / 90]
[58 / 90]
[61 / 90]
[64 / 90]
[67 / 90]
[68 / 90]
[69 / 90]
[73 / 90]
[74 / 90]
[75 / 90]
[81 / 90] WWSaveFileTool
error: SwiftCompile normal arm64 failed with a nonzero exit code. Command line:     cd /Users/admin/builder

/Users/admin/builder/spi-builder-workspace/Sources/WWSaveFileTool/WWSaveFileTool.swift:24:6: error: 'Generable(description:)' is only available in macOS 26.0 or newer
 20 |
 21 | // MARK: - 結構規格
 22 | extension WWSaveFileTool {
    | `- note: add '@available' attribute to enclosing extension
 23 |
 24 |     @Generable
    |      `- error: 'Generable(description:)' is only available in macOS 26.0 or newer
 25 |     public struct Output {
 26 |
/Users/admin/builder/spi-builder-workspace/Sources/WWSaveFileTool/WWSaveFileTool.swift:50:6: error: 'Generable(description:)' is only available in macOS 26.0 or newer
 20 |
 21 | // MARK: - 結構規格
 22 | extension WWSaveFileTool {
    | `- note: add '@available' attribute to enclosing extension
 23 |
 24 |     @Generable
    :
 48 |
 49 |     /// 工具執行時需要的輸入參數
 50 |     @Generable
    |      `- error: 'Generable(description:)' is only available in macOS 26.0 or newer
 51 |     public struct Arguments {
 52 |
/Users/admin/builder/spi-builder-workspace/Sources/WWSaveFileTool/WWSaveFileTool.swift:27:10: error: 'Guide(description:)' is only available in macOS 26.0 or newer
 23 |
 24 |     @Generable
 25 |     public struct Output {
    |                   |- note: add '@available' attribute to enclosing struct
    |                   `- note: add '@available' attribute to enclosing struct
 26 |
 27 |         @Guide(description: "Whether the file was saved successfully.")
    |          `- error: 'Guide(description:)' is only available in macOS 26.0 or newer
 28 |         public let saved: Bool
 29 |
/Users/admin/builder/spi-builder-workspace/Sources/WWSaveFileTool/WWSaveFileTool.swift:30:10: error: 'Guide(description:)' is only available in macOS 26.0 or newer
 23 |
 24 |     @Generable
 25 |     public struct Output {
    |                   |- note: add '@available' attribute to enclosing struct
    |                   `- note: add '@available' attribute to enclosing struct
 26 |
 27 |         @Guide(description: "Whether the file was saved successfully.")
 28 |         public let saved: Bool
 29 |
 30 |         @Guide(description: "The path of the saved file.")
    |          `- error: 'Guide(description:)' is only available in macOS 26.0 or newer
 31 |         public let path: String
 32 |
/Users/admin/builder/spi-builder-workspace/Sources/WWSaveFileTool/WWSaveFileTool.swift:33:10: error: 'Guide(description:)' is only available in macOS 26.0 or newer
 23 |
 24 |     @Generable
 25 |     public struct Output {
    |                   |- note: add '@available' attribute to enclosing struct
    |                   `- note: add '@available' attribute to enclosing struct
 26 |
 27 |         @Guide(description: "Whether the file was saved successfully.")
    :
 31 |         public let path: String
 32 |
 33 |         @Guide(description: "The number of bytes in the saved file.")
    |          `- error: 'Guide(description:)' is only available in macOS 26.0 or newer
 34 |         public let byteCount: Int
 35 |
macro expansion @Generable:1:66: error: 'GenerationSchema' is only available in macOS 26.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/WWSaveFileTool/WWSaveFileTool.swift:47:5: note: expanded code originates here
 22 | extension WWSaveFileTool {
 23 |
 24 |     @Generable
    |     |- note: in expansion of macro 'Generable' on struct 'Output' here
    |     `- note: in expansion of macro 'Generable' on struct 'Output' here
 25 |     public struct Output {
    |                   `- note: add '@available' attribute to enclosing struct
 26 |
 27 |         @Guide(description: "Whether the file was saved successfully.")
    :
 45 |             self.byteCount = byteCount
 46 |         }
 47 |     }
    +--- macro expansion @Generable ------------------------------------
    | 1 | nonisolated public static var generationSchema: FoundationModels.GenerationSchema {
    |   |                               |                                  `- error: 'GenerationSchema' is only available in macOS 26.0 or newer
    |   |                               `- note: add '@available' attribute to enclosing static property
    | 2 |     FoundationModels.GenerationSchema(
    | 3 |         type: Self.self,
    +-------------------------------------------------------------------
 48 |
 49 |     /// 工具執行時需要的輸入參數
macro expansion @Generable:12:42: error: 'GeneratedContent' is only available in macOS 26.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/WWSaveFileTool/WWSaveFileTool.swift:47:5: note: expanded code originates here
 22 | extension WWSaveFileTool {
 23 |
 24 |     @Generable
    |     |- note: in expansion of macro 'Generable' on struct 'Output' here
    |     `- note: in expansion of macro 'Generable' on struct 'Output' here
 25 |     public struct Output {
    |                   `- note: add '@available' attribute to enclosing struct
 26 |
 27 |         @Guide(description: "Whether the file was saved successfully.")
    :
 45 |             self.byteCount = byteCount
 46 |         }
 47 |     }
    +--- macro expansion @Generable ------------------------------------
    |10 | }
    |11 |
    |12 | nonisolated public var generatedContent: GeneratedContent {
    |   |                        |                 `- error: 'GeneratedContent' is only available in macOS 26.0 or newer
    |   |                        `- note: add '@available' attribute to enclosing property
    |13 |     let explicitNil = false
    |14 |     var properties = [(name: String, value: any ConvertibleToGeneratedContent)]()
    +-------------------------------------------------------------------
 48 |
 49 |     /// 工具執行時需要的輸入參數
macro expansion @Generable:35:20: error: 'GenerationID' is only available in macOS 26.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/WWSaveFileTool/WWSaveFileTool.swift:47:5: note: expanded code originates here
 22 | extension WWSaveFileTool {
 23 |
 24 |     @Generable
    |     |- note: in expansion of macro 'Generable' on struct 'Output' here
    |     `- note: in expansion of macro 'Generable' on struct 'Output' here
 25 |     public struct Output {
 26 |
    :
 45 |             self.byteCount = byteCount
 46 |         }
 47 |     }
    +--- macro expansion @Generable ------------------------------------
    |32 | }
    |33 |
    |34 | nonisolated public struct PartiallyGenerated: Identifiable, nonisolated FoundationModels.ConvertibleFromGeneratedContent {
    |   |                           `- note: add '@available' attribute to enclosing struct
    |35 |     public var id: GenerationID
    |   |                    `- error: 'GenerationID' is only available in macOS 26.0 or newer
    |36 |     public var saved: Bool.PartiallyGenerated?
    |37 |     public var path: String.PartiallyGenerated?
    +-------------------------------------------------------------------
 48 |
 49 |     /// 工具執行時需要的輸入參數
macro expansion @Generable:36:28: error: 'PartiallyGenerated' is only available in macOS 26.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/WWSaveFileTool/WWSaveFileTool.swift:47:5: note: expanded code originates here
 22 | extension WWSaveFileTool {
 23 |
 24 |     @Generable
    |     |- note: in expansion of macro 'Generable' on struct 'Output' here
    |     `- note: in expansion of macro 'Generable' on struct 'Output' here
 25 |     public struct Output {
 26 |
    :
 45 |             self.byteCount = byteCount
 46 |         }
 47 |     }
    +--- macro expansion @Generable ------------------------------------
    |32 | }
    |33 |
    |34 | nonisolated public struct PartiallyGenerated: Identifiable, nonisolated FoundationModels.ConvertibleFromGeneratedContent {
    |   |                           `- note: add '@available' attribute to enclosing struct
    |35 |     public var id: GenerationID
    |36 |     public var saved: Bool.PartiallyGenerated?
    |   |                            `- error: 'PartiallyGenerated' is only available in macOS 26.0 or newer
    |37 |     public var path: String.PartiallyGenerated?
    |38 |     public var byteCount: Int.PartiallyGenerated?
    +-------------------------------------------------------------------
 48 |
 49 |     /// 工具執行時需要的輸入參數
macro expansion @Generable:37:29: error: 'PartiallyGenerated' is only available in macOS 26.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/WWSaveFileTool/WWSaveFileTool.swift:47:5: note: expanded code originates here
 22 | extension WWSaveFileTool {
 23 |
 24 |     @Generable
    |     |- note: in expansion of macro 'Generable' on struct 'Output' here
    |     `- note: in expansion of macro 'Generable' on struct 'Output' here
 25 |     public struct Output {
 26 |
    :
 45 |             self.byteCount = byteCount
 46 |         }
 47 |     }
    +--- macro expansion @Generable ------------------------------------
    |32 | }
    |33 |
    |34 | nonisolated public struct PartiallyGenerated: Identifiable, nonisolated FoundationModels.ConvertibleFromGeneratedContent {
    |   |                           `- note: add '@available' attribute to enclosing struct
    |35 |     public var id: GenerationID
    |36 |     public var saved: Bool.PartiallyGenerated?
    |37 |     public var path: String.PartiallyGenerated?
    |   |                             `- error: 'PartiallyGenerated' is only available in macOS 26.0 or newer
    |38 |     public var byteCount: Int.PartiallyGenerated?
    |39 |     nonisolated public init(_ content: FoundationModels.GeneratedContent) throws {
    +-------------------------------------------------------------------
 48 |
 49 |     /// 工具執行時需要的輸入參數
macro expansion @Generable:38:31: error: 'PartiallyGenerated' is only available in macOS 26.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/WWSaveFileTool/WWSaveFileTool.swift:47:5: note: expanded code originates here
 22 | extension WWSaveFileTool {
 23 |
 24 |     @Generable
    |     |- note: in expansion of macro 'Generable' on struct 'Output' here
    |     `- note: in expansion of macro 'Generable' on struct 'Output' here
 25 |     public struct Output {
 26 |
    :
 45 |             self.byteCount = byteCount
 46 |         }
 47 |     }
    +--- macro expansion @Generable ------------------------------------
    |32 | }
    |33 |
    |34 | nonisolated public struct PartiallyGenerated: Identifiable, nonisolated FoundationModels.ConvertibleFromGeneratedContent {
    |   |                           `- note: add '@available' attribute to enclosing struct
    |35 |     public var id: GenerationID
    |36 |     public var saved: Bool.PartiallyGenerated?
    |37 |     public var path: String.PartiallyGenerated?
    |38 |     public var byteCount: Int.PartiallyGenerated?
    |   |                               `- error: 'PartiallyGenerated' is only available in macOS 26.0 or newer
    |39 |     nonisolated public init(_ content: FoundationModels.GeneratedContent) throws {
    |40 |         self.id = content.id ?? GenerationID()
    +-------------------------------------------------------------------
 48 |
 49 |     /// 工具執行時需要的輸入參數
macro expansion @Generable:39:57: error: 'GeneratedContent' is only available in macOS 26.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/WWSaveFileTool/WWSaveFileTool.swift:47:5: note: expanded code originates here
 22 | extension WWSaveFileTool {
 23 |
 24 |     @Generable
    |     |- note: in expansion of macro 'Generable' on struct 'Output' here
    |     |- note: in expansion of macro 'Generable' on struct 'Output' here
    |     `- note: in expansion of macro 'Generable' on struct 'Output' here
 25 |     public struct Output {
 26 |
    :
 45 |             self.byteCount = byteCount
 46 |         }
 47 |     }
    +--- macro expansion @Generable ------------------------------------
    |32 | }
    |33 |
    |34 | nonisolated public struct PartiallyGenerated: Identifiable, nonisolated FoundationModels.ConvertibleFromGeneratedContent {
    |   |                           `- note: add '@available' attribute to enclosing struct
    |35 |     public var id: GenerationID
    |36 |     public var saved: Bool.PartiallyGenerated?
    |37 |     public var path: String.PartiallyGenerated?
    |38 |     public var byteCount: Int.PartiallyGenerated?
    |39 |     nonisolated public init(_ content: FoundationModels.GeneratedContent) throws {
    |   |                        |                                `- error: 'GeneratedContent' is only available in macOS 26.0 or newer
    |   |                        `- note: add '@available' attribute to enclosing initializer
    |40 |         self.id = content.id ?? GenerationID()
    |41 |         self.saved = try content.value(forProperty: "saved")
    +-------------------------------------------------------------------
 48 |
 49 |     /// 工具執行時需要的輸入參數
macro expansion @Generable:34:27: warning: protocol 'Identifiable' requires 'GenerationID' to be available in macOS 12.0 and newer; this will be an error in a future Swift language mode
`- /Users/admin/builder/spi-builder-workspace/Sources/WWSaveFileTool/WWSaveFileTool.swift:47:5: note: expanded code originates here
 22 | extension WWSaveFileTool {
 23 |
 24 |     @Generable
    |     `- note: in expansion of macro 'Generable' on struct 'Output' here
 25 |     public struct Output {
 26 |
    :
 45 |             self.byteCount = byteCount
 46 |         }
 47 |     }
    +--- macro expansion @Generable ------------------------------------
    |32 | }
    |33 |
    |34 | nonisolated public struct PartiallyGenerated: Identifiable, nonisolated FoundationModels.ConvertibleFromGeneratedContent {
    |   |                           `- warning: protocol 'Identifiable' requires 'GenerationID' to be available in macOS 12.0 and newer; this will be an error in a future Swift language mode
    |35 |     public var id: GenerationID
    |36 |     public var saved: Bool.PartiallyGenerated?
    +-------------------------------------------------------------------
 48 |
 49 |     /// 工具執行時需要的輸入參數
FoundationModels.GenerationID:3:15: note: 'GenerationID' declared here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct GenerationID : Sendable, Hashable {
  |               `- note: 'GenerationID' declared here
4 |     public static func == (a: GenerationID, b: GenerationID) -> Bool
5 |     public func hash(into hasher: inout Hasher)
/Users/admin/builder/spi-builder-workspace/Sources/WWSaveFileTool/WWSaveFileTool.swift:24:6: error: 'Generable(description:)' is only available in macOS 26.0 or newer
 22 | extension WWSaveFileTool {
 23 |
 24 |     @Generable
    |      `- error: 'Generable(description:)' is only available in macOS 26.0 or newer
 25 |     public struct Output {
    |                   |- note: add '@available' attribute to enclosing struct
    |                   `- note: add '@available' attribute to enclosing struct
 26 |
 27 |         @Guide(description: "Whether the file was saved successfully.")
/Users/admin/builder/spi-builder-workspace/Sources/WWSaveFileTool/WWSaveFileTool.swift:53:10: error: 'Guide(description:)' is only available in macOS 26.0 or newer
 49 |     /// 工具執行時需要的輸入參數
 50 |     @Generable
 51 |     public struct Arguments {
    |                   |- note: add '@available' attribute to enclosing struct
    |                   `- note: add '@available' attribute to enclosing struct
 52 |
 53 |         @Guide(description: "The name of the file to be saved.")
    |          `- error: 'Guide(description:)' is only available in macOS 26.0 or newer
 54 |         public let filename: String
 55 |
/Users/admin/builder/spi-builder-workspace/Sources/WWSaveFileTool/WWSaveFileTool.swift:56:10: error: 'Guide(description:)' is only available in macOS 26.0 or newer
 49 |     /// 工具執行時需要的輸入參數
 50 |     @Generable
 51 |     public struct Arguments {
    |                   |- note: add '@available' attribute to enclosing struct
    |                   `- note: add '@available' attribute to enclosing struct
 52 |
 53 |         @Guide(description: "The name of the file to be saved.")
 54 |         public let filename: String
 55 |
 56 |         @Guide(description: "The content to be written to the file.")
    |          `- error: 'Guide(description:)' is only available in macOS 26.0 or newer
 57 |         public let payload: FilePayload
 58 |
/Users/admin/builder/spi-builder-workspace/Sources/WWSaveFileTool/WWSaveFileTool.swift:69:6: error: 'Generable(description:)' is only available in macOS 26.0 or newer
 20 |
 21 | // MARK: - 結構規格
 22 | extension WWSaveFileTool {
    | `- note: add '@available' attribute to enclosing extension
 23 |
 24 |     @Generable
    :
 67 |     }
 68 |
 69 |     @Generable
    |      `- error: 'Generable(description:)' is only available in macOS 26.0 or newer
 70 |     public enum FilePayload {
 71 |         case text(String)           // 以純文字形式提供的檔案內容
macro expansion @Generable:1:66: error: 'GenerationSchema' is only available in macOS 26.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/WWSaveFileTool/WWSaveFileTool.swift:67:5: note: expanded code originates here
 48 |
 49 |     /// 工具執行時需要的輸入參數
 50 |     @Generable
    |     |- note: in expansion of macro 'Generable' on struct 'Arguments' here
    |     `- note: in expansion of macro 'Generable' on struct 'Arguments' here
 51 |     public struct Arguments {
    |                   `- note: add '@available' attribute to enclosing struct
 52 |
 53 |         @Guide(description: "The name of the file to be saved.")
    :
 65 |             self.payload = payload
 66 |         }
 67 |     }
    +--- macro expansion @Generable ------------------------------------
    | 1 | nonisolated public static var generationSchema: FoundationModels.GenerationSchema {
    |   |                               |                                  `- error: 'GenerationSchema' is only available in macOS 26.0 or newer
    |   |                               `- note: add '@available' attribute to enclosing static property
    | 2 |     FoundationModels.GenerationSchema(
    | 3 |         type: Self.self,
    +-------------------------------------------------------------------
 68 |
 69 |     @Generable
macro expansion @Generable:11:42: error: 'GeneratedContent' is only available in macOS 26.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/WWSaveFileTool/WWSaveFileTool.swift:67:5: note: expanded code originates here
 48 |
 49 |     /// 工具執行時需要的輸入參數
 50 |     @Generable
    |     |- note: in expansion of macro 'Generable' on struct 'Arguments' here
    |     `- note: in expansion of macro 'Generable' on struct 'Arguments' here
 51 |     public struct Arguments {
    |                   `- note: add '@available' attribute to enclosing struct
 52 |
 53 |         @Guide(description: "The name of the file to be saved.")
    :
 65 |             self.payload = payload
 66 |         }
 67 |     }
    +--- macro expansion @Generable ------------------------------------
    | 9 | }
    |10 |
    |11 | nonisolated public var generatedContent: GeneratedContent {
    |   |                        |                 `- error: 'GeneratedContent' is only available in macOS 26.0 or newer
    |   |                        `- note: add '@available' attribute to enclosing property
    |12 |     let explicitNil = false
    |13 |     var properties = [(name: String, value: any ConvertibleToGeneratedContent)]()
    +-------------------------------------------------------------------
 68 |
 69 |     @Generable
macro expansion @Generable:33:20: error: 'GenerationID' is only available in macOS 26.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/WWSaveFileTool/WWSaveFileTool.swift:67:5: note: expanded code originates here
 48 |
 49 |     /// 工具執行時需要的輸入參數
 50 |     @Generable
    |     |- note: in expansion of macro 'Generable' on struct 'Arguments' here
    |     `- note: in expansion of macro 'Generable' on struct 'Arguments' here
 51 |     public struct Arguments {
 52 |
    :
 65 |             self.payload = payload
 66 |         }
 67 |     }
    +--- macro expansion @Generable ------------------------------------
    |30 | }
    |31 |
    |32 | nonisolated public struct PartiallyGenerated: Identifiable, nonisolated FoundationModels.ConvertibleFromGeneratedContent {
    |   |                           `- note: add '@available' attribute to enclosing struct
    |33 |     public var id: GenerationID
    |   |                    `- error: 'GenerationID' is only available in macOS 26.0 or newer
    |34 |     public var filename: String.PartiallyGenerated?
    |35 |     public var payload: FilePayload.PartiallyGenerated?
    +-------------------------------------------------------------------
 68 |
 69 |     @Generable
macro expansion @Generable:34:33: error: 'PartiallyGenerated' is only available in macOS 26.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/WWSaveFileTool/WWSaveFileTool.swift:67:5: note: expanded code originates here
 48 |
 49 |     /// 工具執行時需要的輸入參數
 50 |     @Generable
    |     |- note: in expansion of macro 'Generable' on struct 'Arguments' here
    |     `- note: in expansion of macro 'Generable' on struct 'Arguments' here
 51 |     public struct Arguments {
 52 |
    :
 65 |             self.payload = payload
 66 |         }
 67 |     }
    +--- macro expansion @Generable ------------------------------------
    |30 | }
    |31 |
    |32 | nonisolated public struct PartiallyGenerated: Identifiable, nonisolated FoundationModels.ConvertibleFromGeneratedContent {
    |   |                           `- note: add '@available' attribute to enclosing struct
    |33 |     public var id: GenerationID
    |34 |     public var filename: String.PartiallyGenerated?
    |   |                                 `- error: 'PartiallyGenerated' is only available in macOS 26.0 or newer
    |35 |     public var payload: FilePayload.PartiallyGenerated?
    |36 |     nonisolated public init(_ content: FoundationModels.GeneratedContent) throws {
    +-------------------------------------------------------------------
 68 |
 69 |     @Generable
macro expansion @Generable:36:57: error: 'GeneratedContent' is only available in macOS 26.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/WWSaveFileTool/WWSaveFileTool.swift:67:5: note: expanded code originates here
 48 |
 49 |     /// 工具執行時需要的輸入參數
 50 |     @Generable
    |     |- note: in expansion of macro 'Generable' on struct 'Arguments' here
    |     |- note: in expansion of macro 'Generable' on struct 'Arguments' here
    |     `- note: in expansion of macro 'Generable' on struct 'Arguments' here
 51 |     public struct Arguments {
 52 |
    :
 65 |             self.payload = payload
 66 |         }
 67 |     }
    +--- macro expansion @Generable ------------------------------------
    |30 | }
    |31 |
    |32 | nonisolated public struct PartiallyGenerated: Identifiable, nonisolated FoundationModels.ConvertibleFromGeneratedContent {
    |   |                           `- note: add '@available' attribute to enclosing struct
    |33 |     public var id: GenerationID
    |34 |     public var filename: String.PartiallyGenerated?
    |35 |     public var payload: FilePayload.PartiallyGenerated?
    |36 |     nonisolated public init(_ content: FoundationModels.GeneratedContent) throws {
    |   |                        |                                `- error: 'GeneratedContent' is only available in macOS 26.0 or newer
    |   |                        `- note: add '@available' attribute to enclosing initializer
    |37 |         self.id = content.id ?? GenerationID()
    |38 |         self.filename = try content.value(forProperty: "filename")
    +-------------------------------------------------------------------
 68 |
 69 |     @Generable
macro expansion @Generable:32:27: warning: protocol 'Identifiable' requires 'GenerationID' to be available in macOS 12.0 and newer; this will be an error in a future Swift language mode
`- /Users/admin/builder/spi-builder-workspace/Sources/WWSaveFileTool/WWSaveFileTool.swift:67:5: note: expanded code originates here
 48 |
 49 |     /// 工具執行時需要的輸入參數
 50 |     @Generable
    |     `- note: in expansion of macro 'Generable' on struct 'Arguments' here
 51 |     public struct Arguments {
 52 |
    :
 65 |             self.payload = payload
 66 |         }
 67 |     }
    +--- macro expansion @Generable ------------------------------------
    |30 | }
    |31 |
    |32 | nonisolated public struct PartiallyGenerated: Identifiable, nonisolated FoundationModels.ConvertibleFromGeneratedContent {
    |   |                           `- warning: protocol 'Identifiable' requires 'GenerationID' to be available in macOS 12.0 and newer; this will be an error in a future Swift language mode
    |33 |     public var id: GenerationID
    |34 |     public var filename: String.PartiallyGenerated?
    +-------------------------------------------------------------------
 68 |
 69 |     @Generable
FoundationModels.GenerationID:3:15: note: 'GenerationID' declared here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct GenerationID : Sendable, Hashable {
  |               `- note: 'GenerationID' declared here
4 |     public static func == (a: GenerationID, b: GenerationID) -> Bool
5 |     public func hash(into hasher: inout Hasher)
/Users/admin/builder/spi-builder-workspace/Sources/WWSaveFileTool/WWSaveFileTool.swift:50:6: error: 'Generable(description:)' is only available in macOS 26.0 or newer
 48 |
 49 |     /// 工具執行時需要的輸入參數
 50 |     @Generable
    |      `- error: 'Generable(description:)' is only available in macOS 26.0 or newer
 51 |     public struct Arguments {
    |                   |- note: add '@available' attribute to enclosing struct
    |                   `- note: add '@available' attribute to enclosing struct
 52 |
 53 |         @Guide(description: "The name of the file to be saved.")
macro expansion @Generable:2:22: error: 'PartiallyGenerated' is only available in macOS 26.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/WWSaveFileTool/WWSaveFileTool.swift:73:5: note: expanded code originates here
 67 |     }
 68 |
 69 |     @Generable
    |     |- note: in expansion of macro 'Generable' on enum 'FilePayload' here
    |     `- note: in expansion of macro 'Generable' on enum 'FilePayload' here
 70 |     public enum FilePayload {
 71 |         case text(String)           // 以純文字形式提供的檔案內容
 72 |         case binaryBase64(String)   // 以 base64 字串表示的二進位檔案內容
 73 |     }
    +--- macro expansion @Generable ------------------------------------
    |  1 | nonisolated public enum PartiallyGenerated: nonisolated FoundationModels.ConvertibleFromGeneratedContent {
    |    |                         `- note: add '@available' attribute to enclosing enum
    |  2 |     case text(String.PartiallyGenerated?)
    |    |                      `- error: 'PartiallyGenerated' is only available in macOS 26.0 or newer
    |  3 |     case binaryBase64(String.PartiallyGenerated?)
    |  4 |     nonisolated public init(_ content: FoundationModels.GeneratedContent) throws {
    +-------------------------------------------------------------------
 74 | }
 75 |
macro expansion @Generable:3:30: error: 'PartiallyGenerated' is only available in macOS 26.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/WWSaveFileTool/WWSaveFileTool.swift:73:5: note: expanded code originates here
 67 |     }
 68 |
 69 |     @Generable
    |     |- note: in expansion of macro 'Generable' on enum 'FilePayload' here
    |     `- note: in expansion of macro 'Generable' on enum 'FilePayload' here
 70 |     public enum FilePayload {
 71 |         case text(String)           // 以純文字形式提供的檔案內容
 72 |         case binaryBase64(String)   // 以 base64 字串表示的二進位檔案內容
 73 |     }
    +--- macro expansion @Generable ------------------------------------
    |  1 | nonisolated public enum PartiallyGenerated: nonisolated FoundationModels.ConvertibleFromGeneratedContent {
    |    |                         `- note: add '@available' attribute to enclosing enum
    |  2 |     case text(String.PartiallyGenerated?)
    |  3 |     case binaryBase64(String.PartiallyGenerated?)
    |    |                              `- error: 'PartiallyGenerated' is only available in macOS 26.0 or newer
    |  4 |     nonisolated public init(_ content: FoundationModels.GeneratedContent) throws {
    |  5 |         let type: String = try content.value(forProperty: "type")
    +-------------------------------------------------------------------
 74 | }
 75 |
macro expansion @Generable:4:57: error: 'GeneratedContent' is only available in macOS 26.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/WWSaveFileTool/WWSaveFileTool.swift:73:5: note: expanded code originates here
 67 |     }
 68 |
 69 |     @Generable
    |     |- note: in expansion of macro 'Generable' on enum 'FilePayload' here
    |     |- note: in expansion of macro 'Generable' on enum 'FilePayload' here
    |     `- note: in expansion of macro 'Generable' on enum 'FilePayload' here
 70 |     public enum FilePayload {
 71 |         case text(String)           // 以純文字形式提供的檔案內容
 72 |         case binaryBase64(String)   // 以 base64 字串表示的二進位檔案內容
 73 |     }
    +--- macro expansion @Generable ------------------------------------
    |  1 | nonisolated public enum PartiallyGenerated: nonisolated FoundationModels.ConvertibleFromGeneratedContent {
    |    |                         `- note: add '@available' attribute to enclosing enum
    |  2 |     case text(String.PartiallyGenerated?)
    |  3 |     case binaryBase64(String.PartiallyGenerated?)
    |  4 |     nonisolated public init(_ content: FoundationModels.GeneratedContent) throws {
    |    |                        |                                `- error: 'GeneratedContent' is only available in macOS 26.0 or newer
    |    |                        `- note: add '@available' attribute to enclosing initializer
    |  5 |         let type: String = try content.value(forProperty: "type")
    |  6 |         switch type {
    +-------------------------------------------------------------------
 74 | }
 75 |
macro expansion @Generable:21:66: error: 'GenerationSchema' is only available in macOS 26.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/WWSaveFileTool/WWSaveFileTool.swift:73:5: note: expanded code originates here
 67 |     }
 68 |
 69 |     @Generable
    |     |- note: in expansion of macro 'Generable' on enum 'FilePayload' here
    |     `- note: in expansion of macro 'Generable' on enum 'FilePayload' here
 70 |     public enum FilePayload {
    |                 `- note: add '@available' attribute to enclosing enum
 71 |         case text(String)           // 以純文字形式提供的檔案內容
 72 |         case binaryBase64(String)   // 以 base64 字串表示的二進位檔案內容
 73 |     }
    +--- macro expansion @Generable ------------------------------------
    | 19 | }
    | 20 |
    | 21 | nonisolated public static var generationSchema: FoundationModels.GenerationSchema {
    |    |                               |                                  `- error: 'GenerationSchema' is only available in macOS 26.0 or newer
    |    |                               `- note: add '@available' attribute to enclosing static property
    | 22 |     FoundationModels.GenerationSchema(
    | 23 |         type: Self.self,
    +-------------------------------------------------------------------
 74 | }
 75 |
macro expansion @Generable:32:6: error: 'Guide(description:_:)' is only available in macOS 26.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/WWSaveFileTool/WWSaveFileTool.swift:73:5: note: expanded code originates here
 67 |     }
 68 |
 69 |     @Generable
    |     |- note: in expansion of macro 'Generable' on enum 'FilePayload' here
    |     |- note: in expansion of macro 'Generable' on enum 'FilePayload' here
    |     `- note: in expansion of macro 'Generable' on enum 'FilePayload' here
 70 |     public enum FilePayload {
 71 |         case text(String)           // 以純文字形式提供的檔案內容
 72 |         case binaryBase64(String)   // 以 base64 字串表示的二進位檔案內容
 73 |     }
    +--- macro expansion @Generable ------------------------------------
    | 29 | }
    | 30 |
    | 31 | private nonisolated struct DiscriminatedText: nonisolated FoundationModels.Generable {
    |    |                            |- note: add '@available' attribute to enclosing struct
    |    |                            `- note: add '@available' attribute to enclosing struct
    | 32 |     @Guide(.constant("text"))
    |    |      `- error: 'Guide(description:_:)' is only available in macOS 26.0 or newer
    | 33 |     let type: String
    | 34 |     let value: String
    +-------------------------------------------------------------------
 74 | }
 75 |
macro expansion @Generable:32:13: error: 'constant' is only available in macOS 26.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/WWSaveFileTool/WWSaveFileTool.swift:73:5: note: expanded code originates here
 67 |     }
 68 |
 69 |     @Generable
    |     |- note: in expansion of macro 'Generable' on enum 'FilePayload' here
    |     |- note: in expansion of macro 'Generable' on enum 'FilePayload' here
    |     `- note: in expansion of macro 'Generable' on enum 'FilePayload' here
 70 |     public enum FilePayload {
 71 |         case text(String)           // 以純文字形式提供的檔案內容
 72 |         case binaryBase64(String)   // 以 base64 字串表示的二進位檔案內容
 73 |     }
    +--- macro expansion @Generable ------------------------------------
    | 29 | }
    | 30 |
    | 31 | private nonisolated struct DiscriminatedText: nonisolated FoundationModels.Generable {
    |    |                            |- note: add '@available' attribute to enclosing struct
    |    |                            `- note: add '@available' attribute to enclosing struct
    | 32 |     @Guide(.constant("text"))
    |    |             `- error: 'constant' is only available in macOS 26.0 or newer
    | 33 |     let type: String
    | 34 |     let value: String
    +-------------------------------------------------------------------
 74 | }
 75 |
macro expansion @Generable:35:50: error: 'GeneratedContent' is only available in macOS 26.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/WWSaveFileTool/WWSaveFileTool.swift:73:5: note: expanded code originates here
 67 |     }
 68 |
 69 |     @Generable
    |     |- note: in expansion of macro 'Generable' on enum 'FilePayload' here
    |     |- note: in expansion of macro 'Generable' on enum 'FilePayload' here
    |     `- note: in expansion of macro 'Generable' on enum 'FilePayload' here
 70 |     public enum FilePayload {
 71 |         case text(String)           // 以純文字形式提供的檔案內容
 72 |         case binaryBase64(String)   // 以 base64 字串表示的二進位檔案內容
 73 |     }
    +--- macro expansion @Generable ------------------------------------
    | 29 | }
    | 30 |
    | 31 | private nonisolated struct DiscriminatedText: nonisolated FoundationModels.Generable {
    |    |                            `- note: add '@available' attribute to enclosing struct
    | 32 |     @Guide(.constant("text"))
    | 33 |     let type: String
    | 34 |     let value: String
    | 35 |     nonisolated init(_ content: FoundationModels.GeneratedContent) throws {
    |    |                 |                                `- error: 'GeneratedContent' is only available in macOS 26.0 or newer
    |    |                 `- note: add '@available' attribute to enclosing initializer
    | 36 |         self.type = try content.value(forProperty: "type")
    | 37 |         self.value = try content.value(forProperty: "value")
    +-------------------------------------------------------------------
 74 | }
 75 |
macro expansion @Generable:39:63: error: 'GenerationSchema' is only available in macOS 26.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/WWSaveFileTool/WWSaveFileTool.swift:73:5: note: expanded code originates here
 67 |     }
 68 |
 69 |     @Generable
    |     |- note: in expansion of macro 'Generable' on enum 'FilePayload' here
    |     |- note: in expansion of macro 'Generable' on enum 'FilePayload' here
    |     `- note: in expansion of macro 'Generable' on enum 'FilePayload' here
 70 |     public enum FilePayload {
 71 |         case text(String)           // 以純文字形式提供的檔案內容
 72 |         case binaryBase64(String)   // 以 base64 字串表示的二進位檔案內容
 73 |     }
    +--- macro expansion @Generable ------------------------------------
    | 29 | }
    | 30 |
    | 31 | private nonisolated struct DiscriminatedText: nonisolated FoundationModels.Generable {
    |    |                            `- note: add '@available' attribute to enclosing struct
    | 32 |     @Guide(.constant("text"))
    | 33 |     let type: String
    |    :
    | 37 |         self.value = try content.value(forProperty: "value")
    | 38 |     }
    | 39 |     nonisolated static var generationSchema: FoundationModels.GenerationSchema {
    |    |                            |                                  `- error: 'GenerationSchema' is only available in macOS 26.0 or newer
    |    |                            `- note: add '@available' attribute to enclosing static property
    | 40 |         FoundationModels.GenerationSchema(
    | 41 |             type: Self.self,
    +-------------------------------------------------------------------
 74 | }
 75 |
macro expansion @Generable:48:39: error: 'GeneratedContent' is only available in macOS 26.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/WWSaveFileTool/WWSaveFileTool.swift:73:5: note: expanded code originates here
 67 |     }
 68 |
 69 |     @Generable
    |     |- note: in expansion of macro 'Generable' on enum 'FilePayload' here
    |     |- note: in expansion of macro 'Generable' on enum 'FilePayload' here
    |     `- note: in expansion of macro 'Generable' on enum 'FilePayload' here
 70 |     public enum FilePayload {
 71 |         case text(String)           // 以純文字形式提供的檔案內容
 72 |         case binaryBase64(String)   // 以 base64 字串表示的二進位檔案內容
 73 |     }
    +--- macro expansion @Generable ------------------------------------
    | 29 | }
    | 30 |
    | 31 | private nonisolated struct DiscriminatedText: nonisolated FoundationModels.Generable {
    |    |                            `- note: add '@available' attribute to enclosing struct
    | 32 |     @Guide(.constant("text"))
    | 33 |     let type: String
    |    :
    | 46 |         )
    | 47 |     }
    | 48 |     nonisolated var generatedContent: GeneratedContent {
    |    |                     |                 `- error: 'GeneratedContent' is only available in macOS 26.0 or newer
    |    |                     `- note: add '@available' attribute to enclosing property
    | 49 |         let explicitNil = false
    | 50 |         var properties = [(name: String, value: any ConvertibleToGeneratedContent)]()
    +-------------------------------------------------------------------
 74 | }
 75 |
macro expansion @Generable:71:6: error: 'Guide(description:_:)' is only available in macOS 26.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/WWSaveFileTool/WWSaveFileTool.swift:73:5: note: expanded code originates here
 67 |     }
 68 |
 69 |     @Generable
    |     |- note: in expansion of macro 'Generable' on enum 'FilePayload' here
    |     |- note: in expansion of macro 'Generable' on enum 'FilePayload' here
    |     `- note: in expansion of macro 'Generable' on enum 'FilePayload' here
 70 |     public enum FilePayload {
 71 |         case text(String)           // 以純文字形式提供的檔案內容
 72 |         case binaryBase64(String)   // 以 base64 字串表示的二進位檔案內容
 73 |     }
    +--- macro expansion @Generable ------------------------------------
    | 68 | }
    | 69 |
    | 70 | private nonisolated struct DiscriminatedBinaryBase64: nonisolated FoundationModels.Generable {
    |    |                            |- note: add '@available' attribute to enclosing struct
    |    |                            `- note: add '@available' attribute to enclosing struct
    | 71 |     @Guide(.constant("binaryBase64"))
    |    |      `- error: 'Guide(description:_:)' is only available in macOS 26.0 or newer
    | 72 |     let type: String
    | 73 |     let value: String
    +-------------------------------------------------------------------
 74 | }
 75 |
macro expansion @Generable:71:13: error: 'constant' is only available in macOS 26.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/WWSaveFileTool/WWSaveFileTool.swift:73:5: note: expanded code originates here
 67 |     }
 68 |
 69 |     @Generable
    |     |- note: in expansion of macro 'Generable' on enum 'FilePayload' here
    |     |- note: in expansion of macro 'Generable' on enum 'FilePayload' here
    |     `- note: in expansion of macro 'Generable' on enum 'FilePayload' here
 70 |     public enum FilePayload {
 71 |         case text(String)           // 以純文字形式提供的檔案內容
 72 |         case binaryBase64(String)   // 以 base64 字串表示的二進位檔案內容
 73 |     }
    +--- macro expansion @Generable ------------------------------------
    | 68 | }
    | 69 |
    | 70 | private nonisolated struct DiscriminatedBinaryBase64: nonisolated FoundationModels.Generable {
    |    |                            |- note: add '@available' attribute to enclosing struct
    |    |                            `- note: add '@available' attribute to enclosing struct
    | 71 |     @Guide(.constant("binaryBase64"))
    |    |             `- error: 'constant' is only available in macOS 26.0 or newer
    | 72 |     let type: String
    | 73 |     let value: String
    +-------------------------------------------------------------------
 74 | }
 75 |
macro expansion @Generable:74:50: error: 'GeneratedContent' is only available in macOS 26.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/WWSaveFileTool/WWSaveFileTool.swift:73:5: note: expanded code originates here
 67 |     }
 68 |
 69 |     @Generable
    |     |- note: in expansion of macro 'Generable' on enum 'FilePayload' here
    |     |- note: in expansion of macro 'Generable' on enum 'FilePayload' here
    |     `- note: in expansion of macro 'Generable' on enum 'FilePayload' here
 70 |     public enum FilePayload {
 71 |         case text(String)           // 以純文字形式提供的檔案內容
 72 |         case binaryBase64(String)   // 以 base64 字串表示的二進位檔案內容
 73 |     }
    +--- macro expansion @Generable ------------------------------------
    | 68 | }
    | 69 |
    | 70 | private nonisolated struct DiscriminatedBinaryBase64: nonisolated FoundationModels.Generable {
    |    |                            `- note: add '@available' attribute to enclosing struct
    | 71 |     @Guide(.constant("binaryBase64"))
    | 72 |     let type: String
    | 73 |     let value: String
    | 74 |     nonisolated init(_ content: FoundationModels.GeneratedContent) throws {
    |    |                 |                                `- error: 'GeneratedContent' is only available in macOS 26.0 or newer
    |    |                 `- note: add '@available' attribute to enclosing initializer
    | 75 |         self.type = try content.value(forProperty: "type")
    | 76 |         self.value = try content.value(forProperty: "value")
    +-------------------------------------------------------------------
 74 | }
 75 |
macro expansion @Generable:78:63: error: 'GenerationSchema' is only available in macOS 26.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/WWSaveFileTool/WWSaveFileTool.swift:73:5: note: expanded code originates here
 67 |     }
 68 |
 69 |     @Generable
    |     |- note: in expansion of macro 'Generable' on enum 'FilePayload' here
    |     |- note: in expansion of macro 'Generable' on enum 'FilePayload' here
    |     `- note: in expansion of macro 'Generable' on enum 'FilePayload' here
 70 |     public enum FilePayload {
 71 |         case text(String)           // 以純文字形式提供的檔案內容
 72 |         case binaryBase64(String)   // 以 base64 字串表示的二進位檔案內容
 73 |     }
    +--- macro expansion @Generable ------------------------------------
    | 68 | }
    | 69 |
    | 70 | private nonisolated struct DiscriminatedBinaryBase64: nonisolated FoundationModels.Generable {
    |    |                            `- note: add '@available' attribute to enclosing struct
    | 71 |     @Guide(.constant("binaryBase64"))
    | 72 |     let type: String
    |    :
    | 76 |         self.value = try content.value(forProperty: "value")
    | 77 |     }
    | 78 |     nonisolated static var generationSchema: FoundationModels.GenerationSchema {
    |    |                            |                                  `- error: 'GenerationSchema' is only available in macOS 26.0 or newer
    |    |                            `- note: add '@available' attribute to enclosing static property
    | 79 |         FoundationModels.GenerationSchema(
    | 80 |             type: Self.self,
    +-------------------------------------------------------------------
 74 | }
 75 |
macro expansion @Generable:87:39: error: 'GeneratedContent' is only available in macOS 26.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/WWSaveFileTool/WWSaveFileTool.swift:73:5: note: expanded code originates here
 67 |     }
 68 |
 69 |     @Generable
    |     |- note: in expansion of macro 'Generable' on enum 'FilePayload' here
    |     |- note: in expansion of macro 'Generable' on enum 'FilePayload' here
    |     `- note: in expansion of macro 'Generable' on enum 'FilePayload' here
 70 |     public enum FilePayload {
 71 |         case text(String)           // 以純文字形式提供的檔案內容
 72 |         case binaryBase64(String)   // 以 base64 字串表示的二進位檔案內容
 73 |     }
    +--- macro expansion @Generable ------------------------------------
    | 68 | }
    | 69 |
    | 70 | private nonisolated struct DiscriminatedBinaryBase64: nonisolated FoundationModels.Generable {
    |    |                            `- note: add '@available' attribute to enclosing struct
    | 71 |     @Guide(.constant("binaryBase64"))
    | 72 |     let type: String
    |    :
    | 85 |         )
    | 86 |     }
    | 87 |     nonisolated var generatedContent: GeneratedContent {
    |    |                     |                 `- error: 'GeneratedContent' is only available in macOS 26.0 or newer
    |    |                     `- note: add '@available' attribute to enclosing property
    | 88 |         let explicitNil = false
    | 89 |         var properties = [(name: String, value: any ConvertibleToGeneratedContent)]()
    +-------------------------------------------------------------------
 74 | }
 75 |
macro expansion @Generable:109:42: error: 'GeneratedContent' is only available in macOS 26.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/WWSaveFileTool/WWSaveFileTool.swift:73:5: note: expanded code originates here
 67 |     }
 68 |
 69 |     @Generable
    |     |- note: in expansion of macro 'Generable' on enum 'FilePayload' here
    |     `- note: in expansion of macro 'Generable' on enum 'FilePayload' here
 70 |     public enum FilePayload {
    |                 `- note: add '@available' attribute to enclosing enum
 71 |         case text(String)           // 以純文字形式提供的檔案內容
 72 |         case binaryBase64(String)   // 以 base64 字串表示的二進位檔案內容
 73 |     }
    +--- macro expansion @Generable ------------------------------------
    |107 | }
    |108 |
    |109 | nonisolated public var generatedContent: GeneratedContent {
    |    |                        |                 `- error: 'GeneratedContent' is only available in macOS 26.0 or newer
    |    |                        `- note: add '@available' attribute to enclosing property
    |110 |     switch self {
    |111 |     case .text(let value):
    +-------------------------------------------------------------------
 74 | }
 75 |
/Users/admin/builder/spi-builder-workspace/Sources/WWSaveFileTool/WWSaveFileTool.swift:69:6: error: 'Generable(description:)' is only available in macOS 26.0 or newer
 67 |     }
 68 |
 69 |     @Generable
    |      `- error: 'Generable(description:)' is only available in macOS 26.0 or newer
 70 |     public enum FilePayload {
    |                 |- note: add '@available' attribute to enclosing enum
    |                 `- note: add '@available' attribute to enclosing enum
 71 |         case text(String)           // 以純文字形式提供的檔案內容
 72 |         case binaryBase64(String)   // 以 base64 字串表示的二進位檔案內容
macro expansion @Generable:2:57: error: 'GeneratedContent' is only available in macOS 26.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/WWSaveFileTool/WWSaveFileTool.swift:74:2: note: expanded code originates here
 22 | extension WWSaveFileTool {
 23 |
 24 |     @Generable
    |     |- note: in expansion of macro 'Generable' on struct 'Output' here
    |     |- note: in expansion of macro 'Generable' on struct 'Output' here
    |     `- note: in expansion of macro 'Generable' on struct 'Output' here
 25 |     public struct Output {
 26 |
    :
 72 |         case binaryBase64(String)   // 以 base64 字串表示的二進位檔案內容
 73 |     }
 74 | }
    +--- macro expansion @Generable ------------------------------------
    |1 | extension WWSaveFileTool.Output: nonisolated FoundationModels.Generable {
    |  | `- note: add '@available' attribute to enclosing extension
    |2 |     nonisolated public init(_ content: FoundationModels.GeneratedContent) throws {
    |  |                        |                                `- error: 'GeneratedContent' is only available in macOS 26.0 or newer
    |  |                        `- note: add '@available' attribute to enclosing initializer
    |3 |         self.saved = try content.value(forProperty: "saved")
    |4 |         self.path = try content.value(forProperty: "path")
    +-------------------------------------------------------------------
 75 |
 76 | // MARK: - 函式呼叫函實做
macro expansion @Generable:2:57: error: 'GeneratedContent' is only available in macOS 26.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/WWSaveFileTool/WWSaveFileTool.swift:74:2: note: expanded code originates here
 48 |
 49 |     /// 工具執行時需要的輸入參數
 50 |     @Generable
    |     |- note: in expansion of macro 'Generable' on struct 'Arguments' here
    |     |- note: in expansion of macro 'Generable' on struct 'Arguments' here
    |     `- note: in expansion of macro 'Generable' on struct 'Arguments' here
 51 |     public struct Arguments {
 52 |
    :
 72 |         case binaryBase64(String)   // 以 base64 字串表示的二進位檔案內容
 73 |     }
 74 | }
    +--- macro expansion @Generable ------------------------------------
    |1 | extension WWSaveFileTool.Arguments: nonisolated FoundationModels.Generable {
    |  | `- note: add '@available' attribute to enclosing extension
    |2 |     nonisolated public init(_ content: FoundationModels.GeneratedContent) throws {
    |  |                        |                                `- error: 'GeneratedContent' is only available in macOS 26.0 or newer
    |  |                        `- note: add '@available' attribute to enclosing initializer
    |3 |         self.filename = try content.value(forProperty: "filename")
    |4 |         self.payload = try content.value(forProperty: "payload")
    +-------------------------------------------------------------------
 75 |
 76 | // MARK: - 函式呼叫函實做
macro expansion @Generable:2:57: error: 'GeneratedContent' is only available in macOS 26.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/WWSaveFileTool/WWSaveFileTool.swift:74:2: note: expanded code originates here
 67 |     }
 68 |
 69 |     @Generable
    |     |- note: in expansion of macro 'Generable' on enum 'FilePayload' here
    |     |- note: in expansion of macro 'Generable' on enum 'FilePayload' here
    |     `- note: in expansion of macro 'Generable' on enum 'FilePayload' here
 70 |     public enum FilePayload {
 71 |         case text(String)           // 以純文字形式提供的檔案內容
 72 |         case binaryBase64(String)   // 以 base64 字串表示的二進位檔案內容
 73 |     }
 74 | }
    +--- macro expansion @Generable ------------------------------------
    | 1 | extension WWSaveFileTool.FilePayload: nonisolated FoundationModels.Generable {
    |   | `- note: add '@available' attribute to enclosing extension
    | 2 |     nonisolated public init(_ content: FoundationModels.GeneratedContent) throws {
    |   |                        |                                `- error: 'GeneratedContent' is only available in macOS 26.0 or newer
    |   |                        `- note: add '@available' attribute to enclosing initializer
    | 3 |         let type: String = try content.value(forProperty: "type")
    | 4 |         switch type {
    +-------------------------------------------------------------------
 75 |
 76 | // MARK: - 函式呼叫函實做
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/WWSaveFileTool.build/Debug/WWSaveFileTool-t.build/DerivedSources/resource_bundle_accessor.swift /Users/admin/builder/spi-builder-workspace/Sources/WWSaveFileTool/Utility/Constant.swift /Users/admin/builder/spi-builder-workspace/Sources/WWSaveFileTool/Utility/Error.swift /Users/admin/builder/spi-builder-workspace/Sources/WWSaveFileTool/Utility/Service.swift /Users/admin/builder/spi-builder-workspace/Sources/WWSaveFileTool/WWSaveFileTool.swift -target arm64-apple-macos12.0 -disable-cross-import-overlay-search -swift-module-cross-import FoundationModels /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk/System/Library/Frameworks/FoundationModels.framework/Modules/FoundationModels.swiftcrossimport/AppKit.swiftoverlay -swift-module-cross-import FoundationModels /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk/System/Library/Frameworks/FoundationModels.framework/Modules/FoundationModels.swiftcrossimport/SwiftUI.swiftoverlay -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/libFoundationModelsMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server\#FoundationModelsMacros -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/libSwiftMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server\#SwiftMacros -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/WWSaveFileTool.build/Debug/WWSaveFileTool-t.build/Objects-normal/arm64/WWSaveFileTool-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 6 -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/WWSaveFileTool.build/Debug/WWSaveFileTool-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/WWSaveFileTool.build/Debug/WWSaveFileTool-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/WWSaveFileTool.build/Debug/WWSaveFileTool-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name WWSaveFileTool -package-name spi_builder_workspace -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/WWSaveFileTool.build/Debug/WWSaveFileTool-t.build/Objects-normal/arm64/WWSaveFileTool_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/WWSaveFileTool.build/Debug/WWSaveFileTool-t.build/Objects-normal/arm64/WWSaveFileTool.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/WWSaveFileTool.build/Debug/WWSaveFileTool-t.build/Objects-normal/arm64/WWSaveFileTool.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/WWSaveFileTool.build/Debug/WWSaveFileTool-t.build/Objects-normal/arm64/WWSaveFileTool-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/WWSaveFileTool.build/Debug/WWSaveFileTool-t.build/Objects-normal/arm64/WWSaveFileTool-primary-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/WWSaveFileTool.build/Debug/WWSaveFileTool-t.build/Objects-normal/arm64/WWSaveFileTool-primary-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/WWSaveFileTool.build/Debug/WWSaveFileTool-t.build/Objects-normal/arm64/WWSaveFileTool.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/WWSaveFileTool.build/Debug/WWSaveFileTool-t.build/Objects-normal/arm64/WWSaveFileTool.abi.json
error: Build failed
BUILD FAILURE 6.4 macosSpm