Build Information
Failed to build templar, reference 1.0.1 (be6221), with Swift 6.4 for macOS (SPM) on 16 Sep 2026 10:28:43 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/spectraldragon/templar.git
Reference: 1.0.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/spectraldragon/templar
* tag 1.0.1 -> FETCH_HEAD
HEAD is now at be6221b Fix file adding to xcodeproj file
Cloned https://github.com/spectraldragon/templar.git
Revision (git rev-parse @):
be6221bbc054c813873cbf70fa2592d2f24ecdd0
SUCCESS checkout https://github.com/spectraldragon/templar.git at 1.0.1
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.4
Building package at path: $PWD
https://github.com/spectraldragon/templar.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 / 277]
[Planning deferred tasks]
[63 / 139]
[78 / 171] SwiftCLI
[85 / 187] AEXML
[85 / 187] Yams
[90 / 233]
[93 / 233]
[96 / 233]
[98 / 233]
[99 / 233]
[103 / 233]
[105 / 233]
[107 / 233]
[108 / 233] Files
[124 / 233] SwiftCLI
[126 / 233]
[134 / 233] SwiftCLI
[143 / 233] SwiftCLI-product
[148 / 233] Rainbow
[157 / 233] CYaml
[162 / 233] SwiftCLI
[168 / 233] CYaml
[172 / 233]
[176 / 233] Rainbow-product
[177 / 233] Rainbow-product
[180 / 233] PathKit-product
[183 / 233] Files
[194 / 234] xcodeproj
[200 / 245] xcodeproj
[204 / 245] xcodeproj
[205 / 245] Yams
[207 / 245] xcodeproj
[210 / 245] xcodeproj
[218 / 245] xcodeproj-product
[223 / 245] PathKit
[237 / 246] templar-product
[242 / 256] templar-product
[244 / 256] templar-product
[248 / 256] Yams
[252 / 256] Yams
Fetching https://github.com/JohnSundell/Files
Fetching https://github.com/jpsim/Yams.git
Fetching https://github.com/tuist/xcodeproj.git
Fetching https://github.com/onevcat/Rainbow
Fetching https://github.com/jakeheis/SwiftCLI
[1/5080] Fetching swiftcli
[2/6353] Fetching swiftcli, files
[434/7831] Fetching swiftcli, files, rainbow
[1082/19692] Fetching swiftcli, files, rainbow, yams
[4697/44565] Fetching swiftcli, files, rainbow, yams, xcodeproj
Fetched https://github.com/jakeheis/SwiftCLI (1.29s)
[5335/39485] Fetching files, rainbow, yams, xcodeproj
Fetched https://github.com/tuist/xcodeproj.git (3.60s)
Fetched https://github.com/jpsim/Yams.git (3.60s)
Fetched https://github.com/onevcat/Rainbow (3.60s)
Fetched https://github.com/JohnSundell/Files (3.60s)
Computing version for https://github.com/JohnSundell/Files
Computed https://github.com/JohnSundell/Files at 2.3.0 (5.84s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 1.0.2 (2.18s)
Computing version for https://github.com/tuist/xcodeproj.git
Computed https://github.com/tuist/xcodeproj.git at 6.7.0 (0.66s)
Fetching https://github.com/tadija/AEXML
Fetching https://github.com/kareman/SwiftShell
Fetching https://github.com/kylef/PathKit
[1/1460] Fetching pathkit
[2/6351] Fetching pathkit, swiftshell
[2586/8510] Fetching pathkit, swiftshell, aexml
Fetched https://github.com/kylef/PathKit (1.51s)
Fetched https://github.com/kareman/SwiftShell (1.51s)
Fetched https://github.com/tadija/AEXML (1.51s)
Computing version for https://github.com/kareman/SwiftShell
Computed https://github.com/kareman/SwiftShell at 4.1.2 (2.20s)
Computing version for https://github.com/kylef/PathKit
Computed https://github.com/kylef/PathKit at 0.9.2 (0.67s)
Fetching https://github.com/kylef/Spectre.git
[1/1021] Fetching spectre
Fetched https://github.com/kylef/Spectre.git (1.54s)
Computing version for https://github.com/tadija/AEXML
Computed https://github.com/tadija/AEXML at 4.3.3 (2.22s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.9.2 (0.67s)
Computing version for https://github.com/onevcat/Rainbow
Computed https://github.com/onevcat/Rainbow at 3.2.0 (0.65s)
Computing version for https://github.com/jakeheis/SwiftCLI
Computed https://github.com/jakeheis/SwiftCLI at 5.3.3 (0.66s)
Creating working copy for https://github.com/tuist/xcodeproj.git
Working copy of https://github.com/tuist/xcodeproj.git resolved at 6.7.0
Creating working copy for https://github.com/kylef/PathKit
Working copy of https://github.com/kylef/PathKit resolved at 0.9.2
Creating working copy for https://github.com/kylef/Spectre.git
Working copy of https://github.com/kylef/Spectre.git resolved at 0.9.2
Creating working copy for https://github.com/onevcat/Rainbow
Working copy of https://github.com/onevcat/Rainbow resolved at 3.2.0
Creating working copy for https://github.com/jakeheis/SwiftCLI
Working copy of https://github.com/jakeheis/SwiftCLI resolved at 5.3.3
Creating working copy for https://github.com/kareman/SwiftShell
Working copy of https://github.com/kareman/SwiftShell resolved at 4.1.2
Creating working copy for https://github.com/tadija/AEXML
Working copy of https://github.com/tadija/AEXML resolved at 4.3.3
Creating working copy for https://github.com/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 1.0.2
Creating working copy for https://github.com/JohnSundell/Files
Working copy of https://github.com/JohnSundell/Files resolved at 2.3.0
/Users/admin/builder/spi-builder-workspace/Sources/templar/Commands/GenerateTemplate.swift:322:1: [1;33mwarning: [1;39mextension declares a conformance of imported type 'PBXGroup' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'xcodeproj' introduce this conformance in the future[0;0m
[0;36m320 |[0;0m
[0;36m321 |[0;0m #if DEBUG
[0;36m322 |[0;0m extension PBXGroup: CustomStringConvertible {
[0;36m|[0;0m |- [1;33mwarning: [1;39mextension declares a conformance of imported type 'PBXGroup' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'xcodeproj' introduce this conformance in the future[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39madd '@retroactive' to silence this warning[0;0m
[0;36m323 |[0;0m public var description: String {
[0;36m324 |[0;0m return self.name ?? self.path ?? "Noting"
error: SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/templar/Commands/GenerateTemplate.swift failed with a nonzero exit code. Command line: cd /Users/admin/builder
builtin-SwiftPerFileCompile GenerateTemplate.swift
/Users/admin/builder/spi-builder-workspace/Sources/templar/Commands/GenerateTemplate.swift:322:1: [1;33mwarning: [1;39mextension declares a conformance of imported type 'PBXGroup' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'xcodeproj' introduce this conformance in the future[0;0m
[0;36m320 |[0;0m
[0;36m321 |[0;0m #if DEBUG
[0;36m322 |[0;0m extension PBXGroup: CustomStringConvertible {
[0;36m|[0;0m |- [1;33mwarning: [1;39mextension declares a conformance of imported type 'PBXGroup' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'xcodeproj' introduce this conformance in the future[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39madd '@retroactive' to silence this warning[0;0m
[0;36m323 |[0;0m public var description: String {
[0;36m324 |[0;0m return self.name ?? self.path ?? "Noting"
/Users/admin/builder/spi-builder-workspace/Sources/templar/Commands/GenerateTemplate.swift:230:29: [1;31merror: [1;39mvalue of optional type '[PBXBuildFile]?' must be unwrapped to refer to member 'firstIndex' of wrapped base type '[PBXBuildFile]'[0;0m
[0;36m228 |[0;0m @discardableResult
[0;36m229 |[0;0m func updateOrAdd(file: PBXFileReference) throws -> PBXBuildFile {
[0;36m230 |[0;0m if let index = self.files.firstIndex(where: { $0.file?.path == file.path && $0.file?.name == file.name }) {
[0;36m|[0;0m |- [1;31merror: [1;39mvalue of optional type '[PBXBuildFile]?' must be unwrapped to refer to member 'firstIndex' of wrapped base type '[PBXBuildFile]'[0;0m
[0;36m|[0;0m |- [1;39mnote: [1;39mchain the optional using '?' to access member 'firstIndex' only for non-'nil' base values[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39mforce-unwrap using '!' to abort execution if the optional value contains 'nil'[0;0m
[0;36m231 |[0;0m self.files.remove(at: index)
[0;36m232 |[0;0m }
/Users/admin/builder/spi-builder-workspace/Sources/templar/Commands/GenerateTemplate.swift:231:24: [1;31merror: [1;39mno exact matches in call to instance method 'remove'[0;0m
[0;36m229 |[0;0m func updateOrAdd(file: PBXFileReference) throws -> PBXBuildFile {
[0;36m230 |[0;0m if let index = self.files.firstIndex(where: { $0.file?.path == file.path && $0.file?.name == file.name }) {
[0;36m231 |[0;0m self.files.remove(at: index)
[0;36m|[0;0m |- [1;31merror: [1;39mno exact matches in call to instance method 'remove'[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39mfound candidate with type '(Int) -> PBXBuildFile'[0;0m
[0;36m232 |[0;0m }
[0;36m233 |[0;0m
Failed frontend command:
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -c -primary-file /Users/admin/builder/spi-builder-workspace/Sources/templar/Commands/GenerateTemplate.swift /Users/admin/builder/spi-builder-workspace/Sources/templar/Commands/InitCommand.swift /Users/admin/builder/spi-builder-workspace/Sources/templar/Commands/TempalateCommand.swift /Users/admin/builder/spi-builder-workspace/Sources/templar/Extensions.swift /Users/admin/builder/spi-builder-workspace/Sources/templar/Templar.swift /Users/admin/builder/spi-builder-workspace/Sources/templar/TemplarErrors.swift /Users/admin/builder/spi-builder-workspace/Sources/templar/TemplarTool.swift /Users/admin/builder/spi-builder-workspace/Sources/templar/Template.swift /Users/admin/builder/spi-builder-workspace/Sources/templar/main.swift -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/templar.build/Debug/templar-p.build/Objects-normal/arm64/GenerateTemplate.d -emit-const-values-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/templar.build/Debug/templar-p.build/Objects-normal/arm64/GenerateTemplate.swiftconstvalues -emit-reference-dependencies-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/templar.build/Debug/templar-p.build/Objects-normal/arm64/GenerateTemplate.swiftdeps -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/templar.build/Debug/templar-p.build/Objects-normal/arm64/GenerateTemplate.dia -target arm64-apple-macos12.0 -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/ModuleCache.noindex -color-diagnostics -Xcc -fcolor-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -swift-version 4.2 -Onone -D SWIFT_PACKAGE -D DEBUG -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -plugin-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -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/out/Intermediates.noindex/GeneratedModuleMaps/CYaml.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/Yams/Sources/CYaml/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/templar.build/Debug/templar-p.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/templar.build/Debug/templar-p.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/templar.build/Debug/templar-p.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name templar -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/templar.build/Debug/templar-p.build/Objects-normal/arm64/templar_const_extract_protocols.json -disable-clang-spi -target-sdk-version 27.0 -target-sdk-name macosx27.0 -external-plugin-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/local/lib/swift/host/plugins\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server -in-process-plugin-server-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/libSwiftInProcPluginServer.dylib -plugin-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins -plugin-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/local/lib/swift/host/plugins -o /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/templar.build/Debug/templar-p.build/Objects-normal/arm64/GenerateTemplate.o -index-unit-output-path /templar.build/Debug/templar-p.build/Objects-normal/arm64/GenerateTemplate.o -index-store-path /Users/admin/builder/spi-builder-workspace/.build/out -index-system-modules
error: Build failed
BUILD FAILURE 6.4 macosSpm