Build Information
Failed to build ResponsesAPI, reference main (4b576c), with Swift 6.4 for macOS (SPM) on 22 Sep 2026 16:53:07 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/m1guelpf/swift-openai-responses.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/m1guelpf/swift-openai-responses
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 4b576c2 wip
Cloned https://github.com/m1guelpf/swift-openai-responses.git
Revision (git rev-parse @):
4b576c276b825f2323b2b2041263a43a17b8d466
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/m1guelpf/swift-openai-responses.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.4
Building package at path: $PWD
https://github.com/m1guelpf/swift-openai-responses.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64
Building for debugging...
[Computing dependencies]
[Pre-planning 1 / 803]
[Planning deferred tasks]
[153 / 365]
[161 / 372] SwiftSyntax600
[172 / 395] SwiftSyntax601
[191 / 408] SwiftSyntax600
[208 / 408]
[216 / 408] InternalCollectionsUtilities
[229 / 450]
[242 / 450] SwiftSyntax601
[251 / 452] SwiftSyntax602
[266 / 463]
[267 / 463]
[273 / 475]
[274 / 475] OrderedCollections
[278 / 475] InternalCollectionsUtilities
[278 / 475]
[288 / 475]
[290 / 475] SwiftSyntax
[295 / 475] OrderedCollections
[302 / 475]
[305 / 475] OrderedCollections
[309 / 475] OrderedCollections-product
[309 / 475]
[311 / 475] SwiftSyntax
[311 / 475]
[312 / 475]
[317 / 475] EventSource
[318 / 475] EventSource
[327 / 475] EventSource-product
[328 / 475] EventSource
[330 / 475] SwiftSyntax
[339 / 478] SwiftBasicFormat
[346 / 507] SwiftParser
[363 / 507] SwiftParser
[364 / 507] SwiftParser
[368 / 507] SwiftParser
[369 / 507] SwiftDiagnostics
[371 / 507] SwiftParser
[371 / 507] SwiftDiagnostics
[378 / 507] SwiftOperators
[381 / 507] SwiftDiagnostics
[384 / 507] SwiftDiagnostics
[387 / 508]
[389 / 509] SwiftParserDiagnostics
[396 / 531] SwiftOperators
[397 / 531] SwiftParserDiagnostics
[400 / 531] SwiftParserDiagnostics
[416 / 531] SwiftSyntaxBuilder
[419 / 531] SwiftOperators-product
[423 / 531] SwiftOperators
[426 / 532]
[427 / 532] SwiftOperators
[428 / 545]
[437 / 545] SwiftSyntaxBuilder
[439 / 545] SwiftSyntaxBuilder
[441 / 545] SwiftSyntaxBuilder
[448 / 546] SwiftSyntaxBuilder
[458 / 557] SwiftSyntaxMacros
[468 / 559] SwiftSyntaxMacros
[476 / 569] SwiftSyntaxMacroExpansion
[479 / 569] SwiftSyntaxMacroExpansion
[484 / 580] SwiftSyntaxMacroExpansion
[492 / 580] SwiftSyntaxMacroExpansion-product
[493 / 580] SwiftSyntaxMacroExpansion-product
[498 / 580] PluginCore
[504 / 581]
[504 / 581] SwiftCompilerPluginMessageHandling
[510 / 592] SwiftCompilerPluginMessageHandling
[512 / 592] SwiftCompilerPluginMessageHandling
[515 / 592] SwiftCompilerPluginMessageHandling
[517 / 592] SwiftCompilerPluginMessageHandling
[522 / 593] SwiftCompilerPluginMessageHandling
[524 / 593] SwiftCompilerPlugin
[532 / 595] SwiftCompilerPlugin
[533 / 595] SwiftSyntax
[535 / 595] SwiftSyntax
[541 / 595] SwiftSyntaxBuilder
[546 / 595] SwiftCompilerPlugin
[562 / 597] MacroPlugin
[573 / 611] Macros
Fetching https://github.com/m1guelpf/EventSource.git
[1/605] Fetching eventsource
Fetched https://github.com/m1guelpf/EventSource.git (1.16s)
Fetching https://github.com/swiftlang/swift-syntax.git
Fetching https://github.com/pointfreeco/swift-macro-testing
Fetching https://github.com/swiftlang/swift-docc-plugin
Fetching https://github.com/SwiftyLab/MetaCodable.git
[1/2345] Fetching swift-docc-plugin
[166/3347] Fetching swift-docc-plugin, swift-macro-testing
[1188/213992] Fetching swift-docc-plugin, swift-macro-testing, metacodable
[13881/293999] Fetching swift-docc-plugin, swift-macro-testing, metacodable, swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git (7.05s)
[70754/213992] Fetching swift-docc-plugin, swift-macro-testing, metacodable
Fetched https://github.com/swiftlang/swift-docc-plugin (28.14s)
Fetched https://github.com/SwiftyLab/MetaCodable.git (28.14s)
Fetched https://github.com/pointfreeco/swift-macro-testing (28.14s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 602.0.0 (31.49s)
Computing version for https://github.com/pointfreeco/swift-macro-testing
Computed https://github.com/pointfreeco/swift-macro-testing at 0.7.0 (0.61s)
Fetching https://github.com/pointfreeco/swift-snapshot-testing
[1/16474] Fetching swift-snapshot-testing
Fetched https://github.com/pointfreeco/swift-snapshot-testing (8.54s)
Computing version for https://github.com/SwiftyLab/MetaCodable.git
Computed https://github.com/SwiftyLab/MetaCodable.git at 1.6.1 (10.97s)
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-argument-parser.git
[1/27654] Fetching swift-collections
[2/46572] Fetching swift-collections, swift-argument-parser
Fetched https://github.com/apple/swift-collections.git (8.06s)
Fetched https://github.com/apple/swift-argument-parser.git (8.06s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.5.0 (8.76s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3829] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit (2.55s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (3.31s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.8.2 (0.56s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.6.0 (0.65s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing
Computed https://github.com/pointfreeco/swift-snapshot-testing at 1.19.6 (0.58s)
Fetching https://github.com/pointfreeco/swift-custom-dump
[1/5666] Fetching swift-custom-dump
Fetched https://github.com/pointfreeco/swift-custom-dump (2.72s)
Computing version for https://github.com/pointfreeco/swift-custom-dump
Computed https://github.com/pointfreeco/swift-custom-dump at 1.7.3 (3.33s)
Fetching https://github.com/pointfreeco/swift-issue-reporting
[1/6142] Fetching swift-issue-reporting
Fetched https://github.com/pointfreeco/swift-issue-reporting (3.01s)
Computing version for https://github.com/pointfreeco/swift-issue-reporting
Computed https://github.com/pointfreeco/swift-issue-reporting at 2.1.0 (3.74s)
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.6.0
Creating working copy for https://github.com/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 602.0.0
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/swiftlang/swift-docc-plugin
Working copy of https://github.com/swiftlang/swift-docc-plugin resolved at 1.5.0
Creating working copy for https://github.com/pointfreeco/swift-snapshot-testing
Working copy of https://github.com/pointfreeco/swift-snapshot-testing resolved at 1.19.6
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.8.2
Creating working copy for https://github.com/m1guelpf/EventSource.git
Working copy of https://github.com/m1guelpf/EventSource.git resolved at compiler-fix (1942aa5)
Creating working copy for https://github.com/SwiftyLab/MetaCodable.git
Working copy of https://github.com/SwiftyLab/MetaCodable.git resolved at 1.6.1
Creating working copy for https://github.com/pointfreeco/swift-issue-reporting
Working copy of https://github.com/pointfreeco/swift-issue-reporting resolved at 2.1.0
Creating working copy for https://github.com/pointfreeco/swift-custom-dump
Working copy of https://github.com/pointfreeco/swift-custom-dump resolved at 1.7.3
Creating working copy for https://github.com/pointfreeco/swift-macro-testing
Working copy of https://github.com/pointfreeco/swift-macro-testing resolved at 0.7.0
Downloading package prebuilt https://download.swift.org/prebuilts/swift-syntax/602.0.0/swiftlang-6.4.0.34.1-macosx27.0-MacroSupport.zip
Downloaded https://download.swift.org/prebuilts/swift-syntax/602.0.0/swiftlang-6.4.0.34.1-macosx27.0-MacroSupport.zip (0.20s)
error: SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/macros/Extensions/TypeSyntax+typeInfo.swift failed with a nonzero exit code. Command line: cd /Users/admin/builder
builtin-SwiftPerFileCompile TypeSyntax+typeInfo.swift
/Users/admin/builder/spi-builder-workspace/macros/Extensions/TypeSyntax+typeInfo.swift:49:3: [1;31merror: [1;39mswitch must be exhaustive[0;0m
[0;36m47 |[0;0m let type = self.as(TypeSyntaxEnum.self)
[0;36m48 |[0;0m
[0;36m49 |[0;0m switch type {
[0;36m|[0;0m |- [1;31merror: [1;39mswitch must be exhaustive[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39madd missing case: '.inlineArrayType(_)'[0;0m
[0;36m50 |[0;0m case .dictionaryType: return .primitive(.dictionary)
[0;36m51 |[0;0m case let .someOrAnyType(type): return type.constraint.typeInfo
Failed frontend command:
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -c /Users/admin/builder/spi-builder-workspace/macros/Extensions/AttributeListSyntax+arguments.swift /Users/admin/builder/spi-builder-workspace/macros/Extensions/DeclGroupSyntax+accessLevel.swift /Users/admin/builder/spi-builder-workspace/macros/Extensions/ExtensionDeclSyntax+init.swift /Users/admin/builder/spi-builder-workspace/macros/Extensions/MemberBlockItemListSyntax+declaresVariable.swift /Users/admin/builder/spi-builder-workspace/macros/Extensions/PatternBindingSyntax+isStored.swift /Users/admin/builder/spi-builder-workspace/macros/Extensions/String+isPlaceholder.swift -primary-file /Users/admin/builder/spi-builder-workspace/macros/Extensions/SyntaxProtocol+docString.swift -primary-file /Users/admin/builder/spi-builder-workspace/macros/Extensions/TypeSyntax+typeInfo.swift /Users/admin/builder/spi-builder-workspace/macros/Generators/EnumSchemaGenerator.swift /Users/admin/builder/spi-builder-workspace/macros/Generators/SchemaGenerator.swift /Users/admin/builder/spi-builder-workspace/macros/Generators/StructSchemaGenerator.swift /Users/admin/builder/spi-builder-workspace/macros/Macros/ArraySchemaMacro.swift /Users/admin/builder/spi-builder-workspace/macros/Macros/NumberSchemaMacro.swift /Users/admin/builder/spi-builder-workspace/macros/Macros/SchemaMacro.swift /Users/admin/builder/spi-builder-workspace/macros/Macros/StringSchemaMacro.swift /Users/admin/builder/spi-builder-workspace/macros/Macros/ToolMacro.swift /Users/admin/builder/spi-builder-workspace/macros/Plugin.swift /Users/admin/builder/spi-builder-workspace/macros/Support/DiagnosticError.swift /Users/admin/builder/spi-builder-workspace/macros/Support/DocString.swift /Users/admin/builder/spi-builder-workspace/macros/Support/helpers.swift -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/ResponsesAPI.build/Debug/Macros-t.build/Objects-normal/arm64/SyntaxProtocol+docString.d -emit-const-values-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/ResponsesAPI.build/Debug/Macros-t.build/Objects-normal/arm64/SyntaxProtocol+docString.swiftconstvalues -emit-reference-dependencies-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/ResponsesAPI.build/Debug/Macros-t.build/Objects-normal/arm64/SyntaxProtocol+docString.swiftdeps -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/ResponsesAPI.build/Debug/Macros-t.build/Objects-normal/arm64/SyntaxProtocol+docString.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/ResponsesAPI.build/Debug/Macros-t.build/Objects-normal/arm64/TypeSyntax+typeInfo.d -emit-const-values-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/ResponsesAPI.build/Debug/Macros-t.build/Objects-normal/arm64/TypeSyntax+typeInfo.swiftconstvalues -emit-reference-dependencies-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/ResponsesAPI.build/Debug/Macros-t.build/Objects-normal/arm64/TypeSyntax+typeInfo.swiftdeps -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/ResponsesAPI.build/Debug/Macros-t.build/Objects-normal/arm64/TypeSyntax+typeInfo.dia -target arm64-apple-macos14.0 -disable-cross-import-overlay-search -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/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/ResponsesAPI.build/Debug/Macros-t.build/Objects-normal/arm64/Macros-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/PackageFrameworks -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 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 -fmodule-map-file\=/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/_SwiftSyntaxCShims/include/module.modulemap -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/checkouts/swift-syntax/Sources/_SwiftSyntaxCShims/include -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/ResponsesAPI.build/Debug/Macros-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/ResponsesAPI.build/Debug/Macros-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/ResponsesAPI.build/Debug/Macros-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name Macros -package-name spi_builder_workspace -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/ResponsesAPI.build/Debug/Macros-t.build/Objects-normal/arm64/Macros_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 -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/ResponsesAPI.build/Debug/Macros-t.build/Objects-normal/arm64/SyntaxProtocol+docString.o -o /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/ResponsesAPI.build/Debug/Macros-t.build/Objects-normal/arm64/TypeSyntax+typeInfo.o -debug-module-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/ResponsesAPI.build/Debug/Macros-t.build/Objects-normal/arm64/Macros.swiftmodule -index-unit-output-path /ResponsesAPI.build/Debug/Macros-t.build/Objects-normal/arm64/SyntaxProtocol+docString.o -index-unit-output-path /ResponsesAPI.build/Debug/Macros-t.build/Objects-normal/arm64/TypeSyntax+typeInfo.o -index-store-path /Users/admin/builder/spi-builder-workspace/.build/out -index-system-modules
error: Build failed
BUILD FAILURE 6.4 macosSpm