The Swift Package Index logo.Swift Package Index

Build Information

Failed to build WWTextReaderTool, reference 0.1.0 (3f99fd), with Swift 6.4 for macOS (SPM) on 25 Sep 2026 17:53:06 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/William-Weng/WWTextReaderTool.git
Reference: 0.1.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/William-Weng/WWTextReaderTool
 * tag               0.1.0      -> FETCH_HEAD
HEAD is now at 3f99fd4 - init
Cloned https://github.com/William-Weng/WWTextReaderTool.git
Revision (git rev-parse @):
3f99fd4238830702b944e2099457fbd37d0a0b83
SUCCESS checkout https://github.com/William-Weng/WWTextReaderTool.git at 0.1.0
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.4
Building package at path:  $PWD
https://github.com/William-Weng/WWTextReaderTool.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64
Building for debugging...
[Pre-planning 1 / 95]
[Planning deferred tasks]
[31 / 41] WWTextReaderTool_WWTextReaderTool
[32 / 41]
[33 / 42] WWTextReaderTool
[43 / 89]
[48 / 89]
[51 / 89]
[52 / 89]
[56 / 89]
[58 / 89]
[61 / 89]
[64 / 89]
[67 / 89]
[68 / 89]
[69 / 89]
[73 / 89]
[74 / 89]
[75 / 89]
error: SwiftCompile normal arm64 failed with a nonzero exit code. Command line:     cd /Users/admin/builder

/Users/admin/builder/spi-builder-workspace/Sources/WWTextReaderTool/WWTextReaderTool.swift:23:6: error: 'Generable(description:)' is only available in macOS 26.0 or newer
19 | }
20 |
21 | extension WWTextReaderTool {
   | `- note: add '@available' attribute to enclosing extension
22 |
23 |     @Generable
   |      `- error: 'Generable(description:)' is only available in macOS 26.0 or newer
24 |     public struct Arguments: Sendable {
25 |
/Users/admin/builder/spi-builder-workspace/Sources/WWTextReaderTool/WWTextReaderTool.swift:26:10: error: 'Guide(description:)' is only available in macOS 26.0 or newer
22 |
23 |     @Generable
24 |     public struct Arguments: Sendable {
   |                   |- note: add '@available' attribute to enclosing struct
   |                   `- note: add '@available' attribute to enclosing struct
25 |
26 |         @Guide(description: "The filename to read from Documents directory.")
   |          `- error: 'Guide(description:)' is only available in macOS 26.0 or newer
27 |         public var filename: String
28 |
macro expansion @Generable:1:66: error: 'GenerationSchema' is only available in macOS 26.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/WWTextReaderTool/WWTextReaderTool.swift:32:5: note: expanded code originates here
21 | extension WWTextReaderTool {
22 |
23 |     @Generable
   |     |- note: in expansion of macro 'Generable' on struct 'Arguments' here
   |     `- note: in expansion of macro 'Generable' on struct 'Arguments' here
24 |     public struct Arguments: Sendable {
   |                   `- note: add '@available' attribute to enclosing struct
25 |
26 |         @Guide(description: "The filename to read from Documents directory.")
   :
30 |             self.filename = filename
31 |         }
32 |     }
   +--- macro expansion @Generable -------------------------------------
   | 1 | nonisolated public static var generationSchema: FoundationModels.GenerationSchema {
   |   |                               |                                  `- error: 'GenerationSchema' is only available in macOS 26.0 or newer
   |   |                               `- note: add '@available' attribute to enclosing static property
   | 2 |     FoundationModels.GenerationSchema(
   | 3 |         type: Self.self,
   +--------------------------------------------------------------------
33 | }
34 |
macro expansion @Generable:10:42: error: 'GeneratedContent' is only available in macOS 26.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/WWTextReaderTool/WWTextReaderTool.swift:32:5: note: expanded code originates here
21 | extension WWTextReaderTool {
22 |
23 |     @Generable
   |     |- note: in expansion of macro 'Generable' on struct 'Arguments' here
   |     `- note: in expansion of macro 'Generable' on struct 'Arguments' here
24 |     public struct Arguments: Sendable {
   |                   `- note: add '@available' attribute to enclosing struct
25 |
26 |         @Guide(description: "The filename to read from Documents directory.")
   :
30 |             self.filename = filename
31 |         }
32 |     }
   +--- macro expansion @Generable -------------------------------------
   | 8 | }
   | 9 |
   |10 | nonisolated public var generatedContent: GeneratedContent {
   |   |                        |                 `- error: 'GeneratedContent' is only available in macOS 26.0 or newer
   |   |                        `- note: add '@available' attribute to enclosing property
   |11 |     let explicitNil = false
   |12 |     var properties = [(name: String, value: any ConvertibleToGeneratedContent)]()
   +--------------------------------------------------------------------
33 | }
34 |
macro expansion @Generable:31:20: error: 'GenerationID' is only available in macOS 26.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/WWTextReaderTool/WWTextReaderTool.swift:32:5: note: expanded code originates here
21 | extension WWTextReaderTool {
22 |
23 |     @Generable
   |     |- note: in expansion of macro 'Generable' on struct 'Arguments' here
   |     `- note: in expansion of macro 'Generable' on struct 'Arguments' here
24 |     public struct Arguments: Sendable {
25 |
   :
30 |             self.filename = filename
31 |         }
32 |     }
   +--- macro expansion @Generable -------------------------------------
   |28 | }
   |29 |
   |30 | nonisolated public struct PartiallyGenerated: Identifiable, nonisolated FoundationModels.ConvertibleFromGeneratedContent {
   |   |                           `- note: add '@available' attribute to enclosing struct
   |31 |     public var id: GenerationID
   |   |                    `- error: 'GenerationID' is only available in macOS 26.0 or newer
   |32 |     public var filename: String.PartiallyGenerated?
   |33 |     nonisolated public init(_ content: FoundationModels.GeneratedContent) throws {
   +--------------------------------------------------------------------
33 | }
34 |
macro expansion @Generable:32:33: error: 'PartiallyGenerated' is only available in macOS 26.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/WWTextReaderTool/WWTextReaderTool.swift:32:5: note: expanded code originates here
21 | extension WWTextReaderTool {
22 |
23 |     @Generable
   |     |- note: in expansion of macro 'Generable' on struct 'Arguments' here
   |     `- note: in expansion of macro 'Generable' on struct 'Arguments' here
24 |     public struct Arguments: Sendable {
25 |
   :
30 |             self.filename = filename
31 |         }
32 |     }
   +--- macro expansion @Generable -------------------------------------
   |28 | }
   |29 |
   |30 | nonisolated public struct PartiallyGenerated: Identifiable, nonisolated FoundationModels.ConvertibleFromGeneratedContent {
   |   |                           `- note: add '@available' attribute to enclosing struct
   |31 |     public var id: GenerationID
   |32 |     public var filename: String.PartiallyGenerated?
   |   |                                 `- error: 'PartiallyGenerated' is only available in macOS 26.0 or newer
   |33 |     nonisolated public init(_ content: FoundationModels.GeneratedContent) throws {
   |34 |         self.id = content.id ?? GenerationID()
   +--------------------------------------------------------------------
33 | }
34 |
macro expansion @Generable:33:57: error: 'GeneratedContent' is only available in macOS 26.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/WWTextReaderTool/WWTextReaderTool.swift:32:5: note: expanded code originates here
21 | extension WWTextReaderTool {
22 |
23 |     @Generable
   |     |- note: in expansion of macro 'Generable' on struct 'Arguments' here
   |     |- note: in expansion of macro 'Generable' on struct 'Arguments' here
   |     `- note: in expansion of macro 'Generable' on struct 'Arguments' here
24 |     public struct Arguments: Sendable {
25 |
   :
30 |             self.filename = filename
31 |         }
32 |     }
   +--- macro expansion @Generable -------------------------------------
   |28 | }
   |29 |
   |30 | nonisolated public struct PartiallyGenerated: Identifiable, nonisolated FoundationModels.ConvertibleFromGeneratedContent {
   |   |                           `- note: add '@available' attribute to enclosing struct
   |31 |     public var id: GenerationID
   |32 |     public var filename: String.PartiallyGenerated?
   |33 |     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
   |34 |         self.id = content.id ?? GenerationID()
   |35 |         self.filename = try content.value(forProperty: "filename")
   +--------------------------------------------------------------------
33 | }
34 |
macro expansion @Generable:30:27: warning: protocol 'Identifiable' requires 'GenerationID' to be available in macOS 12.0 and newer; this will be an error in a future Swift language mode
`- /Users/admin/builder/spi-builder-workspace/Sources/WWTextReaderTool/WWTextReaderTool.swift:32:5: note: expanded code originates here
21 | extension WWTextReaderTool {
22 |
23 |     @Generable
   |     `- note: in expansion of macro 'Generable' on struct 'Arguments' here
24 |     public struct Arguments: Sendable {
25 |
   :
30 |             self.filename = filename
31 |         }
32 |     }
   +--- macro expansion @Generable -------------------------------------
   |28 | }
   |29 |
   |30 | nonisolated public struct PartiallyGenerated: Identifiable, nonisolated FoundationModels.ConvertibleFromGeneratedContent {
   |   |                           `- warning: protocol 'Identifiable' requires 'GenerationID' to be available in macOS 12.0 and newer; this will be an error in a future Swift language mode
   |31 |     public var id: GenerationID
   |32 |     public var filename: String.PartiallyGenerated?
   +--------------------------------------------------------------------
33 | }
34 |
FoundationModels.GenerationID:3:15: note: 'GenerationID' declared here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct GenerationID : Sendable, Hashable {
  |               `- note: 'GenerationID' declared here
4 |     public static func == (a: GenerationID, b: GenerationID) -> Bool
5 |     public func hash(into hasher: inout Hasher)
/Users/admin/builder/spi-builder-workspace/Sources/WWTextReaderTool/WWTextReaderTool.swift:23:6: error: 'Generable(description:)' is only available in macOS 26.0 or newer
21 | extension WWTextReaderTool {
22 |
23 |     @Generable
   |      `- error: 'Generable(description:)' is only available in macOS 26.0 or newer
24 |     public struct Arguments: Sendable {
   |                   |- note: add '@available' attribute to enclosing struct
   |                   `- note: add '@available' attribute to enclosing struct
25 |
26 |         @Guide(description: "The filename to read from Documents directory.")
macro expansion @Generable:2:57: error: 'GeneratedContent' is only available in macOS 26.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/WWTextReaderTool/WWTextReaderTool.swift:33:2: note: expanded code originates here
21 | extension WWTextReaderTool {
22 |
23 |     @Generable
   |     |- note: in expansion of macro 'Generable' on struct 'Arguments' here
   |     |- note: in expansion of macro 'Generable' on struct 'Arguments' here
   |     `- note: in expansion of macro 'Generable' on struct 'Arguments' here
24 |     public struct Arguments: Sendable {
25 |
   :
31 |         }
32 |     }
33 | }
   +--- macro expansion @Generable -------------------------------------
   |1 | extension WWTextReaderTool.Arguments: nonisolated FoundationModels.Generable {
   |  | `- note: add '@available' attribute to enclosing extension
   |2 |     nonisolated public init(_ content: FoundationModels.GeneratedContent) throws {
   |  |                        |                                `- error: 'GeneratedContent' is only available in macOS 26.0 or newer
   |  |                        `- note: add '@available' attribute to enclosing initializer
   |3 |         self.filename = try content.value(forProperty: "filename")
   |4 |     }
   +--------------------------------------------------------------------
34 |
35 | public extension WWTextReaderTool {
Failed frontend command:
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/WWTextReaderTool.build/Debug/WWTextReaderTool-t.build/DerivedSources/resource_bundle_accessor.swift /Users/admin/builder/spi-builder-workspace/Sources/WWTextReaderTool/Utility/Error.swift /Users/admin/builder/spi-builder-workspace/Sources/WWTextReaderTool/Utility/Service.swift /Users/admin/builder/spi-builder-workspace/Sources/WWTextReaderTool/WWTextReaderTool.swift -target arm64-apple-macos12.0 -disable-cross-import-overlay-search -swift-module-cross-import FoundationModels /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk/System/Library/Frameworks/FoundationModels.framework/Modules/FoundationModels.swiftcrossimport/AppKit.swiftoverlay -swift-module-cross-import FoundationModels /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk/System/Library/Frameworks/FoundationModels.framework/Modules/FoundationModels.swiftcrossimport/SwiftUI.swiftoverlay -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libFoundationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server\#FoundationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libFoundationModelsMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server\#FoundationModelsMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libObservationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server\#ObservationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libSwiftMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server\#SwiftMacros -disable-implicit-swift-modules -Xcc -fno-implicit-modules -Xcc -fno-implicit-module-maps -explicit-swift-module-map-file /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/WWTextReaderTool.build/Debug/WWTextReaderTool-t.build/Objects-normal/arm64/WWTextReaderTool-dependencies-1.json -Xllvm -aarch64-use-tbi -enable-objc-interop -stack-check -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk -I /Users/admin/builder/spi-builder-workspace/.build/out/Products/Debug -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.build/out/Products/Debug -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks -module-cache-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftExplicitPrecompiledModules -color-diagnostics -Xcc -fcolor-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -swift-version 6 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_AVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.build/out/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.build/out/SDKStatCaches.noindex/macosx27.0-26A425-80c5bbf1d171475443272936d42f90a36a22442a12e9d48fe1a705f55a1adfc4.sdkstatcache -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/out/Products/Debug/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/WWTextReaderTool.build/Debug/WWTextReaderTool-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/WWTextReaderTool.build/Debug/WWTextReaderTool-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/WWTextReaderTool.build/Debug/WWTextReaderTool-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name WWTextReaderTool -package-name spi_builder_workspace -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/WWTextReaderTool.build/Debug/WWTextReaderTool-t.build/Objects-normal/arm64/WWTextReaderTool_const_extract_protocols.json -disable-clang-spi -clang-target arm64-apple-macos27.0 -target-sdk-version 27.0 -target-sdk-name macosx27.0 -in-process-plugin-server-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/libSwiftInProcPluginServer.dylib -emit-module-doc-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/WWTextReaderTool.build/Debug/WWTextReaderTool-t.build/Objects-normal/arm64/WWTextReaderTool.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/WWTextReaderTool.build/Debug/WWTextReaderTool-t.build/Objects-normal/arm64/WWTextReaderTool.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/WWTextReaderTool.build/Debug/WWTextReaderTool-t.build/Objects-normal/arm64/WWTextReaderTool-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/WWTextReaderTool.build/Debug/WWTextReaderTool-t.build/Objects-normal/arm64/WWTextReaderTool-primary-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/WWTextReaderTool.build/Debug/WWTextReaderTool-t.build/Objects-normal/arm64/WWTextReaderTool-primary-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/WWTextReaderTool.build/Debug/WWTextReaderTool-t.build/Objects-normal/arm64/WWTextReaderTool.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/WWTextReaderTool.build/Debug/WWTextReaderTool-t.build/Objects-normal/arm64/WWTextReaderTool.abi.json
error: Build failed
BUILD FAILURE 6.4 macosSpm