Build Information
Failed to build WWHttpFetchTool, reference main (359ab7), with Swift 6.3 for macOS (SPM) on 28 Jun 2026 07:52:28 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.4.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
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"traits": [
"default"
],
"dependencies": [
{
"identity": "wwhttpfetchtool",
"name": "WWHttpFetchTool",
"url": "https://github.com/William-Weng/WWHttpFetchTool.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/WWHttpFetchTool",
"traits": [
"default"
],
"dependencies": [
]
}
]
}
Fetching https://github.com/William-Weng/WWHttpFetchTool.git
[1/90] Fetching wwhttpfetchtool
Fetched https://github.com/William-Weng/WWHttpFetchTool.git from cache (0.80s)
Creating working copy for https://github.com/William-Weng/WWHttpFetchTool.git
Working copy of https://github.com/William-Weng/WWHttpFetchTool.git resolved at main (359ab7c)
warning: '.resolve-product-dependencies': dependency 'wwhttpfetchtool' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.3
Building package at path: $PWD
https://github.com/William-Weng/WWHttpFetchTool.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/3] Write sources
[1/3] Copying Privacy
[2/3] Write swift-version--6988338F2F200930.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/8] Compiling WWHttpFetchTool Error.swift
[5/8] Compiling WWHttpFetchTool resource_bundle_accessor.swift
[6/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 | let explicitNil = false
|13 | var properties = [(name: String, value: any ConvertibleToGeneratedContent)]()
+--------------------------------------------------------------------
40 |
41 | @Generable
macro expansion @Generable:33: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 -------------------------------------
|30 | }
|31 |
|32 | nonisolated public struct PartiallyGenerated: Identifiable, nonisolated FoundationModels.ConvertibleFromGeneratedContent {
| | `- note: add '@available' attribute to enclosing struct
|33 | public var id: GenerationID
| | `- error: 'GenerationID' is only available in macOS 26.0 or newer
|34 | public var name: String.PartiallyGenerated?
|35 | public var value: String.PartiallyGenerated?
+--------------------------------------------------------------------
40 |
41 | @Generable
macro expansion @Generable:34: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 -------------------------------------
|30 | }
|31 |
|32 | nonisolated public struct PartiallyGenerated: Identifiable, nonisolated FoundationModels.ConvertibleFromGeneratedContent {
| | `- note: add '@available' attribute to enclosing struct
|33 | public var id: GenerationID
|34 | public var name: String.PartiallyGenerated?
| | `- error: 'PartiallyGenerated' is only available in macOS 26.0 or newer
|35 | public var value: String.PartiallyGenerated?
|36 | nonisolated public init(_ content: FoundationModels.GeneratedContent) throws {
+--------------------------------------------------------------------
40 |
41 | @Generable
macro expansion @Generable:35: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 -------------------------------------
|30 | }
|31 |
|32 | nonisolated public struct PartiallyGenerated: Identifiable, nonisolated FoundationModels.ConvertibleFromGeneratedContent {
| | `- note: add '@available' attribute to enclosing struct
|33 | public var id: GenerationID
|34 | public var name: String.PartiallyGenerated?
|35 | public var value: String.PartiallyGenerated?
| | `- error: 'PartiallyGenerated' is only available in macOS 26.0 or newer
|36 | nonisolated public init(_ content: FoundationModels.GeneratedContent) throws {
|37 | self.id = content.id ?? GenerationID()
+--------------------------------------------------------------------
40 |
41 | @Generable
macro expansion @Generable:36: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 -------------------------------------
|30 | }
|31 |
|32 | nonisolated public struct PartiallyGenerated: Identifiable, nonisolated FoundationModels.ConvertibleFromGeneratedContent {
| | `- note: add '@available' attribute to enclosing struct
|33 | public var id: GenerationID
|34 | public var name: String.PartiallyGenerated?
|35 | public var value: String.PartiallyGenerated?
|36 | nonisolated public init(_ content: FoundationModels.GeneratedContent) throws {
| | | `- error: 'GeneratedContent' is only available in macOS 26.0 or newer
| | `- note: add '@available' attribute to enclosing initializer
|37 | self.id = content.id ?? GenerationID()
|38 | self.name = try content.value(forProperty: "name")
+--------------------------------------------------------------------
40 |
41 | @Generable
macro expansion @Generable:32: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 -------------------------------------
|30 | }
|31 |
|32 | 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
|33 | public var id: GenerationID
|34 | 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 | let explicitNil = false
|15 | var properties = [(name: String, value: any ConvertibleToGeneratedContent)]()
+--------------------------------------------------------------------
63 | }
64 |
macro expansion @Generable:37: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 -------------------------------------
|34 | }
|35 |
|36 | nonisolated public struct PartiallyGenerated: Identifiable, nonisolated FoundationModels.ConvertibleFromGeneratedContent {
| | `- note: add '@available' attribute to enclosing struct
|37 | public var id: GenerationID
| | `- error: 'GenerationID' is only available in macOS 26.0 or newer
|38 | public var url: String.PartiallyGenerated?
|39 | public var method: String?.PartiallyGenerated?
+--------------------------------------------------------------------
63 | }
64 |
macro expansion @Generable:38: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 -------------------------------------
|34 | }
|35 |
|36 | nonisolated public struct PartiallyGenerated: Identifiable, nonisolated FoundationModels.ConvertibleFromGeneratedContent {
| | `- note: add '@available' attribute to enclosing struct
|37 | public var id: GenerationID
|38 | public var url: String.PartiallyGenerated?
| | `- error: 'PartiallyGenerated' is only available in macOS 26.0 or newer
|39 | public var method: String?.PartiallyGenerated?
|40 | public var mode: String?.PartiallyGenerated?
+--------------------------------------------------------------------
63 | }
64 |
macro expansion @Generable:39: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 -------------------------------------
|34 | }
|35 |
|36 | nonisolated public struct PartiallyGenerated: Identifiable, nonisolated FoundationModels.ConvertibleFromGeneratedContent {
| | `- note: add '@available' attribute to enclosing struct
|37 | public var id: GenerationID
|38 | public var url: String.PartiallyGenerated?
|39 | public var method: String?.PartiallyGenerated?
| | `- error: 'PartiallyGenerated' is only available in macOS 26.0 or newer
|40 | public var mode: String?.PartiallyGenerated?
|41 | public var headers: [HeaderItem]?.PartiallyGenerated?
+--------------------------------------------------------------------
63 | }
64 |
macro expansion @Generable:40: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 -------------------------------------
|34 | }
|35 |
|36 | nonisolated public struct PartiallyGenerated: Identifiable, nonisolated FoundationModels.ConvertibleFromGeneratedContent {
| | `- note: add '@available' attribute to enclosing struct
|37 | public var id: GenerationID
|38 | public var url: String.PartiallyGenerated?
|39 | public var method: String?.PartiallyGenerated?
|40 | public var mode: String?.PartiallyGenerated?
| | `- error: 'PartiallyGenerated' is only available in macOS 26.0 or newer
|41 | public var headers: [HeaderItem]?.PartiallyGenerated?
|42 | nonisolated public init(_ content: FoundationModels.GeneratedContent) throws {
+--------------------------------------------------------------------
63 | }
64 |
macro expansion @Generable:41: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 -------------------------------------
|34 | }
|35 |
|36 | nonisolated public struct PartiallyGenerated: Identifiable, nonisolated FoundationModels.ConvertibleFromGeneratedContent {
| | `- note: add '@available' attribute to enclosing struct
|37 | public var id: GenerationID
|38 | public var url: String.PartiallyGenerated?
|39 | public var method: String?.PartiallyGenerated?
|40 | public var mode: String?.PartiallyGenerated?
|41 | public var headers: [HeaderItem]?.PartiallyGenerated?
| | `- error: 'PartiallyGenerated' is only available in macOS 26.0 or newer
|42 | nonisolated public init(_ content: FoundationModels.GeneratedContent) throws {
|43 | self.id = content.id ?? GenerationID()
+--------------------------------------------------------------------
63 | }
64 |
macro expansion @Generable:42: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 -------------------------------------
|34 | }
|35 |
|36 | nonisolated public struct PartiallyGenerated: Identifiable, nonisolated FoundationModels.ConvertibleFromGeneratedContent {
| | `- note: add '@available' attribute to enclosing struct
|37 | public var id: GenerationID
|38 | public var url: String.PartiallyGenerated?
| :
|40 | public var mode: String?.PartiallyGenerated?
|41 | public var headers: [HeaderItem]?.PartiallyGenerated?
|42 | 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
|43 | self.id = content.id ?? GenerationID()
|44 | self.url = try content.value(forProperty: "url")
+--------------------------------------------------------------------
63 | }
64 |
macro expansion @Generable:36: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 -------------------------------------
|34 | }
|35 |
|36 | 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
|37 | public var id: GenerationID
|38 | 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 {
[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 | let explicitNil = false
|13 | var properties = [(name: String, value: any ConvertibleToGeneratedContent)]()
+--------------------------------------------------------------------
40 |
41 | @Generable
macro expansion @Generable:33: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 -------------------------------------
|30 | }
|31 |
|32 | nonisolated public struct PartiallyGenerated: Identifiable, nonisolated FoundationModels.ConvertibleFromGeneratedContent {
| | `- note: add '@available' attribute to enclosing struct
|33 | public var id: GenerationID
| | `- error: 'GenerationID' is only available in macOS 26.0 or newer
|34 | public var name: String.PartiallyGenerated?
|35 | public var value: String.PartiallyGenerated?
+--------------------------------------------------------------------
40 |
41 | @Generable
macro expansion @Generable:34: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 -------------------------------------
|30 | }
|31 |
|32 | nonisolated public struct PartiallyGenerated: Identifiable, nonisolated FoundationModels.ConvertibleFromGeneratedContent {
| | `- note: add '@available' attribute to enclosing struct
|33 | public var id: GenerationID
|34 | public var name: String.PartiallyGenerated?
| | `- error: 'PartiallyGenerated' is only available in macOS 26.0 or newer
|35 | public var value: String.PartiallyGenerated?
|36 | nonisolated public init(_ content: FoundationModels.GeneratedContent) throws {
+--------------------------------------------------------------------
40 |
41 | @Generable
macro expansion @Generable:35: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 -------------------------------------
|30 | }
|31 |
|32 | nonisolated public struct PartiallyGenerated: Identifiable, nonisolated FoundationModels.ConvertibleFromGeneratedContent {
| | `- note: add '@available' attribute to enclosing struct
|33 | public var id: GenerationID
|34 | public var name: String.PartiallyGenerated?
|35 | public var value: String.PartiallyGenerated?
| | `- error: 'PartiallyGenerated' is only available in macOS 26.0 or newer
|36 | nonisolated public init(_ content: FoundationModels.GeneratedContent) throws {
|37 | self.id = content.id ?? GenerationID()
+--------------------------------------------------------------------
40 |
41 | @Generable
macro expansion @Generable:36: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 -------------------------------------
|30 | }
|31 |
|32 | nonisolated public struct PartiallyGenerated: Identifiable, nonisolated FoundationModels.ConvertibleFromGeneratedContent {
| | `- note: add '@available' attribute to enclosing struct
|33 | public var id: GenerationID
|34 | public var name: String.PartiallyGenerated?
|35 | public var value: String.PartiallyGenerated?
|36 | nonisolated public init(_ content: FoundationModels.GeneratedContent) throws {
| | | `- error: 'GeneratedContent' is only available in macOS 26.0 or newer
| | `- note: add '@available' attribute to enclosing initializer
|37 | self.id = content.id ?? GenerationID()
|38 | self.name = try content.value(forProperty: "name")
+--------------------------------------------------------------------
40 |
41 | @Generable
macro expansion @Generable:32: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 -------------------------------------
|30 | }
|31 |
|32 | 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
|33 | public var id: GenerationID
|34 | 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 | let explicitNil = false
|15 | var properties = [(name: String, value: any ConvertibleToGeneratedContent)]()
+--------------------------------------------------------------------
63 | }
64 |
macro expansion @Generable:37: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 -------------------------------------
|34 | }
|35 |
|36 | nonisolated public struct PartiallyGenerated: Identifiable, nonisolated FoundationModels.ConvertibleFromGeneratedContent {
| | `- note: add '@available' attribute to enclosing struct
|37 | public var id: GenerationID
| | `- error: 'GenerationID' is only available in macOS 26.0 or newer
|38 | public var url: String.PartiallyGenerated?
|39 | public var method: String?.PartiallyGenerated?
+--------------------------------------------------------------------
63 | }
64 |
macro expansion @Generable:38: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 -------------------------------------
|34 | }
|35 |
|36 | nonisolated public struct PartiallyGenerated: Identifiable, nonisolated FoundationModels.ConvertibleFromGeneratedContent {
| | `- note: add '@available' attribute to enclosing struct
|37 | public var id: GenerationID
|38 | public var url: String.PartiallyGenerated?
| | `- error: 'PartiallyGenerated' is only available in macOS 26.0 or newer
|39 | public var method: String?.PartiallyGenerated?
|40 | public var mode: String?.PartiallyGenerated?
+--------------------------------------------------------------------
63 | }
64 |
macro expansion @Generable:39: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 -------------------------------------
|34 | }
|35 |
|36 | nonisolated public struct PartiallyGenerated: Identifiable, nonisolated FoundationModels.ConvertibleFromGeneratedContent {
| | `- note: add '@available' attribute to enclosing struct
|37 | public var id: GenerationID
|38 | public var url: String.PartiallyGenerated?
|39 | public var method: String?.PartiallyGenerated?
| | `- error: 'PartiallyGenerated' is only available in macOS 26.0 or newer
|40 | public var mode: String?.PartiallyGenerated?
|41 | public var headers: [HeaderItem]?.PartiallyGenerated?
+--------------------------------------------------------------------
63 | }
64 |
macro expansion @Generable:40: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 -------------------------------------
|34 | }
|35 |
|36 | nonisolated public struct PartiallyGenerated: Identifiable, nonisolated FoundationModels.ConvertibleFromGeneratedContent {
| | `- note: add '@available' attribute to enclosing struct
|37 | public var id: GenerationID
|38 | public var url: String.PartiallyGenerated?
|39 | public var method: String?.PartiallyGenerated?
|40 | public var mode: String?.PartiallyGenerated?
| | `- error: 'PartiallyGenerated' is only available in macOS 26.0 or newer
|41 | public var headers: [HeaderItem]?.PartiallyGenerated?
|42 | nonisolated public init(_ content: FoundationModels.GeneratedContent) throws {
+--------------------------------------------------------------------
63 | }
64 |
macro expansion @Generable:41: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 -------------------------------------
|34 | }
|35 |
|36 | nonisolated public struct PartiallyGenerated: Identifiable, nonisolated FoundationModels.ConvertibleFromGeneratedContent {
| | `- note: add '@available' attribute to enclosing struct
|37 | public var id: GenerationID
|38 | public var url: String.PartiallyGenerated?
|39 | public var method: String?.PartiallyGenerated?
|40 | public var mode: String?.PartiallyGenerated?
|41 | public var headers: [HeaderItem]?.PartiallyGenerated?
| | `- error: 'PartiallyGenerated' is only available in macOS 26.0 or newer
|42 | nonisolated public init(_ content: FoundationModels.GeneratedContent) throws {
|43 | self.id = content.id ?? GenerationID()
+--------------------------------------------------------------------
63 | }
64 |
macro expansion @Generable:42: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 -------------------------------------
|34 | }
|35 |
|36 | nonisolated public struct PartiallyGenerated: Identifiable, nonisolated FoundationModels.ConvertibleFromGeneratedContent {
| | `- note: add '@available' attribute to enclosing struct
|37 | public var id: GenerationID
|38 | public var url: String.PartiallyGenerated?
| :
|40 | public var mode: String?.PartiallyGenerated?
|41 | public var headers: [HeaderItem]?.PartiallyGenerated?
|42 | 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
|43 | self.id = content.id ?? GenerationID()
|44 | self.url = try content.value(forProperty: "url")
+--------------------------------------------------------------------
63 | }
64 |
macro expansion @Generable:36: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 -------------------------------------
|34 | }
|35 |
|36 | 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
|37 | public var id: GenerationID
|38 | 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:13: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 | let explicitNil = false
|13 | var properties = [(name: String, value: any ConvertibleToGeneratedContent)]()
| | |- error: 'ConvertibleToGeneratedContent' is only available in macOS 26.0 or newer
| | `- note: add 'if #available' version check
|14 | addProperty(name: "name", value: self.name)
|15 | addProperty(name: "value", value: self.value)
+--------------------------------------------------------------------
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 | let explicitNil = false
|13 | var properties = [(name: String, value: any ConvertibleToGeneratedContent)]()
|14 | 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
|15 | addProperty(name: "value", value: self.value)
|16 | return GeneratedContent(
+--------------------------------------------------------------------
40 |
41 | @Generable
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: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 | let explicitNil = false
|13 | var properties = [(name: String, value: any ConvertibleToGeneratedContent)]()
|14 | addProperty(name: "name", value: self.name)
|15 | 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
|16 | return GeneratedContent(
|17 | properties: properties,
+--------------------------------------------------------------------
40 |
41 | @Generable
macro expansion @Generable:16: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 | let explicitNil = false
|13 | var properties = [(name: String, value: any ConvertibleToGeneratedContent)]()
|14 | addProperty(name: "name", value: self.name)
|15 | addProperty(name: "value", value: self.value)
|16 | return GeneratedContent(
| | |- error: 'GeneratedContent' is only available in macOS 26.0 or newer
| | `- note: add 'if #available' version check
|17 | properties: properties,
|18 | uniquingKeysWith: { _, second in
+--------------------------------------------------------------------
40 |
41 | @Generable
macro expansion @Generable:22: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 | let explicitNil = false
|13 | var properties = [(name: String, value: any ConvertibleToGeneratedContent)]()
| :
|20 | }
|21 | )
|22 | func addProperty(name: String, value: some Generable) {
| | `- error: 'Generable' is only available in macOS 26.0 or newer
|23 | properties.append((name: name, value: value))
|24 | }
+--------------------------------------------------------------------
40 |
41 | @Generable
macro expansion @Generable:22: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 | let explicitNil = false
|13 | var properties = [(name: String, value: any ConvertibleToGeneratedContent)]()
| :
|20 | }
|21 | )
|22 | func addProperty(name: String, value: some Generable) {
| | `- error: 'Generable' is only available in macOS 26.0 or newer
|23 | properties.append((name: name, value: value))
|24 | }
+--------------------------------------------------------------------
40 |
41 | @Generable
macro expansion @Generable:25: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 | let explicitNil = false
|13 | var properties = [(name: String, value: any ConvertibleToGeneratedContent)]()
| :
|23 | properties.append((name: name, value: value))
|24 | }
|25 | func addProperty(name: String, value: (some Generable)?) {
| | `- error: 'Generable' is only available in macOS 26.0 or newer
|26 | if explicitNil || value != nil {
|27 | properties.append((name: name, value: value))
+--------------------------------------------------------------------
40 |
41 | @Generable
macro expansion @Generable:25: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 | let explicitNil = false
|13 | var properties = [(name: String, value: any ConvertibleToGeneratedContent)]()
| :
|23 | properties.append((name: name, value: value))
|24 | }
|25 | func addProperty(name: String, value: (some Generable)?) {
| | `- error: 'Generable' is only available in macOS 26.0 or newer
|26 | if explicitNil || value != nil {
|27 | properties.append((name: name, value: value))
+--------------------------------------------------------------------
40 |
41 | @Generable
macro expansion @Generable:27:47: error: conformance of 'Optional<Wrapped>' to '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 | let explicitNil = false
|13 | var properties = [(name: String, value: any ConvertibleToGeneratedContent)]()
| :
|25 | func addProperty(name: String, value: (some Generable)?) {
|26 | if explicitNil || value != nil {
|27 | properties.append((name: name, value: value))
| | |- error: conformance of 'Optional<Wrapped>' to 'ConvertibleToGeneratedContent' is only available in macOS 26.0 or newer
| | `- note: add 'if #available' version check
|28 | }
|29 | }
+--------------------------------------------------------------------
40 |
41 | @Generable
macro expansion @Generable:37: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 -------------------------------------
|30 | }
|31 |
|32 | nonisolated public struct PartiallyGenerated: Identifiable, nonisolated FoundationModels.ConvertibleFromGeneratedContent {
| | `- note: add '@available' attribute to enclosing struct
|33 | public var id: GenerationID
|34 | public var name: String.PartiallyGenerated?
|35 | public var value: String.PartiallyGenerated?
|36 | nonisolated public init(_ content: FoundationModels.GeneratedContent) throws {
| | `- note: add '@available' attribute to enclosing initializer
|37 | self.id = content.id ?? GenerationID()
| | |- error: 'GenerationID' is only available in macOS 26.0 or newer
| | `- note: add 'if #available' version check
|38 | self.name = try content.value(forProperty: "name")
|39 | self.value = try content.value(forProperty: "value")
+--------------------------------------------------------------------
40 |
41 | @Generable
macro expansion @Generable:38: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 -------------------------------------
|30 | }
|31 |
|32 | nonisolated public struct PartiallyGenerated: Identifiable, nonisolated FoundationModels.ConvertibleFromGeneratedContent {
| | `- note: add '@available' attribute to enclosing struct
|33 | public var id: GenerationID
|34 | public var name: String.PartiallyGenerated?
|35 | public var value: String.PartiallyGenerated?
|36 | nonisolated public init(_ content: FoundationModels.GeneratedContent) throws {
| | `- note: add '@available' attribute to enclosing initializer
|37 | self.id = content.id ?? GenerationID()
|38 | 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
|39 | self.value = try content.value(forProperty: "value")
|40 | }
+--------------------------------------------------------------------
40 |
41 | @Generable
macro expansion @Generable:39: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 -------------------------------------
|30 | }
|31 |
|32 | nonisolated public struct PartiallyGenerated: Identifiable, nonisolated FoundationModels.ConvertibleFromGeneratedContent {
| | `- note: add '@available' attribute to enclosing struct
|33 | public var id: GenerationID
|34 | public var name: String.PartiallyGenerated?
|35 | public var value: String.PartiallyGenerated?
|36 | nonisolated public init(_ content: FoundationModels.GeneratedContent) throws {
| | `- note: add '@available' attribute to enclosing initializer
|37 | self.id = content.id ?? GenerationID()
|38 | self.name = try content.value(forProperty: "name")
|39 | 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
|40 | }
|41 | }
+--------------------------------------------------------------------
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:15: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 | let explicitNil = false
|15 | var properties = [(name: String, value: any ConvertibleToGeneratedContent)]()
| | |- error: 'ConvertibleToGeneratedContent' is only available in macOS 26.0 or newer
| | `- note: add 'if #available' version check
|16 | addProperty(name: "url", value: self.url)
|17 | addProperty(name: "method", value: self.method)
+--------------------------------------------------------------------
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 | let explicitNil = false
|15 | var properties = [(name: String, value: any ConvertibleToGeneratedContent)]()
|16 | 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
|17 | addProperty(name: "method", value: self.method)
|18 | addProperty(name: "mode", value: self.mode)
+--------------------------------------------------------------------
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 | let explicitNil = false
|15 | var properties = [(name: String, value: any ConvertibleToGeneratedContent)]()
|16 | addProperty(name: "url", value: self.url)
|17 | 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
|18 | addProperty(name: "mode", value: self.mode)
|19 | addProperty(name: "headers", value: self.headers)
+--------------------------------------------------------------------
63 | }
64 |
macro expansion @Generable:18: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 | let explicitNil = false
|15 | var properties = [(name: String, value: any ConvertibleToGeneratedContent)]()
|16 | addProperty(name: "url", value: self.url)
|17 | addProperty(name: "method", value: self.method)
|18 | 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
|19 | addProperty(name: "headers", value: self.headers)
|20 | return GeneratedContent(
+--------------------------------------------------------------------
63 | }
64 |
macro expansion @Generable:19: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 | let explicitNil = false
|15 | var properties = [(name: String, value: any ConvertibleToGeneratedContent)]()
| :
|17 | addProperty(name: "method", value: self.method)
|18 | addProperty(name: "mode", value: self.mode)
|19 | 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
|20 | return GeneratedContent(
|21 | properties: properties,
+--------------------------------------------------------------------
63 | }
64 |
macro expansion @Generable:20: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 | let explicitNil = false
|15 | var properties = [(name: String, value: any ConvertibleToGeneratedContent)]()
| :
|18 | addProperty(name: "mode", value: self.mode)
|19 | addProperty(name: "headers", value: self.headers)
|20 | return GeneratedContent(
| | |- error: 'GeneratedContent' is only available in macOS 26.0 or newer
| | `- note: add 'if #available' version check
|21 | properties: properties,
|22 | uniquingKeysWith: { _, second in
+--------------------------------------------------------------------
63 | }
64 |
macro expansion @Generable:26: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 | let explicitNil = false
|15 | var properties = [(name: String, value: any ConvertibleToGeneratedContent)]()
| :
|24 | }
|25 | )
|26 | func addProperty(name: String, value: some Generable) {
| | `- error: 'Generable' is only available in macOS 26.0 or newer
|27 | properties.append((name: name, value: value))
|28 | }
+--------------------------------------------------------------------
63 | }
64 |
macro expansion @Generable:26: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 | let explicitNil = false
|15 | var properties = [(name: String, value: any ConvertibleToGeneratedContent)]()
| :
|24 | }
|25 | )
|26 | func addProperty(name: String, value: some Generable) {
| | `- error: 'Generable' is only available in macOS 26.0 or newer
|27 | properties.append((name: name, value: value))
|28 | }
+--------------------------------------------------------------------
63 | }
64 |
macro expansion @Generable:29: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 | let explicitNil = false
|15 | var properties = [(name: String, value: any ConvertibleToGeneratedContent)]()
| :
|27 | properties.append((name: name, value: value))
|28 | }
|29 | func addProperty(name: String, value: (some Generable)?) {
| | `- error: 'Generable' is only available in macOS 26.0 or newer
|30 | if explicitNil || value != nil {
|31 | properties.append((name: name, value: value))
+--------------------------------------------------------------------
63 | }
64 |
macro expansion @Generable:29: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 | let explicitNil = false
|15 | var properties = [(name: String, value: any ConvertibleToGeneratedContent)]()
| :
|27 | properties.append((name: name, value: value))
|28 | }
|29 | func addProperty(name: String, value: (some Generable)?) {
| | `- error: 'Generable' is only available in macOS 26.0 or newer
|30 | if explicitNil || value != nil {
|31 | properties.append((name: name, value: value))
+--------------------------------------------------------------------
63 | }
64 |
macro expansion @Generable:31:47: error: conformance of 'Optional<Wrapped>' to '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 | let explicitNil = false
|15 | var properties = [(name: String, value: any ConvertibleToGeneratedContent)]()
| :
|29 | func addProperty(name: String, value: (some Generable)?) {
|30 | if explicitNil || value != nil {
|31 | properties.append((name: name, value: value))
| | |- error: conformance of 'Optional<Wrapped>' to 'ConvertibleToGeneratedContent' is only available in macOS 26.0 or newer
| | `- note: add 'if #available' version check
|32 | }
|33 | }
+--------------------------------------------------------------------
63 | }
64 |
macro expansion @Generable:43: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 -------------------------------------
|34 | }
|35 |
|36 | nonisolated public struct PartiallyGenerated: Identifiable, nonisolated FoundationModels.ConvertibleFromGeneratedContent {
| | `- note: add '@available' attribute to enclosing struct
|37 | public var id: GenerationID
|38 | public var url: String.PartiallyGenerated?
| :
|40 | public var mode: String?.PartiallyGenerated?
|41 | public var headers: [HeaderItem]?.PartiallyGenerated?
|42 | nonisolated public init(_ content: FoundationModels.GeneratedContent) throws {
| | `- note: add '@available' attribute to enclosing initializer
|43 | self.id = content.id ?? GenerationID()
| | |- error: 'GenerationID' is only available in macOS 26.0 or newer
| | `- note: add 'if #available' version check
|44 | self.url = try content.value(forProperty: "url")
|45 | self.method = try content.value(forProperty: "method")
+--------------------------------------------------------------------
63 | }
64 |
macro expansion @Generable:44: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 -------------------------------------
|34 | }
|35 |
|36 | nonisolated public struct PartiallyGenerated: Identifiable, nonisolated FoundationModels.ConvertibleFromGeneratedContent {
| | `- note: add '@available' attribute to enclosing struct
|37 | public var id: GenerationID
|38 | public var url: String.PartiallyGenerated?
| :
|40 | public var mode: String?.PartiallyGenerated?
|41 | public var headers: [HeaderItem]?.PartiallyGenerated?
|42 | nonisolated public init(_ content: FoundationModels.GeneratedContent) throws {
| | `- note: add '@available' attribute to enclosing initializer
|43 | self.id = content.id ?? GenerationID()
|44 | 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
|45 | self.method = try content.value(forProperty: "method")
|46 | self.mode = try content.value(forProperty: "mode")
+--------------------------------------------------------------------
63 | }
64 |
macro expansion @Generable:45: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 -------------------------------------
|34 | }
|35 |
|36 | nonisolated public struct PartiallyGenerated: Identifiable, nonisolated FoundationModels.ConvertibleFromGeneratedContent {
| | `- note: add '@available' attribute to enclosing struct
|37 | public var id: GenerationID
|38 | public var url: String.PartiallyGenerated?
| :
|40 | public var mode: String?.PartiallyGenerated?
|41 | public var headers: [HeaderItem]?.PartiallyGenerated?
|42 | nonisolated public init(_ content: FoundationModels.GeneratedContent) throws {
| | `- note: add '@available' attribute to enclosing initializer
|43 | self.id = content.id ?? GenerationID()
|44 | self.url = try content.value(forProperty: "url")
|45 | 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
|46 | self.mode = try content.value(forProperty: "mode")
|47 | self.headers = try content.value(forProperty: "headers")
+--------------------------------------------------------------------
63 | }
64 |
macro expansion @Generable:46: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 -------------------------------------
|34 | }
|35 |
|36 | nonisolated public struct PartiallyGenerated: Identifiable, nonisolated FoundationModels.ConvertibleFromGeneratedContent {
| | `- note: add '@available' attribute to enclosing struct
|37 | public var id: GenerationID
|38 | public var url: String.PartiallyGenerated?
| :
|40 | public var mode: String?.PartiallyGenerated?
|41 | public var headers: [HeaderItem]?.PartiallyGenerated?
|42 | nonisolated public init(_ content: FoundationModels.GeneratedContent) throws {
| | `- note: add '@available' attribute to enclosing initializer
|43 | self.id = content.id ?? GenerationID()
|44 | self.url = try content.value(forProperty: "url")
|45 | self.method = try content.value(forProperty: "method")
|46 | 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
|47 | self.headers = try content.value(forProperty: "headers")
|48 | }
+--------------------------------------------------------------------
63 | }
64 |
macro expansion @Generable:47: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 -------------------------------------
|34 | }
|35 |
|36 | nonisolated public struct PartiallyGenerated: Identifiable, nonisolated FoundationModels.ConvertibleFromGeneratedContent {
| | `- note: add '@available' attribute to enclosing struct
|37 | public var id: GenerationID
|38 | public var url: String.PartiallyGenerated?
| :
|40 | public var mode: String?.PartiallyGenerated?
|41 | public var headers: [HeaderItem]?.PartiallyGenerated?
|42 | nonisolated public init(_ content: FoundationModels.GeneratedContent) throws {
| | `- note: add '@available' attribute to enclosing initializer
|43 | self.id = content.id ?? GenerationID()
|44 | self.url = try content.value(forProperty: "url")
|45 | self.method = try content.value(forProperty: "method")
|46 | self.mode = try content.value(forProperty: "mode")
|47 | 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
|48 | }
|49 | }
+--------------------------------------------------------------------
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.3 macosSpm