Build Information
Failed to build WWTextReaderTool, reference 0.1.0 (3f99fd), with Swift 6.2 for macOS (SPM) on 30 Jun 2026 11:48:04 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.3.0.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: undefined version: run 'make version' to update
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/William-Weng/WWTextReaderTool.git
Reference: 0.1.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/William-Weng/WWTextReaderTool
* tag 0.1.0 -> FETCH_HEAD
HEAD is now at 3f99fd4 - init
Cloned https://github.com/William-Weng/WWTextReaderTool.git
Revision (git rev-parse @):
3f99fd4238830702b944e2099457fbd37d0a0b83
SUCCESS checkout https://github.com/William-Weng/WWTextReaderTool.git at 0.1.0
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.2
Building package at path: $PWD
https://github.com/William-Weng/WWTextReaderTool.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.3.0.app xcrun swift build --arch arm64
Building for debugging...
[0/3] Write sources
[1/3] Copying Privacy
[2/3] Write swift-version--3CB7CFEC50E0D141.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/8] Compiling WWTextReaderTool resource_bundle_accessor.swift
[5/8] Compiling WWTextReaderTool Error.swift
[6/8] Emitting module WWTextReaderTool
/Users/admin/builder/spi-builder-workspace/Sources/WWTextReaderTool/WWTextReaderTool.swift:23:6: error: 'Generable(description:)' is only available in macOS 26.0 or newer
19 | }
20 |
21 | extension WWTextReaderTool {
| `- note: add '@available' attribute to enclosing extension
22 |
23 | @Generable
| `- error: 'Generable(description:)' is only available in macOS 26.0 or newer
24 | public struct Arguments: Sendable {
25 |
/Users/admin/builder/spi-builder-workspace/Sources/WWTextReaderTool/WWTextReaderTool.swift:26:10: error: 'Guide(description:)' is only available in macOS 26.0 or newer
22 |
23 | @Generable
24 | public struct Arguments: Sendable {
| |- note: add '@available' attribute to enclosing struct
| `- note: add '@available' attribute to enclosing struct
25 |
26 | @Guide(description: "The filename to read from Documents directory.")
| `- error: 'Guide(description:)' is only available in macOS 26.0 or newer
27 | public var filename: String
28 |
macro expansion @Generable:1:66: error: 'GenerationSchema' is only available in macOS 26.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/WWTextReaderTool/WWTextReaderTool.swift:32:5: note: expanded code originates here
21 | extension WWTextReaderTool {
22 |
23 | @Generable
| |- note: in expansion of macro 'Generable' on struct 'Arguments' here
| `- note: in expansion of macro 'Generable' on struct 'Arguments' here
24 | public struct Arguments: Sendable {
| `- note: add '@available' attribute to enclosing struct
25 |
26 | @Guide(description: "The filename to read from Documents directory.")
:
30 | self.filename = filename
31 | }
32 | }
+--- 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,
+--------------------------------------------------------------------
33 | }
34 |
macro expansion @Generable:10:42: error: 'GeneratedContent' is only available in macOS 26.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/WWTextReaderTool/WWTextReaderTool.swift:32:5: note: expanded code originates here
21 | extension WWTextReaderTool {
22 |
23 | @Generable
| |- note: in expansion of macro 'Generable' on struct 'Arguments' here
| `- note: in expansion of macro 'Generable' on struct 'Arguments' here
24 | public struct Arguments: Sendable {
| `- note: add '@available' attribute to enclosing struct
25 |
26 | @Guide(description: "The filename to read from Documents directory.")
:
30 | self.filename = filename
31 | }
32 | }
+--- macro expansion @Generable -------------------------------------
| 8 | }
| 9 |
|10 | nonisolated public var generatedContent: GeneratedContent {
| | | `- error: 'GeneratedContent' is only available in macOS 26.0 or newer
| | `- note: add '@available' attribute to enclosing property
|11 | var properties = [(name: String, value: any ConvertibleToGeneratedContent)]()
|12 | addProperty(name: "filename", value: self.filename)
+--------------------------------------------------------------------
33 | }
34 |
macro expansion @Generable:30:20: error: 'GenerationID' is only available in macOS 26.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/WWTextReaderTool/WWTextReaderTool.swift:32:5: note: expanded code originates here
21 | extension WWTextReaderTool {
22 |
23 | @Generable
| |- note: in expansion of macro 'Generable' on struct 'Arguments' here
| `- note: in expansion of macro 'Generable' on struct 'Arguments' here
24 | public struct Arguments: Sendable {
25 |
:
30 | self.filename = filename
31 | }
32 | }
+--- macro expansion @Generable -------------------------------------
|27 | }
|28 |
|29 | nonisolated public struct PartiallyGenerated: Identifiable, nonisolated FoundationModels.ConvertibleFromGeneratedContent {
| | `- note: add '@available' attribute to enclosing struct
|30 | public var id: GenerationID
| | `- error: 'GenerationID' is only available in macOS 26.0 or newer
|31 | public var filename: String.PartiallyGenerated?
|32 | nonisolated public init(_ content: FoundationModels.GeneratedContent) throws {
+--------------------------------------------------------------------
33 | }
34 |
macro expansion @Generable:31:33: error: 'PartiallyGenerated' is only available in macOS 26.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/WWTextReaderTool/WWTextReaderTool.swift:32:5: note: expanded code originates here
21 | extension WWTextReaderTool {
22 |
23 | @Generable
| |- note: in expansion of macro 'Generable' on struct 'Arguments' here
| `- note: in expansion of macro 'Generable' on struct 'Arguments' here
24 | public struct Arguments: Sendable {
25 |
:
30 | self.filename = filename
31 | }
32 | }
+--- macro expansion @Generable -------------------------------------
|27 | }
|28 |
|29 | nonisolated public struct PartiallyGenerated: Identifiable, nonisolated FoundationModels.ConvertibleFromGeneratedContent {
| | `- note: add '@available' attribute to enclosing struct
|30 | public var id: GenerationID
|31 | public var filename: String.PartiallyGenerated?
| | `- error: 'PartiallyGenerated' is only available in macOS 26.0 or newer
|32 | nonisolated public init(_ content: FoundationModels.GeneratedContent) throws {
|33 | self.id = content.id ?? GenerationID()
+--------------------------------------------------------------------
33 | }
34 |
macro expansion @Generable:32:57: error: 'GeneratedContent' is only available in macOS 26.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/WWTextReaderTool/WWTextReaderTool.swift:32:5: note: expanded code originates here
21 | extension WWTextReaderTool {
22 |
23 | @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
24 | public struct Arguments: Sendable {
25 |
:
30 | self.filename = filename
31 | }
32 | }
+--- macro expansion @Generable -------------------------------------
|27 | }
|28 |
|29 | nonisolated public struct PartiallyGenerated: Identifiable, nonisolated FoundationModels.ConvertibleFromGeneratedContent {
| | `- note: add '@available' attribute to enclosing struct
|30 | public var id: GenerationID
|31 | public var filename: String.PartiallyGenerated?
|32 | 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
|33 | self.id = content.id ?? GenerationID()
|34 | self.filename = try content.value(forProperty: "filename")
+--------------------------------------------------------------------
33 | }
34 |
macro expansion @Generable:29:27: warning: protocol 'Identifiable' requires 'GenerationID' to be available in macOS 10.15 and newer; this will be an error in a future Swift language mode
`- /Users/admin/builder/spi-builder-workspace/Sources/WWTextReaderTool/WWTextReaderTool.swift:32:5: note: expanded code originates here
21 | extension WWTextReaderTool {
22 |
23 | @Generable
| `- note: in expansion of macro 'Generable' on struct 'Arguments' here
24 | public struct Arguments: Sendable {
25 |
:
30 | self.filename = filename
31 | }
32 | }
+--- macro expansion @Generable -------------------------------------
|27 | }
|28 |
|29 | nonisolated public struct PartiallyGenerated: Identifiable, nonisolated FoundationModels.ConvertibleFromGeneratedContent {
| | `- warning: protocol 'Identifiable' requires 'GenerationID' to be available in macOS 10.15 and newer; this will be an error in a future Swift language mode
|30 | public var id: GenerationID
|31 | public var filename: String.PartiallyGenerated?
+--------------------------------------------------------------------
33 | }
34 |
FoundationModels.GenerationID:4:15: note: 'GenerationID' declared here
2 | @available(tvOS, unavailable)
3 | @available(watchOS, unavailable)
4 | public struct GenerationID : Sendable, Hashable {
| `- note: 'GenerationID' declared here
5 | public init()
6 | public static func == (a: GenerationID, b: GenerationID) -> Bool
/Users/admin/builder/spi-builder-workspace/Sources/WWTextReaderTool/WWTextReaderTool.swift:23:6: error: 'Generable(description:)' is only available in macOS 26.0 or newer
21 | extension WWTextReaderTool {
22 |
23 | @Generable
| `- error: 'Generable(description:)' is only available in macOS 26.0 or newer
24 | public struct Arguments: Sendable {
| |- note: add '@available' attribute to enclosing struct
| `- note: add '@available' attribute to enclosing struct
25 |
26 | @Guide(description: "The filename to read from Documents directory.")
macro expansion @Generable:2:57: error: 'GeneratedContent' is only available in macOS 26.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/WWTextReaderTool/WWTextReaderTool.swift:33:2: note: expanded code originates here
21 | extension WWTextReaderTool {
22 |
23 | @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
24 | public struct Arguments: Sendable {
25 |
:
31 | }
32 | }
33 | }
+--- macro expansion @Generable -------------------------------------
|1 | extension WWTextReaderTool.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 | }
+--------------------------------------------------------------------
34 |
35 | public extension WWTextReaderTool {
[7/8] Compiling WWTextReaderTool Service.swift
/Users/admin/builder/spi-builder-workspace/Sources/WWTextReaderTool/Utility/Service.swift:27:27: error: 'documentsDirectory' is only available in macOS 13.0 or newer
16 | }
17 |
18 | extension WWTextReaderTool.Service {
| `- note: add '@available' attribute to enclosing extension
19 |
20 | /// 讀取檔案內容為純文字
:
23 | /// - encoding: 文字編碼 (預設 .utf8)
24 | /// - Returns: 檔案文字內容
25 | func readText(with filename: String, encoding: String.Encoding = .utf8) async throws -> String {
| `- note: add '@available' attribute to enclosing instance method
26 |
27 | let fileUrl = URL.documentsDirectory.appending(path: filename)
| |- error: 'documentsDirectory' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
28 |
29 | guard isReadable(fileUrl) else { throw WWTextReaderTool.CustomError.fileNotFound(fileUrl) }
/Users/admin/builder/spi-builder-workspace/Sources/WWTextReaderTool/Utility/Service.swift:27:46: error: 'appending(path:directoryHint:)' is only available in macOS 13.0 or newer
16 | }
17 |
18 | extension WWTextReaderTool.Service {
| `- note: add '@available' attribute to enclosing extension
19 |
20 | /// 讀取檔案內容為純文字
:
23 | /// - encoding: 文字編碼 (預設 .utf8)
24 | /// - Returns: 檔案文字內容
25 | func readText(with filename: String, encoding: String.Encoding = .utf8) async throws -> String {
| `- note: add '@available' attribute to enclosing instance method
26 |
27 | let fileUrl = URL.documentsDirectory.appending(path: filename)
| |- error: 'appending(path:directoryHint:)' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
28 |
29 | guard isReadable(fileUrl) else { throw WWTextReaderTool.CustomError.fileNotFound(fileUrl) }
/Users/admin/builder/spi-builder-workspace/Sources/WWTextReaderTool/Utility/Service.swift:42:52: error: 'path(percentEncoded:)' is only available in macOS 13.0 or newer
36 | }
37 |
38 | private extension WWTextReaderTool.Service {
| `- note: add '@available' attribute to enclosing extension
39 |
40 | /// 檢查檔案是否可讀
41 | func isReadable(_ url: URL) -> Bool {
| `- note: add '@available' attribute to enclosing instance method
42 | FileManager.default.fileExists(atPath: url.path())
| |- error: 'path(percentEncoded:)' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
43 | }
44 | }
[8/8] Compiling WWTextReaderTool WWTextReaderTool.swift
/Users/admin/builder/spi-builder-workspace/Sources/WWTextReaderTool/WWTextReaderTool.swift:23:6: error: 'Generable(description:)' is only available in macOS 26.0 or newer
19 | }
20 |
21 | extension WWTextReaderTool {
| `- note: add '@available' attribute to enclosing extension
22 |
23 | @Generable
| `- error: 'Generable(description:)' is only available in macOS 26.0 or newer
24 | public struct Arguments: Sendable {
25 |
/Users/admin/builder/spi-builder-workspace/Sources/WWTextReaderTool/WWTextReaderTool.swift:26:10: error: 'Guide(description:)' is only available in macOS 26.0 or newer
22 |
23 | @Generable
24 | public struct Arguments: Sendable {
| |- note: add '@available' attribute to enclosing struct
| `- note: add '@available' attribute to enclosing struct
25 |
26 | @Guide(description: "The filename to read from Documents directory.")
| `- error: 'Guide(description:)' is only available in macOS 26.0 or newer
27 | public var filename: String
28 |
macro expansion @Generable:1:66: error: 'GenerationSchema' is only available in macOS 26.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/WWTextReaderTool/WWTextReaderTool.swift:32:5: note: expanded code originates here
21 | extension WWTextReaderTool {
22 |
23 | @Generable
| |- note: in expansion of macro 'Generable' on struct 'Arguments' here
| `- note: in expansion of macro 'Generable' on struct 'Arguments' here
24 | public struct Arguments: Sendable {
| `- note: add '@available' attribute to enclosing struct
25 |
26 | @Guide(description: "The filename to read from Documents directory.")
:
30 | self.filename = filename
31 | }
32 | }
+--- 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,
+--------------------------------------------------------------------
33 | }
34 |
macro expansion @Generable:10:42: error: 'GeneratedContent' is only available in macOS 26.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/WWTextReaderTool/WWTextReaderTool.swift:32:5: note: expanded code originates here
21 | extension WWTextReaderTool {
22 |
23 | @Generable
| |- note: in expansion of macro 'Generable' on struct 'Arguments' here
| `- note: in expansion of macro 'Generable' on struct 'Arguments' here
24 | public struct Arguments: Sendable {
| `- note: add '@available' attribute to enclosing struct
25 |
26 | @Guide(description: "The filename to read from Documents directory.")
:
30 | self.filename = filename
31 | }
32 | }
+--- macro expansion @Generable -------------------------------------
| 8 | }
| 9 |
|10 | nonisolated public var generatedContent: GeneratedContent {
| | | `- error: 'GeneratedContent' is only available in macOS 26.0 or newer
| | `- note: add '@available' attribute to enclosing property
|11 | var properties = [(name: String, value: any ConvertibleToGeneratedContent)]()
|12 | addProperty(name: "filename", value: self.filename)
+--------------------------------------------------------------------
33 | }
34 |
macro expansion @Generable:30:20: error: 'GenerationID' is only available in macOS 26.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/WWTextReaderTool/WWTextReaderTool.swift:32:5: note: expanded code originates here
21 | extension WWTextReaderTool {
22 |
23 | @Generable
| |- note: in expansion of macro 'Generable' on struct 'Arguments' here
| `- note: in expansion of macro 'Generable' on struct 'Arguments' here
24 | public struct Arguments: Sendable {
25 |
:
30 | self.filename = filename
31 | }
32 | }
+--- macro expansion @Generable -------------------------------------
|27 | }
|28 |
|29 | nonisolated public struct PartiallyGenerated: Identifiable, nonisolated FoundationModels.ConvertibleFromGeneratedContent {
| | `- note: add '@available' attribute to enclosing struct
|30 | public var id: GenerationID
| | `- error: 'GenerationID' is only available in macOS 26.0 or newer
|31 | public var filename: String.PartiallyGenerated?
|32 | nonisolated public init(_ content: FoundationModels.GeneratedContent) throws {
+--------------------------------------------------------------------
33 | }
34 |
macro expansion @Generable:31:33: error: 'PartiallyGenerated' is only available in macOS 26.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/WWTextReaderTool/WWTextReaderTool.swift:32:5: note: expanded code originates here
21 | extension WWTextReaderTool {
22 |
23 | @Generable
| |- note: in expansion of macro 'Generable' on struct 'Arguments' here
| `- note: in expansion of macro 'Generable' on struct 'Arguments' here
24 | public struct Arguments: Sendable {
25 |
:
30 | self.filename = filename
31 | }
32 | }
+--- macro expansion @Generable -------------------------------------
|27 | }
|28 |
|29 | nonisolated public struct PartiallyGenerated: Identifiable, nonisolated FoundationModels.ConvertibleFromGeneratedContent {
| | `- note: add '@available' attribute to enclosing struct
|30 | public var id: GenerationID
|31 | public var filename: String.PartiallyGenerated?
| | `- error: 'PartiallyGenerated' is only available in macOS 26.0 or newer
|32 | nonisolated public init(_ content: FoundationModels.GeneratedContent) throws {
|33 | self.id = content.id ?? GenerationID()
+--------------------------------------------------------------------
33 | }
34 |
macro expansion @Generable:32:57: error: 'GeneratedContent' is only available in macOS 26.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/WWTextReaderTool/WWTextReaderTool.swift:32:5: note: expanded code originates here
21 | extension WWTextReaderTool {
22 |
23 | @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
24 | public struct Arguments: Sendable {
25 |
:
30 | self.filename = filename
31 | }
32 | }
+--- macro expansion @Generable -------------------------------------
|27 | }
|28 |
|29 | nonisolated public struct PartiallyGenerated: Identifiable, nonisolated FoundationModels.ConvertibleFromGeneratedContent {
| | `- note: add '@available' attribute to enclosing struct
|30 | public var id: GenerationID
|31 | public var filename: String.PartiallyGenerated?
|32 | 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
|33 | self.id = content.id ?? GenerationID()
|34 | self.filename = try content.value(forProperty: "filename")
+--------------------------------------------------------------------
33 | }
34 |
macro expansion @Generable:29:27: warning: protocol 'Identifiable' requires 'GenerationID' to be available in macOS 10.15 and newer; this will be an error in a future Swift language mode
`- /Users/admin/builder/spi-builder-workspace/Sources/WWTextReaderTool/WWTextReaderTool.swift:32:5: note: expanded code originates here
21 | extension WWTextReaderTool {
22 |
23 | @Generable
| `- note: in expansion of macro 'Generable' on struct 'Arguments' here
24 | public struct Arguments: Sendable {
25 |
:
30 | self.filename = filename
31 | }
32 | }
+--- macro expansion @Generable -------------------------------------
|27 | }
|28 |
|29 | nonisolated public struct PartiallyGenerated: Identifiable, nonisolated FoundationModels.ConvertibleFromGeneratedContent {
| | `- warning: protocol 'Identifiable' requires 'GenerationID' to be available in macOS 10.15 and newer; this will be an error in a future Swift language mode
|30 | public var id: GenerationID
|31 | public var filename: String.PartiallyGenerated?
+--------------------------------------------------------------------
33 | }
34 |
FoundationModels.GenerationID:4:15: note: 'GenerationID' declared here
2 | @available(tvOS, unavailable)
3 | @available(watchOS, unavailable)
4 | public struct GenerationID : Sendable, Hashable {
| `- note: 'GenerationID' declared here
5 | public init()
6 | public static func == (a: GenerationID, b: GenerationID) -> Bool
/Users/admin/builder/spi-builder-workspace/Sources/WWTextReaderTool/WWTextReaderTool.swift:23:6: error: 'Generable(description:)' is only available in macOS 26.0 or newer
21 | extension WWTextReaderTool {
22 |
23 | @Generable
| `- error: 'Generable(description:)' is only available in macOS 26.0 or newer
24 | public struct Arguments: Sendable {
| |- note: add '@available' attribute to enclosing struct
| `- note: add '@available' attribute to enclosing struct
25 |
26 | @Guide(description: "The filename to read from Documents directory.")
macro expansion @Generable:2:57: error: 'GeneratedContent' is only available in macOS 26.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/WWTextReaderTool/WWTextReaderTool.swift:33:2: note: expanded code originates here
21 | extension WWTextReaderTool {
22 |
23 | @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
24 | public struct Arguments: Sendable {
25 |
:
31 | }
32 | }
33 | }
+--- macro expansion @Generable -------------------------------------
|1 | extension WWTextReaderTool.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 | }
+--------------------------------------------------------------------
34 |
35 | public extension WWTextReaderTool {
macro expansion @Generable:2:22: error: 'GenerationSchema' is only available in macOS 26.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/WWTextReaderTool/WWTextReaderTool.swift:32:5: note: expanded code originates here
21 | extension WWTextReaderTool {
22 |
23 | @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
24 | public struct Arguments: Sendable {
| `- note: add '@available' attribute to enclosing struct
25 |
26 | @Guide(description: "The filename to read from Documents directory.")
:
30 | self.filename = filename
31 | }
32 | }
+--- macro expansion @Generable -------------------------------------
| 1 | nonisolated public static var generationSchema: FoundationModels.GenerationSchema {
| | `- note: add '@available' attribute to enclosing static property
| 2 | FoundationModels.GenerationSchema(
| | |- error: 'GenerationSchema' is only available in macOS 26.0 or newer
| | `- note: add 'if #available' version check
| 3 | type: Self.self,
| 4 | properties: [
+--------------------------------------------------------------------
33 | }
34 |
macro expansion @Generable:5:30: error: 'GenerationSchema' is only available in macOS 26.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/WWTextReaderTool/WWTextReaderTool.swift:32:5: note: expanded code originates here
21 | extension WWTextReaderTool {
22 |
23 | @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
24 | public struct Arguments: Sendable {
| `- note: add '@available' attribute to enclosing struct
25 |
26 | @Guide(description: "The filename to read from Documents directory.")
:
30 | self.filename = filename
31 | }
32 | }
+--- macro expansion @Generable -------------------------------------
| 1 | nonisolated public static var generationSchema: FoundationModels.GenerationSchema {
| | `- note: add '@available' attribute to enclosing static property
| 2 | FoundationModels.GenerationSchema(
| 3 | type: Self.self,
| 4 | properties: [
| 5 | FoundationModels.GenerationSchema.Property(name: "filename", description: "The filename to read from Documents directory.", type: String.self)
| | |- error: 'GenerationSchema' is only available in macOS 26.0 or newer
| | `- note: add 'if #available' version check
| 6 | ]
| 7 | )
+--------------------------------------------------------------------
33 | }
34 |
macro expansion @Generable:5:47: error: conformance of 'String' to 'Generable' is only available in macOS 26.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/WWTextReaderTool/WWTextReaderTool.swift:32:5: note: expanded code originates here
21 | extension WWTextReaderTool {
22 |
23 | @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
24 | public struct Arguments: Sendable {
| `- note: add '@available' attribute to enclosing struct
25 |
26 | @Guide(description: "The filename to read from Documents directory.")
:
30 | self.filename = filename
31 | }
32 | }
+--- macro expansion @Generable -------------------------------------
| 1 | nonisolated public static var generationSchema: FoundationModels.GenerationSchema {
| | `- note: add '@available' attribute to enclosing static property
| 2 | FoundationModels.GenerationSchema(
| 3 | type: Self.self,
| 4 | properties: [
| 5 | FoundationModels.GenerationSchema.Property(name: "filename", description: "The filename to read from Documents directory.", type: String.self)
| | |- error: conformance of 'String' to 'Generable' is only available in macOS 26.0 or newer
| | `- note: add 'if #available' version check
| 6 | ]
| 7 | )
+--------------------------------------------------------------------
33 | }
34 |
macro expansion @Generable:11:49: error: 'ConvertibleToGeneratedContent' is only available in macOS 26.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/WWTextReaderTool/WWTextReaderTool.swift:32:5: note: expanded code originates here
21 | extension WWTextReaderTool {
22 |
23 | @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
24 | public struct Arguments: Sendable {
| `- note: add '@available' attribute to enclosing struct
25 |
26 | @Guide(description: "The filename to read from Documents directory.")
:
30 | self.filename = filename
31 | }
32 | }
+--- macro expansion @Generable -------------------------------------
| 8 | }
| 9 |
|10 | nonisolated public var generatedContent: GeneratedContent {
| | `- note: add '@available' attribute to enclosing property
|11 | var properties = [(name: String, value: any ConvertibleToGeneratedContent)]()
| | |- error: 'ConvertibleToGeneratedContent' is only available in macOS 26.0 or newer
| | `- note: add 'if #available' version check
|12 | addProperty(name: "filename", value: self.filename)
|13 | return GeneratedContent(
+--------------------------------------------------------------------
33 | }
34 |
macro expansion @Generable:12:5: error: conformance of 'String' to 'Generable' is only available in macOS 26.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/WWTextReaderTool/WWTextReaderTool.swift:32:5: note: expanded code originates here
21 | extension WWTextReaderTool {
22 |
23 | @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
24 | public struct Arguments: Sendable {
| `- note: add '@available' attribute to enclosing struct
25 |
26 | @Guide(description: "The filename to read from Documents directory.")
:
30 | self.filename = filename
31 | }
32 | }
+--- macro expansion @Generable -------------------------------------
| 8 | }
| 9 |
|10 | nonisolated public var generatedContent: GeneratedContent {
| | `- note: add '@available' attribute to enclosing property
|11 | var properties = [(name: String, value: any ConvertibleToGeneratedContent)]()
|12 | addProperty(name: "filename", value: self.filename)
| | |- error: conformance of 'String' to 'Generable' is only available in macOS 26.0 or newer
| | `- note: add 'if #available' version check
|13 | return GeneratedContent(
|14 | properties: properties,
+--------------------------------------------------------------------
33 | }
34 |
macro expansion @Generable:13:12: error: 'GeneratedContent' is only available in macOS 26.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/WWTextReaderTool/WWTextReaderTool.swift:32:5: note: expanded code originates here
21 | extension WWTextReaderTool {
22 |
23 | @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
24 | public struct Arguments: Sendable {
| `- note: add '@available' attribute to enclosing struct
25 |
26 | @Guide(description: "The filename to read from Documents directory.")
:
30 | self.filename = filename
31 | }
32 | }
+--- macro expansion @Generable -------------------------------------
| 8 | }
| 9 |
|10 | nonisolated public var generatedContent: GeneratedContent {
| | `- note: add '@available' attribute to enclosing property
|11 | var properties = [(name: String, value: any ConvertibleToGeneratedContent)]()
|12 | addProperty(name: "filename", value: self.filename)
|13 | return GeneratedContent(
| | |- error: 'GeneratedContent' is only available in macOS 26.0 or newer
| | `- note: add 'if #available' version check
|14 | properties: properties,
|15 | uniquingKeysWith: { _, second in
+--------------------------------------------------------------------
33 | }
34 |
macro expansion @Generable:19:48: error: 'Generable' is only available in macOS 26.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/WWTextReaderTool/WWTextReaderTool.swift:32:5: note: expanded code originates here
21 | extension WWTextReaderTool {
22 |
23 | @Generable
| |- note: in expansion of macro 'Generable' on struct 'Arguments' here
| `- note: in expansion of macro 'Generable' on struct 'Arguments' here
24 | public struct Arguments: Sendable {
| `- note: add '@available' attribute to enclosing struct
25 |
26 | @Guide(description: "The filename to read from Documents directory.")
:
30 | self.filename = filename
31 | }
32 | }
+--- macro expansion @Generable -------------------------------------
| 8 | }
| 9 |
|10 | nonisolated public var generatedContent: GeneratedContent {
| | `- note: add '@available' attribute to enclosing property
|11 | var properties = [(name: String, value: any ConvertibleToGeneratedContent)]()
|12 | addProperty(name: "filename", value: self.filename)
| :
|17 | }
|18 | )
|19 | func addProperty(name: String, value: some Generable) {
| | `- error: 'Generable' is only available in macOS 26.0 or newer
|20 | properties.append((name, value))
|21 | }
+--------------------------------------------------------------------
33 | }
34 |
macro expansion @Generable:19:48: error: 'Generable' is only available in macOS 26.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/WWTextReaderTool/WWTextReaderTool.swift:32:5: note: expanded code originates here
21 | extension WWTextReaderTool {
22 |
23 | @Generable
| |- note: in expansion of macro 'Generable' on struct 'Arguments' here
| `- note: in expansion of macro 'Generable' on struct 'Arguments' here
24 | public struct Arguments: Sendable {
| `- note: add '@available' attribute to enclosing struct
25 |
26 | @Guide(description: "The filename to read from Documents directory.")
:
30 | self.filename = filename
31 | }
32 | }
+--- macro expansion @Generable -------------------------------------
| 8 | }
| 9 |
|10 | nonisolated public var generatedContent: GeneratedContent {
| | `- note: add '@available' attribute to enclosing property
|11 | var properties = [(name: String, value: any ConvertibleToGeneratedContent)]()
|12 | addProperty(name: "filename", value: self.filename)
| :
|17 | }
|18 | )
|19 | func addProperty(name: String, value: some Generable) {
| | `- error: 'Generable' is only available in macOS 26.0 or newer
|20 | properties.append((name, value))
|21 | }
+--------------------------------------------------------------------
33 | }
34 |
macro expansion @Generable:22:49: error: 'Generable' is only available in macOS 26.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/WWTextReaderTool/WWTextReaderTool.swift:32:5: note: expanded code originates here
21 | extension WWTextReaderTool {
22 |
23 | @Generable
| |- note: in expansion of macro 'Generable' on struct 'Arguments' here
| `- note: in expansion of macro 'Generable' on struct 'Arguments' here
24 | public struct Arguments: Sendable {
| `- note: add '@available' attribute to enclosing struct
25 |
26 | @Guide(description: "The filename to read from Documents directory.")
:
30 | self.filename = filename
31 | }
32 | }
+--- macro expansion @Generable -------------------------------------
| 8 | }
| 9 |
|10 | nonisolated public var generatedContent: GeneratedContent {
| | `- note: add '@available' attribute to enclosing property
|11 | var properties = [(name: String, value: any ConvertibleToGeneratedContent)]()
|12 | addProperty(name: "filename", value: self.filename)
| :
|20 | properties.append((name, value))
|21 | }
|22 | func addProperty(name: String, value: (some Generable)?) {
| | `- error: 'Generable' is only available in macOS 26.0 or newer
|23 | if let value {
|24 | properties.append((name, value))
+--------------------------------------------------------------------
33 | }
34 |
macro expansion @Generable:22:49: error: 'Generable' is only available in macOS 26.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/WWTextReaderTool/WWTextReaderTool.swift:32:5: note: expanded code originates here
21 | extension WWTextReaderTool {
22 |
23 | @Generable
| |- note: in expansion of macro 'Generable' on struct 'Arguments' here
| `- note: in expansion of macro 'Generable' on struct 'Arguments' here
24 | public struct Arguments: Sendable {
| `- note: add '@available' attribute to enclosing struct
25 |
26 | @Guide(description: "The filename to read from Documents directory.")
:
30 | self.filename = filename
31 | }
32 | }
+--- macro expansion @Generable -------------------------------------
| 8 | }
| 9 |
|10 | nonisolated public var generatedContent: GeneratedContent {
| | `- note: add '@available' attribute to enclosing property
|11 | var properties = [(name: String, value: any ConvertibleToGeneratedContent)]()
|12 | addProperty(name: "filename", value: self.filename)
| :
|20 | properties.append((name, value))
|21 | }
|22 | func addProperty(name: String, value: (some Generable)?) {
| | `- error: 'Generable' is only available in macOS 26.0 or newer
|23 | if let value {
|24 | properties.append((name, value))
+--------------------------------------------------------------------
33 | }
34 |
macro expansion @Generable:33:33: error: 'GenerationID' is only available in macOS 26.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/WWTextReaderTool/WWTextReaderTool.swift:32:5: note: expanded code originates here
21 | extension WWTextReaderTool {
22 |
23 | @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
| `- note: in expansion of macro 'Generable' on struct 'Arguments' here
24 | public struct Arguments: Sendable {
25 |
:
30 | self.filename = filename
31 | }
32 | }
+--- macro expansion @Generable -------------------------------------
|27 | }
|28 |
|29 | nonisolated public struct PartiallyGenerated: Identifiable, nonisolated FoundationModels.ConvertibleFromGeneratedContent {
| | `- note: add '@available' attribute to enclosing struct
|30 | public var id: GenerationID
|31 | public var filename: String.PartiallyGenerated?
|32 | nonisolated public init(_ content: FoundationModels.GeneratedContent) throws {
| | `- note: add '@available' attribute to enclosing initializer
|33 | self.id = content.id ?? GenerationID()
| | |- error: 'GenerationID' is only available in macOS 26.0 or newer
| | `- note: add 'if #available' version check
|34 | self.filename = try content.value(forProperty: "filename")
|35 | }
+--------------------------------------------------------------------
33 | }
34 |
macro expansion @Generable:34:37: error: conformance of 'String' to 'ConvertibleFromGeneratedContent' is only available in macOS 26.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/WWTextReaderTool/WWTextReaderTool.swift:32:5: note: expanded code originates here
21 | extension WWTextReaderTool {
22 |
23 | @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
| `- note: in expansion of macro 'Generable' on struct 'Arguments' here
24 | public struct Arguments: Sendable {
25 |
:
30 | self.filename = filename
31 | }
32 | }
+--- macro expansion @Generable -------------------------------------
|27 | }
|28 |
|29 | nonisolated public struct PartiallyGenerated: Identifiable, nonisolated FoundationModels.ConvertibleFromGeneratedContent {
| | `- note: add '@available' attribute to enclosing struct
|30 | public var id: GenerationID
|31 | public var filename: String.PartiallyGenerated?
|32 | nonisolated public init(_ content: FoundationModels.GeneratedContent) throws {
| | `- note: add '@available' attribute to enclosing initializer
|33 | self.id = content.id ?? GenerationID()
|34 | self.filename = try content.value(forProperty: "filename")
| | |- error: conformance of 'String' to 'ConvertibleFromGeneratedContent' is only available in macOS 26.0 or newer
| | `- note: add 'if #available' version check
|35 | }
|36 | }
+--------------------------------------------------------------------
33 | }
34 |
macro expansion @Generable:3:37: error: conformance of 'String' to 'ConvertibleFromGeneratedContent' is only available in macOS 26.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/WWTextReaderTool/WWTextReaderTool.swift:33:2: note: expanded code originates here
21 | extension WWTextReaderTool {
22 |
23 | @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
| `- note: in expansion of macro 'Generable' on struct 'Arguments' here
24 | public struct Arguments: Sendable {
25 |
:
31 | }
32 | }
33 | }
+--- macro expansion @Generable -------------------------------------
|1 | extension WWTextReaderTool.Arguments: nonisolated FoundationModels.Generable {
| | `- note: add '@available' attribute to enclosing extension
|2 | nonisolated public init(_ content: FoundationModels.GeneratedContent) throws {
| | `- note: add '@available' attribute to enclosing initializer
|3 | self.filename = try content.value(forProperty: "filename")
| | |- error: conformance of 'String' to 'ConvertibleFromGeneratedContent' is only available in macOS 26.0 or newer
| | `- note: add 'if #available' version check
|4 | }
|5 | }
+--------------------------------------------------------------------
34 |
35 | public extension WWTextReaderTool {
BUILD FAILURE 6.2 macosSpm