Build Information
Failed to build WWHttpFetchTool, reference main (359ab7), with Swift 6.2 for macOS (SPM) on 28 Jun 2026 07:52:06 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/WWHttpFetchTool.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/William-Weng/WWHttpFetchTool
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 359ab7c Update README.en.md
Cloned https://github.com/William-Weng/WWHttpFetchTool.git
Revision (git rev-parse @):
359ab7c87f7ce4bd27473d1aea5bf3a9d134fbcd
SUCCESS checkout https://github.com/William-Weng/WWHttpFetchTool.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.2
Building package at path: $PWD
https://github.com/William-Weng/WWHttpFetchTool.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 WWHttpFetchTool resource_bundle_accessor.swift
[5/8] Emitting module WWHttpFetchTool
/Users/admin/builder/spi-builder-workspace/Sources/WWHttpFetchTool/WWHttpFetchTool.swift:41:6: error: 'Generable(description:)' is only available in macOS 26.0 or newer
22 | }
23 |
24 | extension WWHttpFetchTool {
| `- note: add '@available' attribute to enclosing extension
25 |
26 | @Generable
:
39 | }
40 |
41 | @Generable
| `- error: 'Generable(description:)' is only available in macOS 26.0 or newer
42 | public struct Arguments: Sendable {
43 |
/Users/admin/builder/spi-builder-workspace/Sources/WWHttpFetchTool/WWHttpFetchTool.swift:26:6: error: 'Generable(description:)' is only available in macOS 26.0 or newer
22 | }
23 |
24 | extension WWHttpFetchTool {
| `- note: add '@available' attribute to enclosing extension
25 |
26 | @Generable
| `- error: 'Generable(description:)' is only available in macOS 26.0 or newer
27 | public struct HeaderItem: Sendable {
28 |
/Users/admin/builder/spi-builder-workspace/Sources/WWHttpFetchTool/WWHttpFetchTool.swift:29:10: error: 'Guide(description:)' is only available in macOS 26.0 or newer
25 |
26 | @Generable
27 | public struct HeaderItem: Sendable {
| |- note: add '@available' attribute to enclosing struct
| `- note: add '@available' attribute to enclosing struct
28 |
29 | @Guide(description: "Header name.")
| `- error: 'Guide(description:)' is only available in macOS 26.0 or newer
30 | public var name: String
31 |
/Users/admin/builder/spi-builder-workspace/Sources/WWHttpFetchTool/WWHttpFetchTool.swift:32:10: error: 'Guide(description:)' is only available in macOS 26.0 or newer
25 |
26 | @Generable
27 | public struct HeaderItem: Sendable {
| |- note: add '@available' attribute to enclosing struct
| `- note: add '@available' attribute to enclosing struct
28 |
29 | @Guide(description: "Header name.")
30 | public var name: String
31 |
32 | @Guide(description: "Header value.")
| `- error: 'Guide(description:)' is only available in macOS 26.0 or newer
33 | public var value: String
34 |
macro expansion @Generable:1:66: error: 'GenerationSchema' is only available in macOS 26.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/WWHttpFetchTool/WWHttpFetchTool.swift:39:5: note: expanded code originates here
24 | extension WWHttpFetchTool {
25 |
26 | @Generable
| |- note: in expansion of macro 'Generable' on struct 'HeaderItem' here
| `- note: in expansion of macro 'Generable' on struct 'HeaderItem' here
27 | public struct HeaderItem: Sendable {
| `- note: add '@available' attribute to enclosing struct
28 |
29 | @Guide(description: "Header name.")
:
37 | self.value = value
38 | }
39 | }
+--- 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,
+--------------------------------------------------------------------
40 |
41 | @Generable
macro expansion @Generable:11:42: error: 'GeneratedContent' is only available in macOS 26.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/WWHttpFetchTool/WWHttpFetchTool.swift:39:5: note: expanded code originates here
24 | extension WWHttpFetchTool {
25 |
26 | @Generable
| |- note: in expansion of macro 'Generable' on struct 'HeaderItem' here
| `- note: in expansion of macro 'Generable' on struct 'HeaderItem' here
27 | public struct HeaderItem: Sendable {
| `- note: add '@available' attribute to enclosing struct
28 |
29 | @Guide(description: "Header name.")
:
37 | self.value = value
38 | }
39 | }
+--- 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 | var properties = [(name: String, value: any ConvertibleToGeneratedContent)]()
|13 | addProperty(name: "name", value: self.name)
+--------------------------------------------------------------------
40 |
41 | @Generable
macro expansion @Generable:32:20: error: 'GenerationID' is only available in macOS 26.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/WWHttpFetchTool/WWHttpFetchTool.swift:39:5: note: expanded code originates here
24 | extension WWHttpFetchTool {
25 |
26 | @Generable
| |- note: in expansion of macro 'Generable' on struct 'HeaderItem' here
| `- note: in expansion of macro 'Generable' on struct 'HeaderItem' here
27 | public struct HeaderItem: Sendable {
28 |
:
37 | self.value = value
38 | }
39 | }
+--- macro expansion @Generable -------------------------------------
|29 | }
|30 |
|31 | nonisolated public struct PartiallyGenerated: Identifiable, nonisolated FoundationModels.ConvertibleFromGeneratedContent {
| | `- note: add '@available' attribute to enclosing struct
|32 | public var id: GenerationID
| | `- error: 'GenerationID' is only available in macOS 26.0 or newer
|33 | public var name: String.PartiallyGenerated?
|34 | public var value: String.PartiallyGenerated?
+--------------------------------------------------------------------
40 |
41 | @Generable
macro expansion @Generable:33:29: error: 'PartiallyGenerated' is only available in macOS 26.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/WWHttpFetchTool/WWHttpFetchTool.swift:39:5: note: expanded code originates here
24 | extension WWHttpFetchTool {
25 |
26 | @Generable
| |- note: in expansion of macro 'Generable' on struct 'HeaderItem' here
| `- note: in expansion of macro 'Generable' on struct 'HeaderItem' here
27 | public struct HeaderItem: Sendable {
28 |
:
37 | self.value = value
38 | }
39 | }
+--- macro expansion @Generable -------------------------------------
|29 | }
|30 |
|31 | nonisolated public struct PartiallyGenerated: Identifiable, nonisolated FoundationModels.ConvertibleFromGeneratedContent {
| | `- note: add '@available' attribute to enclosing struct
|32 | public var id: GenerationID
|33 | public var name: String.PartiallyGenerated?
| | `- error: 'PartiallyGenerated' is only available in macOS 26.0 or newer
|34 | public var value: String.PartiallyGenerated?
|35 | nonisolated public init(_ content: FoundationModels.GeneratedContent) throws {
+--------------------------------------------------------------------
40 |
41 | @Generable
macro expansion @Generable:34:30: error: 'PartiallyGenerated' is only available in macOS 26.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/WWHttpFetchTool/WWHttpFetchTool.swift:39:5: note: expanded code originates here
24 | extension WWHttpFetchTool {
25 |
26 | @Generable
| |- note: in expansion of macro 'Generable' on struct 'HeaderItem' here
| `- note: in expansion of macro 'Generable' on struct 'HeaderItem' here
27 | public struct HeaderItem: Sendable {
28 |
:
37 | self.value = value
38 | }
39 | }
+--- macro expansion @Generable -------------------------------------
|29 | }
|30 |
|31 | nonisolated public struct PartiallyGenerated: Identifiable, nonisolated FoundationModels.ConvertibleFromGeneratedContent {
| | `- note: add '@available' attribute to enclosing struct
|32 | public var id: GenerationID
|33 | public var name: String.PartiallyGenerated?
|34 | public var value: String.PartiallyGenerated?
| | `- error: 'PartiallyGenerated' is only available in macOS 26.0 or newer
|35 | nonisolated public init(_ content: FoundationModels.GeneratedContent) throws {
|36 | self.id = content.id ?? GenerationID()
+--------------------------------------------------------------------
40 |
41 | @Generable
macro expansion @Generable:35:57: error: 'GeneratedContent' is only available in macOS 26.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/WWHttpFetchTool/WWHttpFetchTool.swift:39:5: note: expanded code originates here
24 | extension WWHttpFetchTool {
25 |
26 | @Generable
| |- note: in expansion of macro 'Generable' on struct 'HeaderItem' here
| |- note: in expansion of macro 'Generable' on struct 'HeaderItem' here
| `- note: in expansion of macro 'Generable' on struct 'HeaderItem' here
27 | public struct HeaderItem: Sendable {
28 |
:
37 | self.value = value
38 | }
39 | }
+--- macro expansion @Generable -------------------------------------
|29 | }
|30 |
|31 | nonisolated public struct PartiallyGenerated: Identifiable, nonisolated FoundationModels.ConvertibleFromGeneratedContent {
| | `- note: add '@available' attribute to enclosing struct
|32 | public var id: GenerationID
|33 | public var name: String.PartiallyGenerated?
|34 | public var value: String.PartiallyGenerated?
|35 | 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
|36 | self.id = content.id ?? GenerationID()
|37 | self.name = try content.value(forProperty: "name")
+--------------------------------------------------------------------
40 |
41 | @Generable
macro expansion @Generable:31: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/WWHttpFetchTool/WWHttpFetchTool.swift:39:5: note: expanded code originates here
24 | extension WWHttpFetchTool {
25 |
26 | @Generable
| `- note: in expansion of macro 'Generable' on struct 'HeaderItem' here
27 | public struct HeaderItem: Sendable {
28 |
:
37 | self.value = value
38 | }
39 | }
+--- macro expansion @Generable -------------------------------------
|29 | }
|30 |
|31 | 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
|32 | public var id: GenerationID
|33 | public var name: String.PartiallyGenerated?
+--------------------------------------------------------------------
40 |
41 | @Generable
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/WWHttpFetchTool/WWHttpFetchTool.swift:26:6: error: 'Generable(description:)' is only available in macOS 26.0 or newer
24 | extension WWHttpFetchTool {
25 |
26 | @Generable
| `- error: 'Generable(description:)' is only available in macOS 26.0 or newer
27 | public struct HeaderItem: Sendable {
| |- note: add '@available' attribute to enclosing struct
| `- note: add '@available' attribute to enclosing struct
28 |
29 | @Guide(description: "Header name.")
/Users/admin/builder/spi-builder-workspace/Sources/WWHttpFetchTool/WWHttpFetchTool.swift:44:10: error: 'Guide(description:)' is only available in macOS 26.0 or newer
40 |
41 | @Generable
42 | public struct Arguments: Sendable {
| |- note: add '@available' attribute to enclosing struct
| `- note: add '@available' attribute to enclosing struct
43 |
44 | @Guide(description: "The URL to fetch.")
| `- error: 'Guide(description:)' is only available in macOS 26.0 or newer
45 | public var url: String
46 |
/Users/admin/builder/spi-builder-workspace/Sources/WWHttpFetchTool/WWHttpFetchTool.swift:47:10: error: 'Guide(description:)' is only available in macOS 26.0 or newer
40 |
41 | @Generable
42 | public struct Arguments: Sendable {
| |- note: add '@available' attribute to enclosing struct
| `- note: add '@available' attribute to enclosing struct
43 |
44 | @Guide(description: "The URL to fetch.")
45 | public var url: String
46 |
47 | @Guide(description: "HTTP method, for example GET or POST.")
| `- error: 'Guide(description:)' is only available in macOS 26.0 or newer
48 | public var method: String?
49 |
/Users/admin/builder/spi-builder-workspace/Sources/WWHttpFetchTool/WWHttpFetchTool.swift:50:10: error: 'Guide(description:)' is only available in macOS 26.0 or newer
40 |
41 | @Generable
42 | public struct Arguments: Sendable {
| |- note: add '@available' attribute to enclosing struct
| `- note: add '@available' attribute to enclosing struct
43 |
44 | @Guide(description: "The URL to fetch.")
:
48 | public var method: String?
49 |
50 | @Guide(description: "Optional mode: auto, text, html, or json.")
| `- error: 'Guide(description:)' is only available in macOS 26.0 or newer
51 | public var mode: String?
52 |
/Users/admin/builder/spi-builder-workspace/Sources/WWHttpFetchTool/WWHttpFetchTool.swift:53:10: error: 'Guide(description:)' is only available in macOS 26.0 or newer
40 |
41 | @Generable
42 | public struct Arguments: Sendable {
| |- note: add '@available' attribute to enclosing struct
| `- note: add '@available' attribute to enclosing struct
43 |
44 | @Guide(description: "The URL to fetch.")
:
51 | public var mode: String?
52 |
53 | @Guide(description: "Optional headers as name-value pairs.")
| `- error: 'Guide(description:)' is only available in macOS 26.0 or newer
54 | public var headers: [HeaderItem]?
55 |
macro expansion @Generable:1:66: error: 'GenerationSchema' is only available in macOS 26.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/WWHttpFetchTool/WWHttpFetchTool.swift:62:5: note: expanded code originates here
39 | }
40 |
41 | @Generable
| |- note: in expansion of macro 'Generable' on struct 'Arguments' here
| `- note: in expansion of macro 'Generable' on struct 'Arguments' here
42 | public struct Arguments: Sendable {
| `- note: add '@available' attribute to enclosing struct
43 |
44 | @Guide(description: "The URL to fetch.")
:
60 | self.headers = headers
61 | }
62 | }
+--- 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,
+--------------------------------------------------------------------
63 | }
64 |
macro expansion @Generable:13:42: error: 'GeneratedContent' is only available in macOS 26.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/WWHttpFetchTool/WWHttpFetchTool.swift:62:5: note: expanded code originates here
39 | }
40 |
41 | @Generable
| |- note: in expansion of macro 'Generable' on struct 'Arguments' here
| `- note: in expansion of macro 'Generable' on struct 'Arguments' here
42 | public struct Arguments: Sendable {
| `- note: add '@available' attribute to enclosing struct
43 |
44 | @Guide(description: "The URL to fetch.")
:
60 | self.headers = headers
61 | }
62 | }
+--- macro expansion @Generable -------------------------------------
|11 | }
|12 |
|13 | nonisolated public var generatedContent: GeneratedContent {
| | | `- error: 'GeneratedContent' is only available in macOS 26.0 or newer
| | `- note: add '@available' attribute to enclosing property
|14 | var properties = [(name: String, value: any ConvertibleToGeneratedContent)]()
|15 | addProperty(name: "url", value: self.url)
+--------------------------------------------------------------------
63 | }
64 |
macro expansion @Generable:36:20: error: 'GenerationID' is only available in macOS 26.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/WWHttpFetchTool/WWHttpFetchTool.swift:62:5: note: expanded code originates here
39 | }
40 |
41 | @Generable
| |- note: in expansion of macro 'Generable' on struct 'Arguments' here
| `- note: in expansion of macro 'Generable' on struct 'Arguments' here
42 | public struct Arguments: Sendable {
43 |
:
60 | self.headers = headers
61 | }
62 | }
+--- macro expansion @Generable -------------------------------------
|33 | }
|34 |
|35 | nonisolated public struct PartiallyGenerated: Identifiable, nonisolated FoundationModels.ConvertibleFromGeneratedContent {
| | `- note: add '@available' attribute to enclosing struct
|36 | public var id: GenerationID
| | `- error: 'GenerationID' is only available in macOS 26.0 or newer
|37 | public var url: String.PartiallyGenerated?
|38 | public var method: String?.PartiallyGenerated?
+--------------------------------------------------------------------
63 | }
64 |
macro expansion @Generable:37:28: error: 'PartiallyGenerated' is only available in macOS 26.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/WWHttpFetchTool/WWHttpFetchTool.swift:62:5: note: expanded code originates here
39 | }
40 |
41 | @Generable
| |- note: in expansion of macro 'Generable' on struct 'Arguments' here
| `- note: in expansion of macro 'Generable' on struct 'Arguments' here
42 | public struct Arguments: Sendable {
43 |
:
60 | self.headers = headers
61 | }
62 | }
+--- macro expansion @Generable -------------------------------------
|33 | }
|34 |
|35 | nonisolated public struct PartiallyGenerated: Identifiable, nonisolated FoundationModels.ConvertibleFromGeneratedContent {
| | `- note: add '@available' attribute to enclosing struct
|36 | public var id: GenerationID
|37 | public var url: String.PartiallyGenerated?
| | `- error: 'PartiallyGenerated' is only available in macOS 26.0 or newer
|38 | public var method: String?.PartiallyGenerated?
|39 | public var mode: String?.PartiallyGenerated?
+--------------------------------------------------------------------
63 | }
64 |
macro expansion @Generable:38:32: error: 'PartiallyGenerated' is only available in macOS 26.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/WWHttpFetchTool/WWHttpFetchTool.swift:62:5: note: expanded code originates here
39 | }
40 |
41 | @Generable
| |- note: in expansion of macro 'Generable' on struct 'Arguments' here
| `- note: in expansion of macro 'Generable' on struct 'Arguments' here
42 | public struct Arguments: Sendable {
43 |
:
60 | self.headers = headers
61 | }
62 | }
+--- macro expansion @Generable -------------------------------------
|33 | }
|34 |
|35 | nonisolated public struct PartiallyGenerated: Identifiable, nonisolated FoundationModels.ConvertibleFromGeneratedContent {
| | `- note: add '@available' attribute to enclosing struct
|36 | public var id: GenerationID
|37 | public var url: String.PartiallyGenerated?
|38 | public var method: String?.PartiallyGenerated?
| | `- error: 'PartiallyGenerated' is only available in macOS 26.0 or newer
|39 | public var mode: String?.PartiallyGenerated?
|40 | public var headers: [HeaderItem]?.PartiallyGenerated?
+--------------------------------------------------------------------
63 | }
64 |
macro expansion @Generable:39:30: error: 'PartiallyGenerated' is only available in macOS 26.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/WWHttpFetchTool/WWHttpFetchTool.swift:62:5: note: expanded code originates here
39 | }
40 |
41 | @Generable
| |- note: in expansion of macro 'Generable' on struct 'Arguments' here
| `- note: in expansion of macro 'Generable' on struct 'Arguments' here
42 | public struct Arguments: Sendable {
43 |
:
60 | self.headers = headers
61 | }
62 | }
+--- macro expansion @Generable -------------------------------------
|33 | }
|34 |
|35 | nonisolated public struct PartiallyGenerated: Identifiable, nonisolated FoundationModels.ConvertibleFromGeneratedContent {
| | `- note: add '@available' attribute to enclosing struct
|36 | public var id: GenerationID
|37 | public var url: String.PartiallyGenerated?
|38 | public var method: String?.PartiallyGenerated?
|39 | public var mode: String?.PartiallyGenerated?
| | `- error: 'PartiallyGenerated' is only available in macOS 26.0 or newer
|40 | public var headers: [HeaderItem]?.PartiallyGenerated?
|41 | nonisolated public init(_ content: FoundationModels.GeneratedContent) throws {
+--------------------------------------------------------------------
63 | }
64 |
macro expansion @Generable:40:39: error: 'PartiallyGenerated' is only available in macOS 26.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/WWHttpFetchTool/WWHttpFetchTool.swift:62:5: note: expanded code originates here
39 | }
40 |
41 | @Generable
| |- note: in expansion of macro 'Generable' on struct 'Arguments' here
| `- note: in expansion of macro 'Generable' on struct 'Arguments' here
42 | public struct Arguments: Sendable {
43 |
:
60 | self.headers = headers
61 | }
62 | }
+--- macro expansion @Generable -------------------------------------
|33 | }
|34 |
|35 | nonisolated public struct PartiallyGenerated: Identifiable, nonisolated FoundationModels.ConvertibleFromGeneratedContent {
| | `- note: add '@available' attribute to enclosing struct
|36 | public var id: GenerationID
|37 | public var url: String.PartiallyGenerated?
|38 | public var method: String?.PartiallyGenerated?
|39 | public var mode: String?.PartiallyGenerated?
|40 | public var headers: [HeaderItem]?.PartiallyGenerated?
| | `- error: 'PartiallyGenerated' is only available in macOS 26.0 or newer
|41 | nonisolated public init(_ content: FoundationModels.GeneratedContent) throws {
|42 | self.id = content.id ?? GenerationID()
+--------------------------------------------------------------------
63 | }
64 |
macro expansion @Generable:41:57: error: 'GeneratedContent' is only available in macOS 26.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/WWHttpFetchTool/WWHttpFetchTool.swift:62:5: note: expanded code originates here
39 | }
40 |
41 | @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
42 | public struct Arguments: Sendable {
43 |
:
60 | self.headers = headers
61 | }
62 | }
+--- macro expansion @Generable -------------------------------------
|33 | }
|34 |
|35 | nonisolated public struct PartiallyGenerated: Identifiable, nonisolated FoundationModels.ConvertibleFromGeneratedContent {
| | `- note: add '@available' attribute to enclosing struct
|36 | public var id: GenerationID
|37 | public var url: String.PartiallyGenerated?
| :
|39 | public var mode: String?.PartiallyGenerated?
|40 | public var headers: [HeaderItem]?.PartiallyGenerated?
|41 | 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
|42 | self.id = content.id ?? GenerationID()
|43 | self.url = try content.value(forProperty: "url")
+--------------------------------------------------------------------
63 | }
64 |
macro expansion @Generable:35: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/WWHttpFetchTool/WWHttpFetchTool.swift:62:5: note: expanded code originates here
39 | }
40 |
41 | @Generable
| `- note: in expansion of macro 'Generable' on struct 'Arguments' here
42 | public struct Arguments: Sendable {
43 |
:
60 | self.headers = headers
61 | }
62 | }
+--- macro expansion @Generable -------------------------------------
|33 | }
|34 |
|35 | 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
|36 | public var id: GenerationID
|37 | public var url: String.PartiallyGenerated?
+--------------------------------------------------------------------
63 | }
64 |
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/WWHttpFetchTool/WWHttpFetchTool.swift:41:6: error: 'Generable(description:)' is only available in macOS 26.0 or newer
39 | }
40 |
41 | @Generable
| `- error: 'Generable(description:)' is only available in macOS 26.0 or newer
42 | public struct Arguments: Sendable {
| |- note: add '@available' attribute to enclosing struct
| `- note: add '@available' attribute to enclosing struct
43 |
44 | @Guide(description: "The URL to fetch.")
macro expansion @Generable:2:57: error: 'GeneratedContent' is only available in macOS 26.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/WWHttpFetchTool/WWHttpFetchTool.swift:63:2: note: expanded code originates here
39 | }
40 |
41 | @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
42 | public struct Arguments: Sendable {
43 |
:
61 | }
62 | }
63 | }
+--- macro expansion @Generable -------------------------------------
|1 | extension WWHttpFetchTool.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.url = try content.value(forProperty: "url")
|4 | self.method = try content.value(forProperty: "method")
+--------------------------------------------------------------------
64 |
65 | public extension WWHttpFetchTool {
macro expansion @Generable:2:57: error: 'GeneratedContent' is only available in macOS 26.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/WWHttpFetchTool/WWHttpFetchTool.swift:63:2: note: expanded code originates here
24 | extension WWHttpFetchTool {
25 |
26 | @Generable
| |- note: in expansion of macro 'Generable' on struct 'HeaderItem' here
| |- note: in expansion of macro 'Generable' on struct 'HeaderItem' here
| `- note: in expansion of macro 'Generable' on struct 'HeaderItem' here
27 | public struct HeaderItem: Sendable {
28 |
:
61 | }
62 | }
63 | }
+--- macro expansion @Generable -------------------------------------
|1 | extension WWHttpFetchTool.HeaderItem: 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.name = try content.value(forProperty: "name")
|4 | self.value = try content.value(forProperty: "value")
+--------------------------------------------------------------------
64 |
65 | public extension WWHttpFetchTool {
[6/8] Compiling WWHttpFetchTool Error.swift
[7/8] Compiling WWHttpFetchTool WWHttpFetchTool.swift
/Users/admin/builder/spi-builder-workspace/Sources/WWHttpFetchTool/WWHttpFetchTool.swift:41:6: error: 'Generable(description:)' is only available in macOS 26.0 or newer
22 | }
23 |
24 | extension WWHttpFetchTool {
| `- note: add '@available' attribute to enclosing extension
25 |
26 | @Generable
:
39 | }
40 |
41 | @Generable
| `- error: 'Generable(description:)' is only available in macOS 26.0 or newer
42 | public struct Arguments: Sendable {
43 |
/Users/admin/builder/spi-builder-workspace/Sources/WWHttpFetchTool/WWHttpFetchTool.swift:26:6: error: 'Generable(description:)' is only available in macOS 26.0 or newer
22 | }
23 |
24 | extension WWHttpFetchTool {
| `- note: add '@available' attribute to enclosing extension
25 |
26 | @Generable
| `- error: 'Generable(description:)' is only available in macOS 26.0 or newer
27 | public struct HeaderItem: Sendable {
28 |
/Users/admin/builder/spi-builder-workspace/Sources/WWHttpFetchTool/WWHttpFetchTool.swift:29:10: error: 'Guide(description:)' is only available in macOS 26.0 or newer
25 |
26 | @Generable
27 | public struct HeaderItem: Sendable {
| |- note: add '@available' attribute to enclosing struct
| `- note: add '@available' attribute to enclosing struct
28 |
29 | @Guide(description: "Header name.")
| `- error: 'Guide(description:)' is only available in macOS 26.0 or newer
30 | public var name: String
31 |
/Users/admin/builder/spi-builder-workspace/Sources/WWHttpFetchTool/WWHttpFetchTool.swift:32:10: error: 'Guide(description:)' is only available in macOS 26.0 or newer
25 |
26 | @Generable
27 | public struct HeaderItem: Sendable {
| |- note: add '@available' attribute to enclosing struct
| `- note: add '@available' attribute to enclosing struct
28 |
29 | @Guide(description: "Header name.")
30 | public var name: String
31 |
32 | @Guide(description: "Header value.")
| `- error: 'Guide(description:)' is only available in macOS 26.0 or newer
33 | public var value: String
34 |
macro expansion @Generable:1:66: error: 'GenerationSchema' is only available in macOS 26.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/WWHttpFetchTool/WWHttpFetchTool.swift:39:5: note: expanded code originates here
24 | extension WWHttpFetchTool {
25 |
26 | @Generable
| |- note: in expansion of macro 'Generable' on struct 'HeaderItem' here
| `- note: in expansion of macro 'Generable' on struct 'HeaderItem' here
27 | public struct HeaderItem: Sendable {
| `- note: add '@available' attribute to enclosing struct
28 |
29 | @Guide(description: "Header name.")
:
37 | self.value = value
38 | }
39 | }
+--- 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,
+--------------------------------------------------------------------
40 |
41 | @Generable
macro expansion @Generable:11:42: error: 'GeneratedContent' is only available in macOS 26.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/WWHttpFetchTool/WWHttpFetchTool.swift:39:5: note: expanded code originates here
24 | extension WWHttpFetchTool {
25 |
26 | @Generable
| |- note: in expansion of macro 'Generable' on struct 'HeaderItem' here
| `- note: in expansion of macro 'Generable' on struct 'HeaderItem' here
27 | public struct HeaderItem: Sendable {
| `- note: add '@available' attribute to enclosing struct
28 |
29 | @Guide(description: "Header name.")
:
37 | self.value = value
38 | }
39 | }
+--- 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 | var properties = [(name: String, value: any ConvertibleToGeneratedContent)]()
|13 | addProperty(name: "name", value: self.name)
+--------------------------------------------------------------------
40 |
41 | @Generable
macro expansion @Generable:32:20: error: 'GenerationID' is only available in macOS 26.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/WWHttpFetchTool/WWHttpFetchTool.swift:39:5: note: expanded code originates here
24 | extension WWHttpFetchTool {
25 |
26 | @Generable
| |- note: in expansion of macro 'Generable' on struct 'HeaderItem' here
| `- note: in expansion of macro 'Generable' on struct 'HeaderItem' here
27 | public struct HeaderItem: Sendable {
28 |
:
37 | self.value = value
38 | }
39 | }
+--- macro expansion @Generable -------------------------------------
|29 | }
|30 |
|31 | nonisolated public struct PartiallyGenerated: Identifiable, nonisolated FoundationModels.ConvertibleFromGeneratedContent {
| | `- note: add '@available' attribute to enclosing struct
|32 | public var id: GenerationID
| | `- error: 'GenerationID' is only available in macOS 26.0 or newer
|33 | public var name: String.PartiallyGenerated?
|34 | public var value: String.PartiallyGenerated?
+--------------------------------------------------------------------
40 |
41 | @Generable
macro expansion @Generable:33:29: error: 'PartiallyGenerated' is only available in macOS 26.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/WWHttpFetchTool/WWHttpFetchTool.swift:39:5: note: expanded code originates here
24 | extension WWHttpFetchTool {
25 |
26 | @Generable
| |- note: in expansion of macro 'Generable' on struct 'HeaderItem' here
| `- note: in expansion of macro 'Generable' on struct 'HeaderItem' here
27 | public struct HeaderItem: Sendable {
28 |
:
37 | self.value = value
38 | }
39 | }
+--- macro expansion @Generable -------------------------------------
|29 | }
|30 |
|31 | nonisolated public struct PartiallyGenerated: Identifiable, nonisolated FoundationModels.ConvertibleFromGeneratedContent {
| | `- note: add '@available' attribute to enclosing struct
|32 | public var id: GenerationID
|33 | public var name: String.PartiallyGenerated?
| | `- error: 'PartiallyGenerated' is only available in macOS 26.0 or newer
|34 | public var value: String.PartiallyGenerated?
|35 | nonisolated public init(_ content: FoundationModels.GeneratedContent) throws {
+--------------------------------------------------------------------
40 |
41 | @Generable
macro expansion @Generable:34:30: error: 'PartiallyGenerated' is only available in macOS 26.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/WWHttpFetchTool/WWHttpFetchTool.swift:39:5: note: expanded code originates here
24 | extension WWHttpFetchTool {
25 |
26 | @Generable
| |- note: in expansion of macro 'Generable' on struct 'HeaderItem' here
| `- note: in expansion of macro 'Generable' on struct 'HeaderItem' here
27 | public struct HeaderItem: Sendable {
28 |
:
37 | self.value = value
38 | }
39 | }
+--- macro expansion @Generable -------------------------------------
|29 | }
|30 |
|31 | nonisolated public struct PartiallyGenerated: Identifiable, nonisolated FoundationModels.ConvertibleFromGeneratedContent {
| | `- note: add '@available' attribute to enclosing struct
|32 | public var id: GenerationID
|33 | public var name: String.PartiallyGenerated?
|34 | public var value: String.PartiallyGenerated?
| | `- error: 'PartiallyGenerated' is only available in macOS 26.0 or newer
|35 | nonisolated public init(_ content: FoundationModels.GeneratedContent) throws {
|36 | self.id = content.id ?? GenerationID()
+--------------------------------------------------------------------
40 |
41 | @Generable
macro expansion @Generable:35:57: error: 'GeneratedContent' is only available in macOS 26.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/WWHttpFetchTool/WWHttpFetchTool.swift:39:5: note: expanded code originates here
24 | extension WWHttpFetchTool {
25 |
26 | @Generable
| |- note: in expansion of macro 'Generable' on struct 'HeaderItem' here
| |- note: in expansion of macro 'Generable' on struct 'HeaderItem' here
| `- note: in expansion of macro 'Generable' on struct 'HeaderItem' here
27 | public struct HeaderItem: Sendable {
28 |
:
37 | self.value = value
38 | }
39 | }
+--- macro expansion @Generable -------------------------------------
|29 | }
|30 |
|31 | nonisolated public struct PartiallyGenerated: Identifiable, nonisolated FoundationModels.ConvertibleFromGeneratedContent {
| | `- note: add '@available' attribute to enclosing struct
|32 | public var id: GenerationID
|33 | public var name: String.PartiallyGenerated?
|34 | public var value: String.PartiallyGenerated?
|35 | 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
|36 | self.id = content.id ?? GenerationID()
|37 | self.name = try content.value(forProperty: "name")
+--------------------------------------------------------------------
40 |
41 | @Generable
macro expansion @Generable:31: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/WWHttpFetchTool/WWHttpFetchTool.swift:39:5: note: expanded code originates here
24 | extension WWHttpFetchTool {
25 |
26 | @Generable
| `- note: in expansion of macro 'Generable' on struct 'HeaderItem' here
27 | public struct HeaderItem: Sendable {
28 |
:
37 | self.value = value
38 | }
39 | }
+--- macro expansion @Generable -------------------------------------
|29 | }
|30 |
|31 | 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
|32 | public var id: GenerationID
|33 | public var name: String.PartiallyGenerated?
+--------------------------------------------------------------------
40 |
41 | @Generable
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/WWHttpFetchTool/WWHttpFetchTool.swift:26:6: error: 'Generable(description:)' is only available in macOS 26.0 or newer
24 | extension WWHttpFetchTool {
25 |
26 | @Generable
| `- error: 'Generable(description:)' is only available in macOS 26.0 or newer
27 | public struct HeaderItem: Sendable {
| |- note: add '@available' attribute to enclosing struct
| `- note: add '@available' attribute to enclosing struct
28 |
29 | @Guide(description: "Header name.")
/Users/admin/builder/spi-builder-workspace/Sources/WWHttpFetchTool/WWHttpFetchTool.swift:44:10: error: 'Guide(description:)' is only available in macOS 26.0 or newer
40 |
41 | @Generable
42 | public struct Arguments: Sendable {
| |- note: add '@available' attribute to enclosing struct
| `- note: add '@available' attribute to enclosing struct
43 |
44 | @Guide(description: "The URL to fetch.")
| `- error: 'Guide(description:)' is only available in macOS 26.0 or newer
45 | public var url: String
46 |
/Users/admin/builder/spi-builder-workspace/Sources/WWHttpFetchTool/WWHttpFetchTool.swift:47:10: error: 'Guide(description:)' is only available in macOS 26.0 or newer
40 |
41 | @Generable
42 | public struct Arguments: Sendable {
| |- note: add '@available' attribute to enclosing struct
| `- note: add '@available' attribute to enclosing struct
43 |
44 | @Guide(description: "The URL to fetch.")
45 | public var url: String
46 |
47 | @Guide(description: "HTTP method, for example GET or POST.")
| `- error: 'Guide(description:)' is only available in macOS 26.0 or newer
48 | public var method: String?
49 |
/Users/admin/builder/spi-builder-workspace/Sources/WWHttpFetchTool/WWHttpFetchTool.swift:50:10: error: 'Guide(description:)' is only available in macOS 26.0 or newer
40 |
41 | @Generable
42 | public struct Arguments: Sendable {
| |- note: add '@available' attribute to enclosing struct
| `- note: add '@available' attribute to enclosing struct
43 |
44 | @Guide(description: "The URL to fetch.")
:
48 | public var method: String?
49 |
50 | @Guide(description: "Optional mode: auto, text, html, or json.")
| `- error: 'Guide(description:)' is only available in macOS 26.0 or newer
51 | public var mode: String?
52 |
/Users/admin/builder/spi-builder-workspace/Sources/WWHttpFetchTool/WWHttpFetchTool.swift:53:10: error: 'Guide(description:)' is only available in macOS 26.0 or newer
40 |
41 | @Generable
42 | public struct Arguments: Sendable {
| |- note: add '@available' attribute to enclosing struct
| `- note: add '@available' attribute to enclosing struct
43 |
44 | @Guide(description: "The URL to fetch.")
:
51 | public var mode: String?
52 |
53 | @Guide(description: "Optional headers as name-value pairs.")
| `- error: 'Guide(description:)' is only available in macOS 26.0 or newer
54 | public var headers: [HeaderItem]?
55 |
macro expansion @Generable:1:66: error: 'GenerationSchema' is only available in macOS 26.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/WWHttpFetchTool/WWHttpFetchTool.swift:62:5: note: expanded code originates here
39 | }
40 |
41 | @Generable
| |- note: in expansion of macro 'Generable' on struct 'Arguments' here
| `- note: in expansion of macro 'Generable' on struct 'Arguments' here
42 | public struct Arguments: Sendable {
| `- note: add '@available' attribute to enclosing struct
43 |
44 | @Guide(description: "The URL to fetch.")
:
60 | self.headers = headers
61 | }
62 | }
+--- 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,
+--------------------------------------------------------------------
63 | }
64 |
macro expansion @Generable:13:42: error: 'GeneratedContent' is only available in macOS 26.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/WWHttpFetchTool/WWHttpFetchTool.swift:62:5: note: expanded code originates here
39 | }
40 |
41 | @Generable
| |- note: in expansion of macro 'Generable' on struct 'Arguments' here
| `- note: in expansion of macro 'Generable' on struct 'Arguments' here
42 | public struct Arguments: Sendable {
| `- note: add '@available' attribute to enclosing struct
43 |
44 | @Guide(description: "The URL to fetch.")
:
60 | self.headers = headers
61 | }
62 | }
+--- macro expansion @Generable -------------------------------------
|11 | }
|12 |
|13 | nonisolated public var generatedContent: GeneratedContent {
| | | `- error: 'GeneratedContent' is only available in macOS 26.0 or newer
| | `- note: add '@available' attribute to enclosing property
|14 | var properties = [(name: String, value: any ConvertibleToGeneratedContent)]()
|15 | addProperty(name: "url", value: self.url)
+--------------------------------------------------------------------
63 | }
64 |
macro expansion @Generable:36:20: error: 'GenerationID' is only available in macOS 26.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/WWHttpFetchTool/WWHttpFetchTool.swift:62:5: note: expanded code originates here
39 | }
40 |
41 | @Generable
| |- note: in expansion of macro 'Generable' on struct 'Arguments' here
| `- note: in expansion of macro 'Generable' on struct 'Arguments' here
42 | public struct Arguments: Sendable {
43 |
:
60 | self.headers = headers
61 | }
62 | }
+--- macro expansion @Generable -------------------------------------
|33 | }
|34 |
|35 | nonisolated public struct PartiallyGenerated: Identifiable, nonisolated FoundationModels.ConvertibleFromGeneratedContent {
| | `- note: add '@available' attribute to enclosing struct
|36 | public var id: GenerationID
| | `- error: 'GenerationID' is only available in macOS 26.0 or newer
|37 | public var url: String.PartiallyGenerated?
|38 | public var method: String?.PartiallyGenerated?
+--------------------------------------------------------------------
63 | }
64 |
macro expansion @Generable:37:28: error: 'PartiallyGenerated' is only available in macOS 26.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/WWHttpFetchTool/WWHttpFetchTool.swift:62:5: note: expanded code originates here
39 | }
40 |
41 | @Generable
| |- note: in expansion of macro 'Generable' on struct 'Arguments' here
| `- note: in expansion of macro 'Generable' on struct 'Arguments' here
42 | public struct Arguments: Sendable {
43 |
:
60 | self.headers = headers
61 | }
62 | }
+--- macro expansion @Generable -------------------------------------
|33 | }
|34 |
|35 | nonisolated public struct PartiallyGenerated: Identifiable, nonisolated FoundationModels.ConvertibleFromGeneratedContent {
| | `- note: add '@available' attribute to enclosing struct
|36 | public var id: GenerationID
|37 | public var url: String.PartiallyGenerated?
| | `- error: 'PartiallyGenerated' is only available in macOS 26.0 or newer
|38 | public var method: String?.PartiallyGenerated?
|39 | public var mode: String?.PartiallyGenerated?
+--------------------------------------------------------------------
63 | }
64 |
macro expansion @Generable:38:32: error: 'PartiallyGenerated' is only available in macOS 26.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/WWHttpFetchTool/WWHttpFetchTool.swift:62:5: note: expanded code originates here
39 | }
40 |
41 | @Generable
| |- note: in expansion of macro 'Generable' on struct 'Arguments' here
| `- note: in expansion of macro 'Generable' on struct 'Arguments' here
42 | public struct Arguments: Sendable {
43 |
:
60 | self.headers = headers
61 | }
62 | }
+--- macro expansion @Generable -------------------------------------
|33 | }
|34 |
|35 | nonisolated public struct PartiallyGenerated: Identifiable, nonisolated FoundationModels.ConvertibleFromGeneratedContent {
| | `- note: add '@available' attribute to enclosing struct
|36 | public var id: GenerationID
|37 | public var url: String.PartiallyGenerated?
|38 | public var method: String?.PartiallyGenerated?
| | `- error: 'PartiallyGenerated' is only available in macOS 26.0 or newer
|39 | public var mode: String?.PartiallyGenerated?
|40 | public var headers: [HeaderItem]?.PartiallyGenerated?
+--------------------------------------------------------------------
63 | }
64 |
macro expansion @Generable:39:30: error: 'PartiallyGenerated' is only available in macOS 26.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/WWHttpFetchTool/WWHttpFetchTool.swift:62:5: note: expanded code originates here
39 | }
40 |
41 | @Generable
| |- note: in expansion of macro 'Generable' on struct 'Arguments' here
| `- note: in expansion of macro 'Generable' on struct 'Arguments' here
42 | public struct Arguments: Sendable {
43 |
:
60 | self.headers = headers
61 | }
62 | }
+--- macro expansion @Generable -------------------------------------
|33 | }
|34 |
|35 | nonisolated public struct PartiallyGenerated: Identifiable, nonisolated FoundationModels.ConvertibleFromGeneratedContent {
| | `- note: add '@available' attribute to enclosing struct
|36 | public var id: GenerationID
|37 | public var url: String.PartiallyGenerated?
|38 | public var method: String?.PartiallyGenerated?
|39 | public var mode: String?.PartiallyGenerated?
| | `- error: 'PartiallyGenerated' is only available in macOS 26.0 or newer
|40 | public var headers: [HeaderItem]?.PartiallyGenerated?
|41 | nonisolated public init(_ content: FoundationModels.GeneratedContent) throws {
+--------------------------------------------------------------------
63 | }
64 |
macro expansion @Generable:40:39: error: 'PartiallyGenerated' is only available in macOS 26.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/WWHttpFetchTool/WWHttpFetchTool.swift:62:5: note: expanded code originates here
39 | }
40 |
41 | @Generable
| |- note: in expansion of macro 'Generable' on struct 'Arguments' here
| `- note: in expansion of macro 'Generable' on struct 'Arguments' here
42 | public struct Arguments: Sendable {
43 |
:
60 | self.headers = headers
61 | }
62 | }
+--- macro expansion @Generable -------------------------------------
|33 | }
|34 |
|35 | nonisolated public struct PartiallyGenerated: Identifiable, nonisolated FoundationModels.ConvertibleFromGeneratedContent {
| | `- note: add '@available' attribute to enclosing struct
|36 | public var id: GenerationID
|37 | public var url: String.PartiallyGenerated?
|38 | public var method: String?.PartiallyGenerated?
|39 | public var mode: String?.PartiallyGenerated?
|40 | public var headers: [HeaderItem]?.PartiallyGenerated?
| | `- error: 'PartiallyGenerated' is only available in macOS 26.0 or newer
|41 | nonisolated public init(_ content: FoundationModels.GeneratedContent) throws {
|42 | self.id = content.id ?? GenerationID()
+--------------------------------------------------------------------
63 | }
64 |
macro expansion @Generable:41:57: error: 'GeneratedContent' is only available in macOS 26.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/WWHttpFetchTool/WWHttpFetchTool.swift:62:5: note: expanded code originates here
39 | }
40 |
41 | @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
42 | public struct Arguments: Sendable {
43 |
:
60 | self.headers = headers
61 | }
62 | }
+--- macro expansion @Generable -------------------------------------
|33 | }
|34 |
|35 | nonisolated public struct PartiallyGenerated: Identifiable, nonisolated FoundationModels.ConvertibleFromGeneratedContent {
| | `- note: add '@available' attribute to enclosing struct
|36 | public var id: GenerationID
|37 | public var url: String.PartiallyGenerated?
| :
|39 | public var mode: String?.PartiallyGenerated?
|40 | public var headers: [HeaderItem]?.PartiallyGenerated?
|41 | 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
|42 | self.id = content.id ?? GenerationID()
|43 | self.url = try content.value(forProperty: "url")
+--------------------------------------------------------------------
63 | }
64 |
macro expansion @Generable:35: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/WWHttpFetchTool/WWHttpFetchTool.swift:62:5: note: expanded code originates here
39 | }
40 |
41 | @Generable
| `- note: in expansion of macro 'Generable' on struct 'Arguments' here
42 | public struct Arguments: Sendable {
43 |
:
60 | self.headers = headers
61 | }
62 | }
+--- macro expansion @Generable -------------------------------------
|33 | }
|34 |
|35 | 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
|36 | public var id: GenerationID
|37 | public var url: String.PartiallyGenerated?
+--------------------------------------------------------------------
63 | }
64 |
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/WWHttpFetchTool/WWHttpFetchTool.swift:41:6: error: 'Generable(description:)' is only available in macOS 26.0 or newer
39 | }
40 |
41 | @Generable
| `- error: 'Generable(description:)' is only available in macOS 26.0 or newer
42 | public struct Arguments: Sendable {
| |- note: add '@available' attribute to enclosing struct
| `- note: add '@available' attribute to enclosing struct
43 |
44 | @Guide(description: "The URL to fetch.")
macro expansion @Generable:2:57: error: 'GeneratedContent' is only available in macOS 26.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/WWHttpFetchTool/WWHttpFetchTool.swift:63:2: note: expanded code originates here
39 | }
40 |
41 | @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
42 | public struct Arguments: Sendable {
43 |
:
61 | }
62 | }
63 | }
+--- macro expansion @Generable -------------------------------------
|1 | extension WWHttpFetchTool.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.url = try content.value(forProperty: "url")
|4 | self.method = try content.value(forProperty: "method")
+--------------------------------------------------------------------
64 |
65 | public extension WWHttpFetchTool {
macro expansion @Generable:2:57: error: 'GeneratedContent' is only available in macOS 26.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/WWHttpFetchTool/WWHttpFetchTool.swift:63:2: note: expanded code originates here
24 | extension WWHttpFetchTool {
25 |
26 | @Generable
| |- note: in expansion of macro 'Generable' on struct 'HeaderItem' here
| |- note: in expansion of macro 'Generable' on struct 'HeaderItem' here
| `- note: in expansion of macro 'Generable' on struct 'HeaderItem' here
27 | public struct HeaderItem: Sendable {
28 |
:
61 | }
62 | }
63 | }
+--- macro expansion @Generable -------------------------------------
|1 | extension WWHttpFetchTool.HeaderItem: 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.name = try content.value(forProperty: "name")
|4 | self.value = try content.value(forProperty: "value")
+--------------------------------------------------------------------
64 |
65 | public extension WWHttpFetchTool {
macro expansion @Generable:2:22: error: 'GenerationSchema' is only available in macOS 26.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/WWHttpFetchTool/WWHttpFetchTool.swift:39:5: note: expanded code originates here
24 | extension WWHttpFetchTool {
25 |
26 | @Generable
| |- note: in expansion of macro 'Generable' on struct 'HeaderItem' here
| |- note: in expansion of macro 'Generable' on struct 'HeaderItem' here
| `- note: in expansion of macro 'Generable' on struct 'HeaderItem' here
27 | public struct HeaderItem: Sendable {
| `- note: add '@available' attribute to enclosing struct
28 |
29 | @Guide(description: "Header name.")
:
37 | self.value = value
38 | }
39 | }
+--- 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: [
+--------------------------------------------------------------------
40 |
41 | @Generable
macro expansion @Generable:5:30: error: 'GenerationSchema' is only available in macOS 26.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/WWHttpFetchTool/WWHttpFetchTool.swift:39:5: note: expanded code originates here
24 | extension WWHttpFetchTool {
25 |
26 | @Generable
| |- note: in expansion of macro 'Generable' on struct 'HeaderItem' here
| |- note: in expansion of macro 'Generable' on struct 'HeaderItem' here
| `- note: in expansion of macro 'Generable' on struct 'HeaderItem' here
27 | public struct HeaderItem: Sendable {
| `- note: add '@available' attribute to enclosing struct
28 |
29 | @Guide(description: "Header name.")
:
37 | self.value = value
38 | }
39 | }
+--- 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: "name", description: "Header name.", type: String.self),
| | |- error: 'GenerationSchema' is only available in macOS 26.0 or newer
| | `- note: add 'if #available' version check
| 6 | FoundationModels.GenerationSchema.Property(name: "value", description: "Header value.", type: String.self)
| 7 | ]
+--------------------------------------------------------------------
40 |
41 | @Generable
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/WWHttpFetchTool/WWHttpFetchTool.swift:39:5: note: expanded code originates here
24 | extension WWHttpFetchTool {
25 |
26 | @Generable
| |- note: in expansion of macro 'Generable' on struct 'HeaderItem' here
| |- note: in expansion of macro 'Generable' on struct 'HeaderItem' here
| `- note: in expansion of macro 'Generable' on struct 'HeaderItem' here
27 | public struct HeaderItem: Sendable {
| `- note: add '@available' attribute to enclosing struct
28 |
29 | @Guide(description: "Header name.")
:
37 | self.value = value
38 | }
39 | }
+--- 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: "name", description: "Header name.", 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 | FoundationModels.GenerationSchema.Property(name: "value", description: "Header value.", type: String.self)
| 7 | ]
+--------------------------------------------------------------------
40 |
41 | @Generable
macro expansion @Generable:6:30: error: 'GenerationSchema' is only available in macOS 26.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/WWHttpFetchTool/WWHttpFetchTool.swift:39:5: note: expanded code originates here
24 | extension WWHttpFetchTool {
25 |
26 | @Generable
| |- note: in expansion of macro 'Generable' on struct 'HeaderItem' here
| |- note: in expansion of macro 'Generable' on struct 'HeaderItem' here
| `- note: in expansion of macro 'Generable' on struct 'HeaderItem' here
27 | public struct HeaderItem: Sendable {
| `- note: add '@available' attribute to enclosing struct
28 |
29 | @Guide(description: "Header name.")
:
37 | self.value = value
38 | }
39 | }
+--- 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: "name", description: "Header name.", type: String.self),
| 6 | FoundationModels.GenerationSchema.Property(name: "value", description: "Header value.", type: String.self)
| | |- error: 'GenerationSchema' is only available in macOS 26.0 or newer
| | `- note: add 'if #available' version check
| 7 | ]
| 8 | )
+--------------------------------------------------------------------
40 |
41 | @Generable
macro expansion @Generable:6:47: error: conformance of 'String' to 'Generable' is only available in macOS 26.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/WWHttpFetchTool/WWHttpFetchTool.swift:39:5: note: expanded code originates here
24 | extension WWHttpFetchTool {
25 |
26 | @Generable
| |- note: in expansion of macro 'Generable' on struct 'HeaderItem' here
| |- note: in expansion of macro 'Generable' on struct 'HeaderItem' here
| `- note: in expansion of macro 'Generable' on struct 'HeaderItem' here
27 | public struct HeaderItem: Sendable {
| `- note: add '@available' attribute to enclosing struct
28 |
29 | @Guide(description: "Header name.")
:
37 | self.value = value
38 | }
39 | }
+--- 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: "name", description: "Header name.", type: String.self),
| 6 | FoundationModels.GenerationSchema.Property(name: "value", description: "Header value.", type: String.self)
| | |- error: conformance of 'String' to 'Generable' is only available in macOS 26.0 or newer
| | `- note: add 'if #available' version check
| 7 | ]
| 8 | )
+--------------------------------------------------------------------
40 |
41 | @Generable
macro expansion @Generable:12:49: error: 'ConvertibleToGeneratedContent' is only available in macOS 26.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/WWHttpFetchTool/WWHttpFetchTool.swift:39:5: note: expanded code originates here
24 | extension WWHttpFetchTool {
25 |
26 | @Generable
| |- note: in expansion of macro 'Generable' on struct 'HeaderItem' here
| |- note: in expansion of macro 'Generable' on struct 'HeaderItem' here
| `- note: in expansion of macro 'Generable' on struct 'HeaderItem' here
27 | public struct HeaderItem: Sendable {
| `- note: add '@available' attribute to enclosing struct
28 |
29 | @Guide(description: "Header name.")
:
37 | self.value = value
38 | }
39 | }
+--- macro expansion @Generable -------------------------------------
| 9 | }
|10 |
|11 | nonisolated public var generatedContent: GeneratedContent {
| | `- note: add '@available' attribute to enclosing property
|12 | var properties = [(name: String, value: any ConvertibleToGeneratedContent)]()
| | |- error: 'ConvertibleToGeneratedContent' is only available in macOS 26.0 or newer
| | `- note: add 'if #available' version check
|13 | addProperty(name: "name", value: self.name)
|14 | addProperty(name: "value", value: self.value)
+--------------------------------------------------------------------
40 |
41 | @Generable
macro expansion @Generable:13:5: error: conformance of 'String' to 'Generable' is only available in macOS 26.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/WWHttpFetchTool/WWHttpFetchTool.swift:39:5: note: expanded code originates here
24 | extension WWHttpFetchTool {
25 |
26 | @Generable
| |- note: in expansion of macro 'Generable' on struct 'HeaderItem' here
| |- note: in expansion of macro 'Generable' on struct 'HeaderItem' here
| `- note: in expansion of macro 'Generable' on struct 'HeaderItem' here
27 | public struct HeaderItem: Sendable {
| `- note: add '@available' attribute to enclosing struct
28 |
29 | @Guide(description: "Header name.")
:
37 | self.value = value
38 | }
39 | }
+--- macro expansion @Generable -------------------------------------
| 9 | }
|10 |
|11 | nonisolated public var generatedContent: GeneratedContent {
| | `- note: add '@available' attribute to enclosing property
|12 | var properties = [(name: String, value: any ConvertibleToGeneratedContent)]()
|13 | addProperty(name: "name", value: self.name)
| | |- error: conformance of 'String' to 'Generable' is only available in macOS 26.0 or newer
| | `- note: add 'if #available' version check
|14 | addProperty(name: "value", value: self.value)
|15 | return GeneratedContent(
+--------------------------------------------------------------------
40 |
41 | @Generable
macro expansion @Generable:14:5: error: conformance of 'String' to 'Generable' is only available in macOS 26.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/WWHttpFetchTool/WWHttpFetchTool.swift:39:5: note: expanded code originates here
24 | extension WWHttpFetchTool {
25 |
26 | @Generable
| |- note: in expansion of macro 'Generable' on struct 'HeaderItem' here
| |- note: in expansion of macro 'Generable' on struct 'HeaderItem' here
| `- note: in expansion of macro 'Generable' on struct 'HeaderItem' here
27 | public struct HeaderItem: Sendable {
| `- note: add '@available' attribute to enclosing struct
28 |
29 | @Guide(description: "Header name.")
:
37 | self.value = value
38 | }
39 | }
+--- macro expansion @Generable -------------------------------------
| 9 | }
|10 |
|11 | nonisolated public var generatedContent: GeneratedContent {
| | `- note: add '@available' attribute to enclosing property
|12 | var properties = [(name: String, value: any ConvertibleToGeneratedContent)]()
|13 | addProperty(name: "name", value: self.name)
|14 | addProperty(name: "value", value: self.value)
| | |- error: conformance of 'String' to 'Generable' is only available in macOS 26.0 or newer
| | `- note: add 'if #available' version check
|15 | return GeneratedContent(
|16 | properties: properties,
+--------------------------------------------------------------------
40 |
41 | @Generable
macro expansion @Generable:15:12: error: 'GeneratedContent' is only available in macOS 26.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/WWHttpFetchTool/WWHttpFetchTool.swift:39:5: note: expanded code originates here
24 | extension WWHttpFetchTool {
25 |
26 | @Generable
| |- note: in expansion of macro 'Generable' on struct 'HeaderItem' here
| |- note: in expansion of macro 'Generable' on struct 'HeaderItem' here
| `- note: in expansion of macro 'Generable' on struct 'HeaderItem' here
27 | public struct HeaderItem: Sendable {
| `- note: add '@available' attribute to enclosing struct
28 |
29 | @Guide(description: "Header name.")
:
37 | self.value = value
38 | }
39 | }
+--- macro expansion @Generable -------------------------------------
| 9 | }
|10 |
|11 | nonisolated public var generatedContent: GeneratedContent {
| | `- note: add '@available' attribute to enclosing property
|12 | var properties = [(name: String, value: any ConvertibleToGeneratedContent)]()
|13 | addProperty(name: "name", value: self.name)
|14 | addProperty(name: "value", value: self.value)
|15 | return GeneratedContent(
| | |- error: 'GeneratedContent' is only available in macOS 26.0 or newer
| | `- note: add 'if #available' version check
|16 | properties: properties,
|17 | uniquingKeysWith: { _, second in
+--------------------------------------------------------------------
40 |
41 | @Generable
macro expansion @Generable:21:48: error: 'Generable' is only available in macOS 26.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/WWHttpFetchTool/WWHttpFetchTool.swift:39:5: note: expanded code originates here
24 | extension WWHttpFetchTool {
25 |
26 | @Generable
| |- note: in expansion of macro 'Generable' on struct 'HeaderItem' here
| `- note: in expansion of macro 'Generable' on struct 'HeaderItem' here
27 | public struct HeaderItem: Sendable {
| `- note: add '@available' attribute to enclosing struct
28 |
29 | @Guide(description: "Header name.")
:
37 | self.value = value
38 | }
39 | }
+--- macro expansion @Generable -------------------------------------
| 9 | }
|10 |
|11 | nonisolated public var generatedContent: GeneratedContent {
| | `- note: add '@available' attribute to enclosing property
|12 | var properties = [(name: String, value: any ConvertibleToGeneratedContent)]()
|13 | addProperty(name: "name", value: self.name)
| :
|19 | }
|20 | )
|21 | func addProperty(name: String, value: some Generable) {
| | `- error: 'Generable' is only available in macOS 26.0 or newer
|22 | properties.append((name, value))
|23 | }
+--------------------------------------------------------------------
40 |
41 | @Generable
macro expansion @Generable:21:48: error: 'Generable' is only available in macOS 26.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/WWHttpFetchTool/WWHttpFetchTool.swift:39:5: note: expanded code originates here
24 | extension WWHttpFetchTool {
25 |
26 | @Generable
| |- note: in expansion of macro 'Generable' on struct 'HeaderItem' here
| `- note: in expansion of macro 'Generable' on struct 'HeaderItem' here
27 | public struct HeaderItem: Sendable {
| `- note: add '@available' attribute to enclosing struct
28 |
29 | @Guide(description: "Header name.")
:
37 | self.value = value
38 | }
39 | }
+--- macro expansion @Generable -------------------------------------
| 9 | }
|10 |
|11 | nonisolated public var generatedContent: GeneratedContent {
| | `- note: add '@available' attribute to enclosing property
|12 | var properties = [(name: String, value: any ConvertibleToGeneratedContent)]()
|13 | addProperty(name: "name", value: self.name)
| :
|19 | }
|20 | )
|21 | func addProperty(name: String, value: some Generable) {
| | `- error: 'Generable' is only available in macOS 26.0 or newer
|22 | properties.append((name, value))
|23 | }
+--------------------------------------------------------------------
40 |
41 | @Generable
macro expansion @Generable:24:49: error: 'Generable' is only available in macOS 26.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/WWHttpFetchTool/WWHttpFetchTool.swift:39:5: note: expanded code originates here
24 | extension WWHttpFetchTool {
25 |
26 | @Generable
| |- note: in expansion of macro 'Generable' on struct 'HeaderItem' here
| `- note: in expansion of macro 'Generable' on struct 'HeaderItem' here
27 | public struct HeaderItem: Sendable {
| `- note: add '@available' attribute to enclosing struct
28 |
29 | @Guide(description: "Header name.")
:
37 | self.value = value
38 | }
39 | }
+--- macro expansion @Generable -------------------------------------
| 9 | }
|10 |
|11 | nonisolated public var generatedContent: GeneratedContent {
| | `- note: add '@available' attribute to enclosing property
|12 | var properties = [(name: String, value: any ConvertibleToGeneratedContent)]()
|13 | addProperty(name: "name", value: self.name)
| :
|22 | properties.append((name, value))
|23 | }
|24 | func addProperty(name: String, value: (some Generable)?) {
| | `- error: 'Generable' is only available in macOS 26.0 or newer
|25 | if let value {
|26 | properties.append((name, value))
+--------------------------------------------------------------------
40 |
41 | @Generable
macro expansion @Generable:24:49: error: 'Generable' is only available in macOS 26.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/WWHttpFetchTool/WWHttpFetchTool.swift:39:5: note: expanded code originates here
24 | extension WWHttpFetchTool {
25 |
26 | @Generable
| |- note: in expansion of macro 'Generable' on struct 'HeaderItem' here
| `- note: in expansion of macro 'Generable' on struct 'HeaderItem' here
27 | public struct HeaderItem: Sendable {
| `- note: add '@available' attribute to enclosing struct
28 |
29 | @Guide(description: "Header name.")
:
37 | self.value = value
38 | }
39 | }
+--- macro expansion @Generable -------------------------------------
| 9 | }
|10 |
|11 | nonisolated public var generatedContent: GeneratedContent {
| | `- note: add '@available' attribute to enclosing property
|12 | var properties = [(name: String, value: any ConvertibleToGeneratedContent)]()
|13 | addProperty(name: "name", value: self.name)
| :
|22 | properties.append((name, value))
|23 | }
|24 | func addProperty(name: String, value: (some Generable)?) {
| | `- error: 'Generable' is only available in macOS 26.0 or newer
|25 | if let value {
|26 | properties.append((name, value))
+--------------------------------------------------------------------
40 |
41 | @Generable
macro expansion @Generable:36:33: error: 'GenerationID' is only available in macOS 26.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/WWHttpFetchTool/WWHttpFetchTool.swift:39:5: note: expanded code originates here
24 | extension WWHttpFetchTool {
25 |
26 | @Generable
| |- note: in expansion of macro 'Generable' on struct 'HeaderItem' here
| |- note: in expansion of macro 'Generable' on struct 'HeaderItem' here
| |- note: in expansion of macro 'Generable' on struct 'HeaderItem' here
| `- note: in expansion of macro 'Generable' on struct 'HeaderItem' here
27 | public struct HeaderItem: Sendable {
28 |
:
37 | self.value = value
38 | }
39 | }
+--- macro expansion @Generable -------------------------------------
|29 | }
|30 |
|31 | nonisolated public struct PartiallyGenerated: Identifiable, nonisolated FoundationModels.ConvertibleFromGeneratedContent {
| | `- note: add '@available' attribute to enclosing struct
|32 | public var id: GenerationID
|33 | public var name: String.PartiallyGenerated?
|34 | public var value: String.PartiallyGenerated?
|35 | nonisolated public init(_ content: FoundationModels.GeneratedContent) throws {
| | `- note: add '@available' attribute to enclosing initializer
|36 | self.id = content.id ?? GenerationID()
| | |- error: 'GenerationID' is only available in macOS 26.0 or newer
| | `- note: add 'if #available' version check
|37 | self.name = try content.value(forProperty: "name")
|38 | self.value = try content.value(forProperty: "value")
+--------------------------------------------------------------------
40 |
41 | @Generable
macro expansion @Generable:37:33: error: conformance of 'String' to 'ConvertibleFromGeneratedContent' is only available in macOS 26.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/WWHttpFetchTool/WWHttpFetchTool.swift:39:5: note: expanded code originates here
24 | extension WWHttpFetchTool {
25 |
26 | @Generable
| |- note: in expansion of macro 'Generable' on struct 'HeaderItem' here
| |- note: in expansion of macro 'Generable' on struct 'HeaderItem' here
| |- note: in expansion of macro 'Generable' on struct 'HeaderItem' here
| `- note: in expansion of macro 'Generable' on struct 'HeaderItem' here
27 | public struct HeaderItem: Sendable {
28 |
:
37 | self.value = value
38 | }
39 | }
+--- macro expansion @Generable -------------------------------------
|29 | }
|30 |
|31 | nonisolated public struct PartiallyGenerated: Identifiable, nonisolated FoundationModels.ConvertibleFromGeneratedContent {
| | `- note: add '@available' attribute to enclosing struct
|32 | public var id: GenerationID
|33 | public var name: String.PartiallyGenerated?
|34 | public var value: String.PartiallyGenerated?
|35 | nonisolated public init(_ content: FoundationModels.GeneratedContent) throws {
| | `- note: add '@available' attribute to enclosing initializer
|36 | self.id = content.id ?? GenerationID()
|37 | self.name = try content.value(forProperty: "name")
| | |- error: conformance of 'String' to 'ConvertibleFromGeneratedContent' is only available in macOS 26.0 or newer
| | `- note: add 'if #available' version check
|38 | self.value = try content.value(forProperty: "value")
|39 | }
+--------------------------------------------------------------------
40 |
41 | @Generable
macro expansion @Generable:38:34: error: conformance of 'String' to 'ConvertibleFromGeneratedContent' is only available in macOS 26.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/WWHttpFetchTool/WWHttpFetchTool.swift:39:5: note: expanded code originates here
24 | extension WWHttpFetchTool {
25 |
26 | @Generable
| |- note: in expansion of macro 'Generable' on struct 'HeaderItem' here
| |- note: in expansion of macro 'Generable' on struct 'HeaderItem' here
| |- note: in expansion of macro 'Generable' on struct 'HeaderItem' here
| `- note: in expansion of macro 'Generable' on struct 'HeaderItem' here
27 | public struct HeaderItem: Sendable {
28 |
:
37 | self.value = value
38 | }
39 | }
+--- macro expansion @Generable -------------------------------------
|29 | }
|30 |
|31 | nonisolated public struct PartiallyGenerated: Identifiable, nonisolated FoundationModels.ConvertibleFromGeneratedContent {
| | `- note: add '@available' attribute to enclosing struct
|32 | public var id: GenerationID
|33 | public var name: String.PartiallyGenerated?
|34 | public var value: String.PartiallyGenerated?
|35 | nonisolated public init(_ content: FoundationModels.GeneratedContent) throws {
| | `- note: add '@available' attribute to enclosing initializer
|36 | self.id = content.id ?? GenerationID()
|37 | self.name = try content.value(forProperty: "name")
|38 | self.value = try content.value(forProperty: "value")
| | |- error: conformance of 'String' to 'ConvertibleFromGeneratedContent' is only available in macOS 26.0 or newer
| | `- note: add 'if #available' version check
|39 | }
|40 | }
+--------------------------------------------------------------------
40 |
41 | @Generable
macro expansion @Generable:2:22: error: 'GenerationSchema' is only available in macOS 26.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/WWHttpFetchTool/WWHttpFetchTool.swift:62:5: note: expanded code originates here
39 | }
40 |
41 | @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
42 | public struct Arguments: Sendable {
| `- note: add '@available' attribute to enclosing struct
43 |
44 | @Guide(description: "The URL to fetch.")
:
60 | self.headers = headers
61 | }
62 | }
+--- 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: [
+--------------------------------------------------------------------
63 | }
64 |
macro expansion @Generable:5:30: error: 'GenerationSchema' is only available in macOS 26.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/WWHttpFetchTool/WWHttpFetchTool.swift:62:5: note: expanded code originates here
39 | }
40 |
41 | @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
42 | public struct Arguments: Sendable {
| `- note: add '@available' attribute to enclosing struct
43 |
44 | @Guide(description: "The URL to fetch.")
:
60 | self.headers = headers
61 | }
62 | }
+--- 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: "url", description: "The URL to fetch.", type: String.self),
| | |- error: 'GenerationSchema' is only available in macOS 26.0 or newer
| | `- note: add 'if #available' version check
| 6 | FoundationModels.GenerationSchema.Property(name: "method", description: "HTTP method, for example GET or POST.", type: String?.self),
| 7 | FoundationModels.GenerationSchema.Property(name: "mode", description: "Optional mode: auto, text, html, or json.", type: String?.self),
+--------------------------------------------------------------------
63 | }
64 |
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/WWHttpFetchTool/WWHttpFetchTool.swift:62:5: note: expanded code originates here
39 | }
40 |
41 | @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
42 | public struct Arguments: Sendable {
| `- note: add '@available' attribute to enclosing struct
43 |
44 | @Guide(description: "The URL to fetch.")
:
60 | self.headers = headers
61 | }
62 | }
+--- 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: "url", description: "The URL to fetch.", 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 | FoundationModels.GenerationSchema.Property(name: "method", description: "HTTP method, for example GET or POST.", type: String?.self),
| 7 | FoundationModels.GenerationSchema.Property(name: "mode", description: "Optional mode: auto, text, html, or json.", type: String?.self),
+--------------------------------------------------------------------
63 | }
64 |
macro expansion @Generable:6:30: error: 'GenerationSchema' is only available in macOS 26.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/WWHttpFetchTool/WWHttpFetchTool.swift:62:5: note: expanded code originates here
39 | }
40 |
41 | @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
42 | public struct Arguments: Sendable {
| `- note: add '@available' attribute to enclosing struct
43 |
44 | @Guide(description: "The URL to fetch.")
:
60 | self.headers = headers
61 | }
62 | }
+--- 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: "url", description: "The URL to fetch.", type: String.self),
| 6 | FoundationModels.GenerationSchema.Property(name: "method", description: "HTTP method, for example GET or POST.", type: String?.self),
| | |- error: 'GenerationSchema' is only available in macOS 26.0 or newer
| | `- note: add 'if #available' version check
| 7 | FoundationModels.GenerationSchema.Property(name: "mode", description: "Optional mode: auto, text, html, or json.", type: String?.self),
| 8 | FoundationModels.GenerationSchema.Property(name: "headers", description: "Optional headers as name-value pairs.", type: [HeaderItem]?.self)
+--------------------------------------------------------------------
63 | }
64 |
macro expansion @Generable:6:47: error: conformance of 'String' to 'Generable' is only available in macOS 26.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/WWHttpFetchTool/WWHttpFetchTool.swift:62:5: note: expanded code originates here
39 | }
40 |
41 | @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
42 | public struct Arguments: Sendable {
| `- note: add '@available' attribute to enclosing struct
43 |
44 | @Guide(description: "The URL to fetch.")
:
60 | self.headers = headers
61 | }
62 | }
+--- 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: "url", description: "The URL to fetch.", type: String.self),
| 6 | FoundationModels.GenerationSchema.Property(name: "method", description: "HTTP method, for example GET or POST.", type: String?.self),
| | |- error: conformance of 'String' to 'Generable' is only available in macOS 26.0 or newer
| | `- note: add 'if #available' version check
| 7 | FoundationModels.GenerationSchema.Property(name: "mode", description: "Optional mode: auto, text, html, or json.", type: String?.self),
| 8 | FoundationModels.GenerationSchema.Property(name: "headers", description: "Optional headers as name-value pairs.", type: [HeaderItem]?.self)
+--------------------------------------------------------------------
63 | }
64 |
macro expansion @Generable:7:30: error: 'GenerationSchema' is only available in macOS 26.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/WWHttpFetchTool/WWHttpFetchTool.swift:62:5: note: expanded code originates here
39 | }
40 |
41 | @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
42 | public struct Arguments: Sendable {
| `- note: add '@available' attribute to enclosing struct
43 |
44 | @Guide(description: "The URL to fetch.")
:
60 | self.headers = headers
61 | }
62 | }
+--- 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,
| :
| 5 | FoundationModels.GenerationSchema.Property(name: "url", description: "The URL to fetch.", type: String.self),
| 6 | FoundationModels.GenerationSchema.Property(name: "method", description: "HTTP method, for example GET or POST.", type: String?.self),
| 7 | FoundationModels.GenerationSchema.Property(name: "mode", description: "Optional mode: auto, text, html, or json.", type: String?.self),
| | |- error: 'GenerationSchema' is only available in macOS 26.0 or newer
| | `- note: add 'if #available' version check
| 8 | FoundationModels.GenerationSchema.Property(name: "headers", description: "Optional headers as name-value pairs.", type: [HeaderItem]?.self)
| 9 | ]
+--------------------------------------------------------------------
63 | }
64 |
macro expansion @Generable:7:47: error: conformance of 'String' to 'Generable' is only available in macOS 26.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/WWHttpFetchTool/WWHttpFetchTool.swift:62:5: note: expanded code originates here
39 | }
40 |
41 | @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
42 | public struct Arguments: Sendable {
| `- note: add '@available' attribute to enclosing struct
43 |
44 | @Guide(description: "The URL to fetch.")
:
60 | self.headers = headers
61 | }
62 | }
+--- 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,
| :
| 5 | FoundationModels.GenerationSchema.Property(name: "url", description: "The URL to fetch.", type: String.self),
| 6 | FoundationModels.GenerationSchema.Property(name: "method", description: "HTTP method, for example GET or POST.", type: String?.self),
| 7 | FoundationModels.GenerationSchema.Property(name: "mode", description: "Optional mode: auto, text, html, or json.", type: String?.self),
| | |- error: conformance of 'String' to 'Generable' is only available in macOS 26.0 or newer
| | `- note: add 'if #available' version check
| 8 | FoundationModels.GenerationSchema.Property(name: "headers", description: "Optional headers as name-value pairs.", type: [HeaderItem]?.self)
| 9 | ]
+--------------------------------------------------------------------
63 | }
64 |
macro expansion @Generable:8:30: error: 'GenerationSchema' is only available in macOS 26.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/WWHttpFetchTool/WWHttpFetchTool.swift:62:5: note: expanded code originates here
39 | }
40 |
41 | @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
42 | public struct Arguments: Sendable {
| `- note: add '@available' attribute to enclosing struct
43 |
44 | @Guide(description: "The URL to fetch.")
:
60 | self.headers = headers
61 | }
62 | }
+--- 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,
| :
| 6 | FoundationModels.GenerationSchema.Property(name: "method", description: "HTTP method, for example GET or POST.", type: String?.self),
| 7 | FoundationModels.GenerationSchema.Property(name: "mode", description: "Optional mode: auto, text, html, or json.", type: String?.self),
| 8 | FoundationModels.GenerationSchema.Property(name: "headers", description: "Optional headers as name-value pairs.", type: [HeaderItem]?.self)
| | |- error: 'GenerationSchema' is only available in macOS 26.0 or newer
| | `- note: add 'if #available' version check
| 9 | ]
|10 | )
+--------------------------------------------------------------------
63 | }
64 |
macro expansion @Generable:8:47: error: conformance of 'Array<Element>' to 'Generable' is only available in macOS 26.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/WWHttpFetchTool/WWHttpFetchTool.swift:62:5: note: expanded code originates here
39 | }
40 |
41 | @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
42 | public struct Arguments: Sendable {
| `- note: add '@available' attribute to enclosing struct
43 |
44 | @Guide(description: "The URL to fetch.")
:
60 | self.headers = headers
61 | }
62 | }
+--- 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,
| :
| 6 | FoundationModels.GenerationSchema.Property(name: "method", description: "HTTP method, for example GET or POST.", type: String?.self),
| 7 | FoundationModels.GenerationSchema.Property(name: "mode", description: "Optional mode: auto, text, html, or json.", type: String?.self),
| 8 | FoundationModels.GenerationSchema.Property(name: "headers", description: "Optional headers as name-value pairs.", type: [HeaderItem]?.self)
| | |- error: conformance of 'Array<Element>' to 'Generable' is only available in macOS 26.0 or newer
| | `- note: add 'if #available' version check
| 9 | ]
|10 | )
+--------------------------------------------------------------------
63 | }
64 |
macro expansion @Generable:14:49: error: 'ConvertibleToGeneratedContent' is only available in macOS 26.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/WWHttpFetchTool/WWHttpFetchTool.swift:62:5: note: expanded code originates here
39 | }
40 |
41 | @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
42 | public struct Arguments: Sendable {
| `- note: add '@available' attribute to enclosing struct
43 |
44 | @Guide(description: "The URL to fetch.")
:
60 | self.headers = headers
61 | }
62 | }
+--- macro expansion @Generable -------------------------------------
|11 | }
|12 |
|13 | nonisolated public var generatedContent: GeneratedContent {
| | `- note: add '@available' attribute to enclosing property
|14 | var properties = [(name: String, value: any ConvertibleToGeneratedContent)]()
| | |- error: 'ConvertibleToGeneratedContent' is only available in macOS 26.0 or newer
| | `- note: add 'if #available' version check
|15 | addProperty(name: "url", value: self.url)
|16 | addProperty(name: "method", value: self.method)
+--------------------------------------------------------------------
63 | }
64 |
macro expansion @Generable:15:5: error: conformance of 'String' to 'Generable' is only available in macOS 26.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/WWHttpFetchTool/WWHttpFetchTool.swift:62:5: note: expanded code originates here
39 | }
40 |
41 | @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
42 | public struct Arguments: Sendable {
| `- note: add '@available' attribute to enclosing struct
43 |
44 | @Guide(description: "The URL to fetch.")
:
60 | self.headers = headers
61 | }
62 | }
+--- macro expansion @Generable -------------------------------------
|11 | }
|12 |
|13 | nonisolated public var generatedContent: GeneratedContent {
| | `- note: add '@available' attribute to enclosing property
|14 | var properties = [(name: String, value: any ConvertibleToGeneratedContent)]()
|15 | addProperty(name: "url", value: self.url)
| | |- error: conformance of 'String' to 'Generable' is only available in macOS 26.0 or newer
| | `- note: add 'if #available' version check
|16 | addProperty(name: "method", value: self.method)
|17 | addProperty(name: "mode", value: self.mode)
+--------------------------------------------------------------------
63 | }
64 |
macro expansion @Generable:16:5: error: conformance of 'String' to 'Generable' is only available in macOS 26.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/WWHttpFetchTool/WWHttpFetchTool.swift:62:5: note: expanded code originates here
39 | }
40 |
41 | @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
42 | public struct Arguments: Sendable {
| `- note: add '@available' attribute to enclosing struct
43 |
44 | @Guide(description: "The URL to fetch.")
:
60 | self.headers = headers
61 | }
62 | }
+--- macro expansion @Generable -------------------------------------
|11 | }
|12 |
|13 | nonisolated public var generatedContent: GeneratedContent {
| | `- note: add '@available' attribute to enclosing property
|14 | var properties = [(name: String, value: any ConvertibleToGeneratedContent)]()
|15 | addProperty(name: "url", value: self.url)
|16 | addProperty(name: "method", value: self.method)
| | |- error: conformance of 'String' to 'Generable' is only available in macOS 26.0 or newer
| | `- note: add 'if #available' version check
|17 | addProperty(name: "mode", value: self.mode)
|18 | addProperty(name: "headers", value: self.headers)
+--------------------------------------------------------------------
63 | }
64 |
macro expansion @Generable:17:5: error: conformance of 'String' to 'Generable' is only available in macOS 26.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/WWHttpFetchTool/WWHttpFetchTool.swift:62:5: note: expanded code originates here
39 | }
40 |
41 | @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
42 | public struct Arguments: Sendable {
| `- note: add '@available' attribute to enclosing struct
43 |
44 | @Guide(description: "The URL to fetch.")
:
60 | self.headers = headers
61 | }
62 | }
+--- macro expansion @Generable -------------------------------------
|11 | }
|12 |
|13 | nonisolated public var generatedContent: GeneratedContent {
| | `- note: add '@available' attribute to enclosing property
|14 | var properties = [(name: String, value: any ConvertibleToGeneratedContent)]()
|15 | addProperty(name: "url", value: self.url)
|16 | addProperty(name: "method", value: self.method)
|17 | addProperty(name: "mode", value: self.mode)
| | |- error: conformance of 'String' to 'Generable' is only available in macOS 26.0 or newer
| | `- note: add 'if #available' version check
|18 | addProperty(name: "headers", value: self.headers)
|19 | return GeneratedContent(
+--------------------------------------------------------------------
63 | }
64 |
macro expansion @Generable:18:5: error: conformance of 'Array<Element>' to 'Generable' is only available in macOS 26.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/WWHttpFetchTool/WWHttpFetchTool.swift:62:5: note: expanded code originates here
39 | }
40 |
41 | @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
42 | public struct Arguments: Sendable {
| `- note: add '@available' attribute to enclosing struct
43 |
44 | @Guide(description: "The URL to fetch.")
:
60 | self.headers = headers
61 | }
62 | }
+--- macro expansion @Generable -------------------------------------
|11 | }
|12 |
|13 | nonisolated public var generatedContent: GeneratedContent {
| | `- note: add '@available' attribute to enclosing property
|14 | var properties = [(name: String, value: any ConvertibleToGeneratedContent)]()
|15 | addProperty(name: "url", value: self.url)
|16 | addProperty(name: "method", value: self.method)
|17 | addProperty(name: "mode", value: self.mode)
|18 | addProperty(name: "headers", value: self.headers)
| | |- error: conformance of 'Array<Element>' to 'Generable' is only available in macOS 26.0 or newer
| | `- note: add 'if #available' version check
|19 | return GeneratedContent(
|20 | properties: properties,
+--------------------------------------------------------------------
63 | }
64 |
macro expansion @Generable:19:12: error: 'GeneratedContent' is only available in macOS 26.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/WWHttpFetchTool/WWHttpFetchTool.swift:62:5: note: expanded code originates here
39 | }
40 |
41 | @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
42 | public struct Arguments: Sendable {
| `- note: add '@available' attribute to enclosing struct
43 |
44 | @Guide(description: "The URL to fetch.")
:
60 | self.headers = headers
61 | }
62 | }
+--- macro expansion @Generable -------------------------------------
|11 | }
|12 |
|13 | nonisolated public var generatedContent: GeneratedContent {
| | `- note: add '@available' attribute to enclosing property
|14 | var properties = [(name: String, value: any ConvertibleToGeneratedContent)]()
|15 | addProperty(name: "url", value: self.url)
| :
|17 | addProperty(name: "mode", value: self.mode)
|18 | addProperty(name: "headers", value: self.headers)
|19 | return GeneratedContent(
| | |- error: 'GeneratedContent' is only available in macOS 26.0 or newer
| | `- note: add 'if #available' version check
|20 | properties: properties,
|21 | uniquingKeysWith: { _, second in
+--------------------------------------------------------------------
63 | }
64 |
macro expansion @Generable:25:48: error: 'Generable' is only available in macOS 26.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/WWHttpFetchTool/WWHttpFetchTool.swift:62:5: note: expanded code originates here
39 | }
40 |
41 | @Generable
| |- note: in expansion of macro 'Generable' on struct 'Arguments' here
| `- note: in expansion of macro 'Generable' on struct 'Arguments' here
42 | public struct Arguments: Sendable {
| `- note: add '@available' attribute to enclosing struct
43 |
44 | @Guide(description: "The URL to fetch.")
:
60 | self.headers = headers
61 | }
62 | }
+--- macro expansion @Generable -------------------------------------
|11 | }
|12 |
|13 | nonisolated public var generatedContent: GeneratedContent {
| | `- note: add '@available' attribute to enclosing property
|14 | var properties = [(name: String, value: any ConvertibleToGeneratedContent)]()
|15 | addProperty(name: "url", value: self.url)
| :
|23 | }
|24 | )
|25 | func addProperty(name: String, value: some Generable) {
| | `- error: 'Generable' is only available in macOS 26.0 or newer
|26 | properties.append((name, value))
|27 | }
+--------------------------------------------------------------------
63 | }
64 |
macro expansion @Generable:25:48: error: 'Generable' is only available in macOS 26.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/WWHttpFetchTool/WWHttpFetchTool.swift:62:5: note: expanded code originates here
39 | }
40 |
41 | @Generable
| |- note: in expansion of macro 'Generable' on struct 'Arguments' here
| `- note: in expansion of macro 'Generable' on struct 'Arguments' here
42 | public struct Arguments: Sendable {
| `- note: add '@available' attribute to enclosing struct
43 |
44 | @Guide(description: "The URL to fetch.")
:
60 | self.headers = headers
61 | }
62 | }
+--- macro expansion @Generable -------------------------------------
|11 | }
|12 |
|13 | nonisolated public var generatedContent: GeneratedContent {
| | `- note: add '@available' attribute to enclosing property
|14 | var properties = [(name: String, value: any ConvertibleToGeneratedContent)]()
|15 | addProperty(name: "url", value: self.url)
| :
|23 | }
|24 | )
|25 | func addProperty(name: String, value: some Generable) {
| | `- error: 'Generable' is only available in macOS 26.0 or newer
|26 | properties.append((name, value))
|27 | }
+--------------------------------------------------------------------
63 | }
64 |
macro expansion @Generable:28:49: error: 'Generable' is only available in macOS 26.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/WWHttpFetchTool/WWHttpFetchTool.swift:62:5: note: expanded code originates here
39 | }
40 |
41 | @Generable
| |- note: in expansion of macro 'Generable' on struct 'Arguments' here
| `- note: in expansion of macro 'Generable' on struct 'Arguments' here
42 | public struct Arguments: Sendable {
| `- note: add '@available' attribute to enclosing struct
43 |
44 | @Guide(description: "The URL to fetch.")
:
60 | self.headers = headers
61 | }
62 | }
+--- macro expansion @Generable -------------------------------------
|11 | }
|12 |
|13 | nonisolated public var generatedContent: GeneratedContent {
| | `- note: add '@available' attribute to enclosing property
|14 | var properties = [(name: String, value: any ConvertibleToGeneratedContent)]()
|15 | addProperty(name: "url", value: self.url)
| :
|26 | properties.append((name, value))
|27 | }
|28 | func addProperty(name: String, value: (some Generable)?) {
| | `- error: 'Generable' is only available in macOS 26.0 or newer
|29 | if let value {
|30 | properties.append((name, value))
+--------------------------------------------------------------------
63 | }
64 |
macro expansion @Generable:28:49: error: 'Generable' is only available in macOS 26.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/WWHttpFetchTool/WWHttpFetchTool.swift:62:5: note: expanded code originates here
39 | }
40 |
41 | @Generable
| |- note: in expansion of macro 'Generable' on struct 'Arguments' here
| `- note: in expansion of macro 'Generable' on struct 'Arguments' here
42 | public struct Arguments: Sendable {
| `- note: add '@available' attribute to enclosing struct
43 |
44 | @Guide(description: "The URL to fetch.")
:
60 | self.headers = headers
61 | }
62 | }
+--- macro expansion @Generable -------------------------------------
|11 | }
|12 |
|13 | nonisolated public var generatedContent: GeneratedContent {
| | `- note: add '@available' attribute to enclosing property
|14 | var properties = [(name: String, value: any ConvertibleToGeneratedContent)]()
|15 | addProperty(name: "url", value: self.url)
| :
|26 | properties.append((name, value))
|27 | }
|28 | func addProperty(name: String, value: (some Generable)?) {
| | `- error: 'Generable' is only available in macOS 26.0 or newer
|29 | if let value {
|30 | properties.append((name, value))
+--------------------------------------------------------------------
63 | }
64 |
macro expansion @Generable:42:33: error: 'GenerationID' is only available in macOS 26.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/WWHttpFetchTool/WWHttpFetchTool.swift:62:5: note: expanded code originates here
39 | }
40 |
41 | @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
42 | public struct Arguments: Sendable {
43 |
:
60 | self.headers = headers
61 | }
62 | }
+--- macro expansion @Generable -------------------------------------
|33 | }
|34 |
|35 | nonisolated public struct PartiallyGenerated: Identifiable, nonisolated FoundationModels.ConvertibleFromGeneratedContent {
| | `- note: add '@available' attribute to enclosing struct
|36 | public var id: GenerationID
|37 | public var url: String.PartiallyGenerated?
| :
|39 | public var mode: String?.PartiallyGenerated?
|40 | public var headers: [HeaderItem]?.PartiallyGenerated?
|41 | nonisolated public init(_ content: FoundationModels.GeneratedContent) throws {
| | `- note: add '@available' attribute to enclosing initializer
|42 | self.id = content.id ?? GenerationID()
| | |- error: 'GenerationID' is only available in macOS 26.0 or newer
| | `- note: add 'if #available' version check
|43 | self.url = try content.value(forProperty: "url")
|44 | self.method = try content.value(forProperty: "method")
+--------------------------------------------------------------------
63 | }
64 |
macro expansion @Generable:43:32: error: conformance of 'String' to 'ConvertibleFromGeneratedContent' is only available in macOS 26.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/WWHttpFetchTool/WWHttpFetchTool.swift:62:5: note: expanded code originates here
39 | }
40 |
41 | @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
42 | public struct Arguments: Sendable {
43 |
:
60 | self.headers = headers
61 | }
62 | }
+--- macro expansion @Generable -------------------------------------
|33 | }
|34 |
|35 | nonisolated public struct PartiallyGenerated: Identifiable, nonisolated FoundationModels.ConvertibleFromGeneratedContent {
| | `- note: add '@available' attribute to enclosing struct
|36 | public var id: GenerationID
|37 | public var url: String.PartiallyGenerated?
| :
|39 | public var mode: String?.PartiallyGenerated?
|40 | public var headers: [HeaderItem]?.PartiallyGenerated?
|41 | nonisolated public init(_ content: FoundationModels.GeneratedContent) throws {
| | `- note: add '@available' attribute to enclosing initializer
|42 | self.id = content.id ?? GenerationID()
|43 | self.url = try content.value(forProperty: "url")
| | |- error: conformance of 'String' to 'ConvertibleFromGeneratedContent' is only available in macOS 26.0 or newer
| | `- note: add 'if #available' version check
|44 | self.method = try content.value(forProperty: "method")
|45 | self.mode = try content.value(forProperty: "mode")
+--------------------------------------------------------------------
63 | }
64 |
macro expansion @Generable:44:35: error: conformance of 'String' to 'ConvertibleFromGeneratedContent' is only available in macOS 26.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/WWHttpFetchTool/WWHttpFetchTool.swift:62:5: note: expanded code originates here
39 | }
40 |
41 | @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
42 | public struct Arguments: Sendable {
43 |
:
60 | self.headers = headers
61 | }
62 | }
+--- macro expansion @Generable -------------------------------------
|33 | }
|34 |
|35 | nonisolated public struct PartiallyGenerated: Identifiable, nonisolated FoundationModels.ConvertibleFromGeneratedContent {
| | `- note: add '@available' attribute to enclosing struct
|36 | public var id: GenerationID
|37 | public var url: String.PartiallyGenerated?
| :
|39 | public var mode: String?.PartiallyGenerated?
|40 | public var headers: [HeaderItem]?.PartiallyGenerated?
|41 | nonisolated public init(_ content: FoundationModels.GeneratedContent) throws {
| | `- note: add '@available' attribute to enclosing initializer
|42 | self.id = content.id ?? GenerationID()
|43 | self.url = try content.value(forProperty: "url")
|44 | self.method = try content.value(forProperty: "method")
| | |- error: conformance of 'String' to 'ConvertibleFromGeneratedContent' is only available in macOS 26.0 or newer
| | `- note: add 'if #available' version check
|45 | self.mode = try content.value(forProperty: "mode")
|46 | self.headers = try content.value(forProperty: "headers")
+--------------------------------------------------------------------
63 | }
64 |
macro expansion @Generable:45:33: error: conformance of 'String' to 'ConvertibleFromGeneratedContent' is only available in macOS 26.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/WWHttpFetchTool/WWHttpFetchTool.swift:62:5: note: expanded code originates here
39 | }
40 |
41 | @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
42 | public struct Arguments: Sendable {
43 |
:
60 | self.headers = headers
61 | }
62 | }
+--- macro expansion @Generable -------------------------------------
|33 | }
|34 |
|35 | nonisolated public struct PartiallyGenerated: Identifiable, nonisolated FoundationModels.ConvertibleFromGeneratedContent {
| | `- note: add '@available' attribute to enclosing struct
|36 | public var id: GenerationID
|37 | public var url: String.PartiallyGenerated?
| :
|39 | public var mode: String?.PartiallyGenerated?
|40 | public var headers: [HeaderItem]?.PartiallyGenerated?
|41 | nonisolated public init(_ content: FoundationModels.GeneratedContent) throws {
| | `- note: add '@available' attribute to enclosing initializer
|42 | self.id = content.id ?? GenerationID()
|43 | self.url = try content.value(forProperty: "url")
|44 | self.method = try content.value(forProperty: "method")
|45 | self.mode = try content.value(forProperty: "mode")
| | |- error: conformance of 'String' to 'ConvertibleFromGeneratedContent' is only available in macOS 26.0 or newer
| | `- note: add 'if #available' version check
|46 | self.headers = try content.value(forProperty: "headers")
|47 | }
+--------------------------------------------------------------------
63 | }
64 |
macro expansion @Generable:46:36: error: conformance of 'Array<Element>' to 'ConvertibleFromGeneratedContent' is only available in macOS 26.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/WWHttpFetchTool/WWHttpFetchTool.swift:62:5: note: expanded code originates here
39 | }
40 |
41 | @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
42 | public struct Arguments: Sendable {
43 |
:
60 | self.headers = headers
61 | }
62 | }
+--- macro expansion @Generable -------------------------------------
|33 | }
|34 |
|35 | nonisolated public struct PartiallyGenerated: Identifiable, nonisolated FoundationModels.ConvertibleFromGeneratedContent {
| | `- note: add '@available' attribute to enclosing struct
|36 | public var id: GenerationID
|37 | public var url: String.PartiallyGenerated?
| :
|39 | public var mode: String?.PartiallyGenerated?
|40 | public var headers: [HeaderItem]?.PartiallyGenerated?
|41 | nonisolated public init(_ content: FoundationModels.GeneratedContent) throws {
| | `- note: add '@available' attribute to enclosing initializer
|42 | self.id = content.id ?? GenerationID()
|43 | self.url = try content.value(forProperty: "url")
|44 | self.method = try content.value(forProperty: "method")
|45 | self.mode = try content.value(forProperty: "mode")
|46 | self.headers = try content.value(forProperty: "headers")
| | |- error: conformance of 'Array<Element>' to 'ConvertibleFromGeneratedContent' is only available in macOS 26.0 or newer
| | `- note: add 'if #available' version check
|47 | }
|48 | }
+--------------------------------------------------------------------
63 | }
64 |
macro expansion @Generable:3:32: error: conformance of 'String' to 'ConvertibleFromGeneratedContent' is only available in macOS 26.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/WWHttpFetchTool/WWHttpFetchTool.swift:63:2: note: expanded code originates here
39 | }
40 |
41 | @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
42 | public struct Arguments: Sendable {
43 |
:
61 | }
62 | }
63 | }
+--- macro expansion @Generable -------------------------------------
|1 | extension WWHttpFetchTool.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.url = try content.value(forProperty: "url")
| | |- error: conformance of 'String' to 'ConvertibleFromGeneratedContent' is only available in macOS 26.0 or newer
| | `- note: add 'if #available' version check
|4 | self.method = try content.value(forProperty: "method")
|5 | self.mode = try content.value(forProperty: "mode")
+--------------------------------------------------------------------
64 |
65 | public extension WWHttpFetchTool {
macro expansion @Generable:4:35: error: conformance of 'String' to 'ConvertibleFromGeneratedContent' is only available in macOS 26.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/WWHttpFetchTool/WWHttpFetchTool.swift:63:2: note: expanded code originates here
39 | }
40 |
41 | @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
42 | public struct Arguments: Sendable {
43 |
:
61 | }
62 | }
63 | }
+--- macro expansion @Generable -------------------------------------
|1 | extension WWHttpFetchTool.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.url = try content.value(forProperty: "url")
|4 | self.method = try content.value(forProperty: "method")
| | |- error: conformance of 'String' to 'ConvertibleFromGeneratedContent' is only available in macOS 26.0 or newer
| | `- note: add 'if #available' version check
|5 | self.mode = try content.value(forProperty: "mode")
|6 | self.headers = try content.value(forProperty: "headers")
+--------------------------------------------------------------------
64 |
65 | public extension WWHttpFetchTool {
macro expansion @Generable:5:33: error: conformance of 'String' to 'ConvertibleFromGeneratedContent' is only available in macOS 26.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/WWHttpFetchTool/WWHttpFetchTool.swift:63:2: note: expanded code originates here
39 | }
40 |
41 | @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
42 | public struct Arguments: Sendable {
43 |
:
61 | }
62 | }
63 | }
+--- macro expansion @Generable -------------------------------------
|1 | extension WWHttpFetchTool.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.url = try content.value(forProperty: "url")
|4 | self.method = try content.value(forProperty: "method")
|5 | self.mode = try content.value(forProperty: "mode")
| | |- error: conformance of 'String' to 'ConvertibleFromGeneratedContent' is only available in macOS 26.0 or newer
| | `- note: add 'if #available' version check
|6 | self.headers = try content.value(forProperty: "headers")
|7 | }
+--------------------------------------------------------------------
64 |
65 | public extension WWHttpFetchTool {
macro expansion @Generable:6:36: error: conformance of 'Array<Element>' to 'ConvertibleFromGeneratedContent' is only available in macOS 26.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/WWHttpFetchTool/WWHttpFetchTool.swift:63:2: note: expanded code originates here
39 | }
40 |
41 | @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
42 | public struct Arguments: Sendable {
43 |
:
61 | }
62 | }
63 | }
+--- macro expansion @Generable -------------------------------------
|1 | extension WWHttpFetchTool.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.url = try content.value(forProperty: "url")
|4 | self.method = try content.value(forProperty: "method")
|5 | self.mode = try content.value(forProperty: "mode")
|6 | self.headers = try content.value(forProperty: "headers")
| | |- error: conformance of 'Array<Element>' to 'ConvertibleFromGeneratedContent' is only available in macOS 26.0 or newer
| | `- note: add 'if #available' version check
|7 | }
|8 | }
+--------------------------------------------------------------------
64 |
65 | public extension WWHttpFetchTool {
macro expansion @Generable:3:33: error: conformance of 'String' to 'ConvertibleFromGeneratedContent' is only available in macOS 26.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/WWHttpFetchTool/WWHttpFetchTool.swift:63:2: note: expanded code originates here
24 | extension WWHttpFetchTool {
25 |
26 | @Generable
| |- note: in expansion of macro 'Generable' on struct 'HeaderItem' here
| |- note: in expansion of macro 'Generable' on struct 'HeaderItem' here
| |- note: in expansion of macro 'Generable' on struct 'HeaderItem' here
| `- note: in expansion of macro 'Generable' on struct 'HeaderItem' here
27 | public struct HeaderItem: Sendable {
28 |
:
61 | }
62 | }
63 | }
+--- macro expansion @Generable -------------------------------------
|1 | extension WWHttpFetchTool.HeaderItem: 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.name = try content.value(forProperty: "name")
| | |- error: conformance of 'String' to 'ConvertibleFromGeneratedContent' is only available in macOS 26.0 or newer
| | `- note: add 'if #available' version check
|4 | self.value = try content.value(forProperty: "value")
|5 | }
+--------------------------------------------------------------------
64 |
65 | public extension WWHttpFetchTool {
macro expansion @Generable:4:34: error: conformance of 'String' to 'ConvertibleFromGeneratedContent' is only available in macOS 26.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/WWHttpFetchTool/WWHttpFetchTool.swift:63:2: note: expanded code originates here
24 | extension WWHttpFetchTool {
25 |
26 | @Generable
| |- note: in expansion of macro 'Generable' on struct 'HeaderItem' here
| |- note: in expansion of macro 'Generable' on struct 'HeaderItem' here
| |- note: in expansion of macro 'Generable' on struct 'HeaderItem' here
| `- note: in expansion of macro 'Generable' on struct 'HeaderItem' here
27 | public struct HeaderItem: Sendable {
28 |
:
61 | }
62 | }
63 | }
+--- macro expansion @Generable -------------------------------------
|1 | extension WWHttpFetchTool.HeaderItem: 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.name = try content.value(forProperty: "name")
|4 | self.value = try content.value(forProperty: "value")
| | |- error: conformance of 'String' to 'ConvertibleFromGeneratedContent' is only available in macOS 26.0 or newer
| | `- note: add 'if #available' version check
|5 | }
|6 | }
+--------------------------------------------------------------------
64 |
65 | public extension WWHttpFetchTool {
[8/8] Compiling WWHttpFetchTool Service.swift
/Users/admin/builder/spi-builder-workspace/Sources/WWHttpFetchTool/Utility/Service.swift:51:64: error: 'data(for:delegate:)' is only available in macOS 12.0 or newer
10 | extension WWHttpFetchTool {
11 |
12 | final class Service: Sendable {
| `- note: add '@available' attribute to enclosing class
13 |
14 | init() {}
:
29 | /// - `CustomError.requestFailed`: 請求失敗,或 HTTP 狀態碼不在 `200...299` 範圍內。
30 | /// - `CustomError.decodingFailed`: 回傳資料無法以 UTF-8 解碼為字串。
31 | func fetch(urlString: String, method: String, mode: String, headers: [String: String]) async throws -> String {
| `- note: add '@available' attribute to enclosing instance method
32 |
33 | guard let url = URL(string: urlString) else { throw CustomError.invalidURL }
:
49 | }
50 |
51 | let (data, response) = try await URLSession.shared.data(for: request)
| |- error: 'data(for:delegate:)' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
52 |
53 | guard let httpResponse = response as? HTTPURLResponse,
BUILD FAILURE 6.2 macosSpm