The Swift Package Index logo.Swift Package Index

Build Information

Failed to build templar, reference 1.0.1 (be6221), with Swift 6.2 for macOS (SPM) on 18 Jun 2025 00:18:18 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.64.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.2
Building package at path:  $PWD
https://github.com/spectraldragon/templar.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/19] Write sources
[6/19] Write templar-entitlement.plist
[6/19] Write sources
[9/19] Write swift-version-1EA4D86E10B52AF.txt
[10/55] Compiling writer.c
[11/55] Compiling parser.c
[12/55] Compiling api.c
[13/55] Compiling emitter.c
[14/55] Compiling reader.c
[15/61] Compiling scanner.c
[17/77] Compiling Rainbow Style.swift
[18/78] Compiling Yams Emitter.swift
[19/78] Compiling Yams Encoder.swift
[20/78] Emitting module Rainbow
[21/78] Compiling Rainbow StringGenerator.swift
[22/78] Compiling Rainbow Color.swift
[23/78] Compiling Yams Mark.swift
[24/78] Compiling Yams Node.Mapping.swift
[25/79] Compiling Yams YamlError.swift
[26/79] Compiling Yams Tag.swift
[27/79] Compiling Rainbow XcodeColorsSupport.swift
[28/79] Compiling Yams shim.swift
[29/79] Compiling Rainbow String+Rainbow.swift
[30/79] Compiling Yams Representer.swift
[31/79] Compiling Yams Resolver.swift
[32/81] Compiling SwiftCLI ValueBox.swift
[33/81] Compiling SwiftCLI VersionCommand.swift
[34/81] Compiling Rainbow OutputTarget.swift
[35/81] Compiling Rainbow ControlCode.swift
[36/81] Compiling Rainbow ModesExtractor.swift
[37/81] Compiling Rainbow Rainbow.swift
[40/81] Compiling Yams Node.Scalar.swift
[41/81] Compiling Yams Node.Sequence.swift
[42/81] Compiling SwiftCLI Term.swift
[43/81] Compiling SwiftCLI Validation.swift
[46/81] Emitting module Yams
[47/81] Compiling Yams Constructor.swift
[48/81] Compiling Yams Decoder.swift
[49/81] Compiling Yams String+Yams.swift
[52/81] Compiling Yams Node.swift
[53/81] Compiling Yams Parser.swift
[59/81] Emitting module SwiftCLI
[63/81] Compiling SwiftCLI Parser.swift
[64/81] Compiling SwiftCLI Path.swift
[65/81] Compiling SwiftCLI OptionRegistry.swift
[66/81] Compiling SwiftCLI Parameter.swift
[67/81] Compiling SwiftCLI Stream.swift
[68/81] Compiling SwiftCLI Task.swift
[69/81] Compiling PathKit PathKit.swift
[70/81] Emitting module PathKit
[71/81] Compiling AEXML Parser.swift
[72/81] Compiling AEXML Options.swift
[73/81] Compiling AEXML Error.swift
[74/81] Compiling AEXML Document.swift
[75/81] Emitting module AEXML
[76/81] Compiling AEXML Element.swift
[77/81] Compiling Files Files.swift
[78/81] Emitting module Files
[79/161] Emitting module xcodeproj
[80/169] Compiling xcodeproj Errors.swift
[81/169] Compiling xcodeproj AEXML+XcodeFormat.swift
[82/169] Compiling xcodeproj Bool+Extras.swift
[83/169] Compiling xcodeproj Dictionary+Enumerate.swift
[84/169] Compiling xcodeproj Dictionary+Extras.swift
[85/169] Compiling xcodeproj KeyedDecodingContainer+Additions.swift
[86/169] Compiling xcodeproj NSRecursiveLock+Sync.swift
[87/169] Compiling xcodeproj OSLog+Extras.swift
[88/169] Compiling xcodeproj Path+Extras.swift
[89/169] Compiling xcodeproj XcodeProj.swift
[90/169] Compiling xcodeproj Writable.swift
[91/169] Compiling xcodeproj XCScheme+AditionalOption.swift
[92/169] Compiling xcodeproj XCScheme+AnalyzeAction.swift
[93/169] Compiling xcodeproj XCScheme+ArchiveAction.swift
[94/169] Compiling xcodeproj XCScheme+BuildAction.swift
[95/169] Compiling xcodeproj XCScheme+BuildableProductRunnable.swift
[96/169] Compiling xcodeproj XCScheme+BuildableReference.swift
[97/169] Compiling xcodeproj XCScheme+CommandLineArguments.swift
[98/169] Compiling xcodeproj PBXResourcesBuildPhase.swift
[99/169] Compiling xcodeproj PBXRezBuildPhase.swift
[100/169] Compiling xcodeproj PBXShellScriptBuildPhase.swift
[101/169] Compiling xcodeproj PBXSourcesBuildPhase.swift
[102/169] Compiling xcodeproj BuildSettings.swift
[103/169] Compiling xcodeproj XCBuildConfiguration.swift
[104/169] Compiling xcodeproj XCConfigurationList.swift
[105/169] Compiling xcodeproj PBXContainerItem.swift
[106/169] Compiling xcodeproj PBXContainerItemProxy.swift
[107/169] Compiling xcodeproj XCScheme+TestableReference.swift
[108/169] Compiling xcodeproj XCScheme.swift
[109/169] Compiling xcodeproj BuildSettingsProvider.swift
[110/169] Compiling xcodeproj CommentedString.swift
[111/169] Compiling xcodeproj Decoders.swift
[112/169] Compiling xcodeproj JSONDecoding.swift
[113/169] Compiling xcodeproj OSLogger.swift
[114/169] Compiling xcodeproj PlistValue.swift
[115/169] Compiling xcodeproj PBXFileElement.swift
[116/169] Compiling xcodeproj PBXFileReference.swift
[117/169] Compiling xcodeproj PBXGroup.swift
[118/169] Compiling xcodeproj PBXSourceTree.swift
[119/169] Compiling xcodeproj PBXVariantGroup.swift
[120/169] Compiling xcodeproj XCVersionGroup.swift
[121/169] Compiling xcodeproj PBXObject.swift
[122/169] Compiling xcodeproj PBXObjectParser.swift
[123/169] Compiling xcodeproj PBXObjectReference.swift
[124/169] Compiling xcodeproj String+Utils.swift
[125/169] Compiling xcodeproj String+md5.swift
[126/169] Compiling xcodeproj BuildPhase.swift
[127/169] Compiling xcodeproj PBXBuildFile.swift
[128/169] Compiling xcodeproj PBXBuildPhase.swift
[129/169] Compiling xcodeproj PBXBuildRule.swift
[130/169] Compiling xcodeproj PBXCopyFilesBuildPhase.swift
[131/169] Compiling xcodeproj PBXFrameworksBuildPhase.swift
[132/169] Compiling xcodeproj PBXHeadersBuildPhase.swift
[133/169] Compiling xcodeproj PBXNativeTarget.swift
[134/169] Compiling xcodeproj PBXProductType.swift
[135/169] Compiling xcodeproj PBXReferenceProxy.swift
[136/169] Compiling xcodeproj PBXTarget.swift
[137/169] Compiling xcodeproj PBXTargetDependency.swift
[138/169] Compiling xcodeproj WorkspaceSettings.swift
[139/169] Compiling xcodeproj XCBreakpointList.swift
[140/169] Compiling xcodeproj XCSharedData.swift
[141/169] Compiling xcodeproj Xcode.swift
[142/169] Compiling xcodeproj ReferenceGenerator.swift
[143/169] Compiling xcodeproj XCConfig.swift
[144/169] Compiling xcodeproj XCWorkspace.swift
[145/169] Compiling xcodeproj XCWorkspaceData.swift
[146/169] Compiling xcodeproj XCWorkspaceDataElement.swift
[147/169] Compiling xcodeproj XCWorkspaceDataElementLocationType.swift
[148/169] Compiling xcodeproj XCWorkspaceDataFileRef.swift
[149/169] Compiling xcodeproj XCWorkspaceDataGroup.swift
[150/169] Compiling xcodeproj PBXObjects.swift
[151/169] Compiling xcodeproj PBXOutputSettings.swift
[152/169] Compiling xcodeproj PBXProj.swift
[153/169] Compiling xcodeproj PBXProjEncoder.swift
[154/169] Compiling xcodeproj PBXProject.swift
[155/169] Compiling xcodeproj Equality.generated.swift
[156/169] Compiling xcodeproj Sourcery.swift
[157/169] Compiling xcodeproj PBXAggregateTarget.swift
[158/169] Compiling xcodeproj PBXLegacyTarget.swift
[159/169] Compiling xcodeproj XCScheme+EnvironmentVariable.swift
[160/169] Compiling xcodeproj XCScheme+ExecutionAction.swift
[161/169] Compiling xcodeproj XCScheme+LaunchAction.swift
[162/169] Compiling xcodeproj XCScheme+LocationScenarioReference.swift
[163/169] Compiling xcodeproj XCScheme+ProfileAction.swift
[164/169] Compiling xcodeproj XCScheme+SerialAction.swift
[165/169] Compiling xcodeproj XCScheme+SkippedTests.swift
[166/169] Compiling xcodeproj XCScheme+TestAction.swift
[167/179] Compiling templar main.swift
[168/179] Compiling templar TemplarTool.swift
[169/179] Compiling templar TemplarErrors.swift
[170/179] Compiling templar Extensions.swift
[171/179] Compiling templar Templar.swift
[172/179] Compiling templar Template.swift
[173/179] Compiling templar TempalateCommand.swift
[174/179] Compiling templar InitCommand.swift
[175/179] Emitting module templar
/Users/admin/builder/spi-builder-workspace/Sources/templar/Commands/GenerateTemplate.swift:322:1: warning: extension 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
320 |
321 | #if DEBUG
322 | extension PBXGroup: CustomStringConvertible {
    | |- warning: extension 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
    | `- note: add '@retroactive' to silence this warning
323 |     public var description: String {
324 |         return self.name ?? self.path ?? "Noting"
[176/179] Compiling templar GenerateTemplate.swift
/Users/admin/builder/spi-builder-workspace/Sources/templar/Commands/GenerateTemplate.swift:322:1: warning: extension 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
320 |
321 | #if DEBUG
322 | extension PBXGroup: CustomStringConvertible {
    | |- warning: extension 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
    | `- note: add '@retroactive' to silence this warning
323 |     public var description: String {
324 |         return self.name ?? self.path ?? "Noting"
/Users/admin/builder/spi-builder-workspace/Sources/templar/Commands/GenerateTemplate.swift:230:29: error: value of optional type '[PBXBuildFile]?' must be unwrapped to refer to member 'firstIndex' of wrapped base type '[PBXBuildFile]'
228 |     @discardableResult
229 |     func updateOrAdd(file: PBXFileReference) throws -> PBXBuildFile {
230 |         if let index = self.files.firstIndex(where: { $0.file?.path == file.path && $0.file?.name == file.name }) {
    |                             |- error: value of optional type '[PBXBuildFile]?' must be unwrapped to refer to member 'firstIndex' of wrapped base type '[PBXBuildFile]'
    |                             |- note: chain the optional using '?' to access member 'firstIndex' only for non-'nil' base values
    |                             `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
231 |             self.files.remove(at: index)
232 |         }
/Users/admin/builder/spi-builder-workspace/Sources/templar/Commands/GenerateTemplate.swift:231:24: error: no exact matches in call to instance method 'remove'
229 |     func updateOrAdd(file: PBXFileReference) throws -> PBXBuildFile {
230 |         if let index = self.files.firstIndex(where: { $0.file?.path == file.path && $0.file?.name == file.name }) {
231 |             self.files.remove(at: index)
    |                        |- error: no exact matches in call to instance method 'remove'
    |                        `- note: found candidate with type '(Int) -> PBXBuildFile'
232 |         }
233 |
Fetching https://github.com/JohnSundell/Files
Fetching https://github.com/tuist/xcodeproj.git
Fetching https://github.com/jpsim/Yams.git
Fetching https://github.com/onevcat/Rainbow
Fetching https://github.com/jakeheis/SwiftCLI
[1/1248] Fetching files
[114/2444] Fetching files, rainbow
[270/7518] Fetching files, rainbow, swiftcli
[1629/18377] Fetching files, rainbow, swiftcli, yams
[2442/41710] Fetching files, rainbow, swiftcli, yams, xcodeproj
Fetched https://github.com/JohnSundell/Files from cache (1.06s)
Fetched https://github.com/jakeheis/SwiftCLI from cache (1.06s)
[5582/35388] Fetching rainbow, yams, xcodeproj
Fetched https://github.com/tuist/xcodeproj.git from cache (1.98s)
Fetched https://github.com/jpsim/Yams.git from cache (1.98s)
Fetched https://github.com/onevcat/Rainbow from cache (1.98s)
Computing version for https://github.com/JohnSundell/Files
Computed https://github.com/JohnSundell/Files at 2.3.0 (3.91s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 1.0.2 (1.90s)
Computing version for https://github.com/tuist/xcodeproj.git
Computed https://github.com/tuist/xcodeproj.git at 6.7.0 (0.45s)
Fetching https://github.com/tadija/AEXML
Fetching https://github.com/kylef/PathKit
Fetching https://github.com/kareman/SwiftShell
[1/4863] Fetching swiftshell
[196/6990] Fetching swiftshell, aexml
[516/8401] Fetching swiftshell, aexml, pathkit
Fetched https://github.com/tadija/AEXML from cache (1.10s)
Fetched https://github.com/kylef/PathKit from cache (1.10s)
Fetched https://github.com/kareman/SwiftShell from cache (1.10s)
Computing version for https://github.com/kareman/SwiftShell
Computed https://github.com/kareman/SwiftShell at 4.1.2 (1.60s)
Computing version for https://github.com/kylef/PathKit
Computed https://github.com/kylef/PathKit at 0.9.2 (0.49s)
Fetching https://github.com/kylef/Spectre.git
[1/1021] Fetching spectre
Fetched https://github.com/kylef/Spectre.git from cache (0.86s)
Computing version for https://github.com/tadija/AEXML
Computed https://github.com/tadija/AEXML at 4.3.3 (1.37s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.9.2 (0.50s)
Computing version for https://github.com/onevcat/Rainbow
Computed https://github.com/onevcat/Rainbow at 3.2.0 (0.47s)
Computing version for https://github.com/jakeheis/SwiftCLI
Computed https://github.com/jakeheis/SwiftCLI at 5.3.3 (0.49s)
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/onevcat/Rainbow
Working copy of https://github.com/onevcat/Rainbow resolved at 3.2.0
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/jakeheis/SwiftCLI
Working copy of https://github.com/jakeheis/SwiftCLI resolved at 5.3.3
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/JohnSundell/Files
Working copy of https://github.com/JohnSundell/Files resolved at 2.3.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/kareman/SwiftShell
Working copy of https://github.com/kareman/SwiftShell resolved at 4.1.2
BUILD FAILURE 6.2 macosSpm