The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build Ragnarok, reference master (1b524e), with Swift 6.2 (beta) for macOS (SPM) on 17 Jun 2025 18:33:24 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/bannzai/ragnarok.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/bannzai/ragnarok
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 1b524e4 :memo: gaopin is 厨二病
Cloned https://github.com/bannzai/ragnarok.git
Revision (git rev-parse @):
1b524e4f4eb3f5532cf94ebbfa43f2bb73544d82
SUCCESS checkout https://github.com/bannzai/ragnarok.git at master
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/bannzai/ragnarok.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/11] Write sources
[2/11] Write ragnarok-entitlement.plist
[3/11] Write sources
[4/11] Write swift-version-1EA4D86E10B52AF.txt
[5/11] Compiling atomic-counter.c
[7/45] Compiling SwiftSyntax Syntax.swift
[8/45] Compiling SwiftSyntax SyntaxChildren.swift
[9/45] Compiling SwiftSyntax SyntaxClassifier.swift
[10/45] Compiling SwiftSyntax SyntaxData.swift
[11/48] Compiling SwiftSyntax AbsolutePosition.swift
[12/48] Compiling SwiftSyntax AtomicCounter.swift
[13/48] Compiling SwiftSyntax CNodes.swift
[14/48] Compiling SwiftSyntax IncrementalParseTransition.swift
[15/48] Compiling SwiftSyntax SyntaxOtherNodes.swift
[16/48] Compiling SwiftSyntax SyntaxVerifier.swift
[17/48] Compiling SwiftSyntax Utils.swift
[18/48] Compiling SwiftSyntax _SyntaxParserInterop.swift
[19/48] Emitting module SwiftSyntax
[20/48] Compiling SwiftSyntax SyntaxPatternNodes.swift
[21/48] Compiling SwiftSyntax SyntaxStmtNodes.swift
[22/48] Compiling SwiftSyntax SyntaxTypeNodes.swift
[23/48] Compiling SwiftSyntax SyntaxKind.swift
[24/48] Compiling SwiftSyntax SyntaxRewriter.swift
[25/48] Compiling SwiftSyntax SyntaxTraits.swift
[26/48] Compiling SwiftSyntax Misc.swift
[27/48] Compiling SwiftSyntax SyntaxAnyVisitor.swift
[28/48] Compiling SwiftSyntax SyntaxBaseNodes.swift
[29/48] Compiling SwiftSyntax SyntaxBuilders.swift
[30/48] Compiling SwiftSyntax SyntaxClassification.swift
[31/48] Compiling SwiftSyntax SyntaxCollections.swift
[32/48] Compiling SwiftSyntax SyntaxEnum.swift
[33/48] Compiling SwiftSyntax SyntaxFactory.swift
[34/48] Compiling SwiftSyntax RawSyntax.swift
[35/48] Compiling SwiftSyntax SourceLength.swift
[36/48] Compiling SwiftSyntax SourceLocation.swift
[37/48] Compiling SwiftSyntax SourcePresence.swift
[38/48] Compiling SwiftSyntax SyntaxVisitor.swift
[39/48] Compiling SwiftSyntax TokenKind.swift
[40/48] Compiling SwiftSyntax Trivia.swift
[41/48] Compiling SwiftSyntax SyntaxDeclNodes.swift
[42/48] Compiling SwiftSyntax SyntaxExprNodes.swift
[43/48] Compiling SwiftSyntax SyntaxNodes.swift
[43/48] Write Objects.LinkFileList
[44/48] Archiving libSwiftSyntax.a
error: emit-module command failed with exit code 1 (use -v to see invocation)
[46/50] Emitting module RagnarokCore
/Users/admin/builder/spi-builder-workspace/Sources/RagnarokCore/RagnarokRewriter.swift:261:24: error: type 'T' constrained to non-protocol, non-class type 'Syntax'
259 |     }
260 |
261 |     func findParent<T: Syntax>(from syntax: Syntax, to goalType: T.Type) -> T? {
    |                        `- error: type 'T' constrained to non-protocol, non-class type 'Syntax'
262 |         guard let next = syntax.parent else {
263 |             return nil
[47/50] Compiling RagnarokCore RagnarokRewriter.swift
/Users/admin/builder/spi-builder-workspace/Sources/RagnarokCore/RagnarokRewriter.swift:261:24: error: type 'T' constrained to non-protocol, non-class type 'Syntax'
259 |     }
260 |
261 |     func findParent<T: Syntax>(from syntax: Syntax, to goalType: T.Type) -> T? {
    |                        `- error: type 'T' constrained to non-protocol, non-class type 'Syntax'
262 |         guard let next = syntax.parent else {
263 |             return nil
/Users/admin/builder/spi-builder-workspace/Sources/RagnarokCore/RagnarokRewriter.swift:22:19: error: cannot convert value of type 'ParameterClauseSyntax' to expected argument type 'Syntax'
 20 |
 21 |         guard let functionalParentSyntax = findParent(
 22 |             from: node,
    |                   `- error: cannot convert value of type 'ParameterClauseSyntax' to expected argument type 'Syntax'
 23 |             to: FunctionDeclSyntax.self
 24 |             ) else {
/Users/admin/builder/spi-builder-workspace/Sources/RagnarokCore/RagnarokRewriter.swift:50:38: error: operator function '==' requires that 'SyntaxChildrenIndex' conform to 'BinaryInteger'
 48 |                 }) ?? false
 49 |
 50 |                 let isFirst = offset == node.startIndex
    |                                      `- error: operator function '==' requires that 'SyntaxChildrenIndex' conform to 'BinaryInteger'
 51 |
 52 |                 let lineBreakCount: Int = isAlreadyLineBreak ? 0 : 1
Swift.BinaryInteger.==:2:20: note: where 'Other' = 'SyntaxChildrenIndex'
1 | protocol BinaryInteger {
2 | public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : BinaryInteger}
  |                    `- note: where 'Other' = 'SyntaxChildrenIndex'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/RagnarokCore/RagnarokRewriter.swift:60:43: error: operator function '==' requires that 'SyntaxChildrenIndex' conform to 'BinaryInteger'
 58 |                 }
 59 |
 60 |                 let isLast = (offset + 1) == node.endIndex
    |                                           `- error: operator function '==' requires that 'SyntaxChildrenIndex' conform to 'BinaryInteger'
 61 |                 switchIsLast: switch isLast {
 62 |                 case false:
Swift.BinaryInteger.==:2:20: note: where 'Other' = 'SyntaxChildrenIndex'
1 | protocol BinaryInteger {
2 | public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : BinaryInteger}
  |                    `- note: where 'Other' = 'SyntaxChildrenIndex'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/RagnarokCore/RagnarokRewriter.swift:121:16: error: cannot convert return expression of type 'ParameterClauseSyntax' to return type 'Syntax'
119 |         )
120 |
121 |         return newNode
    |                `- error: cannot convert return expression of type 'ParameterClauseSyntax' to return type 'Syntax'
122 |     }
123 |
/Users/admin/builder/spi-builder-workspace/Sources/RagnarokCore/RagnarokRewriter.swift:133:18: error: cannot find type 'FunctionCallArgumentListSyntax' in scope
131 |             node: FunctionCallArgumentListSyntax,
132 |             mostLeadingIndent: Int
133 |             ) -> FunctionCallArgumentListSyntax {
    |                  `- error: cannot find type 'FunctionCallArgumentListSyntax' in scope
134 |             var newParameterList = node
135 |             let indent = mostLeadingIndent + Const.indent
/Users/admin/builder/spi-builder-workspace/Sources/RagnarokCore/RagnarokRewriter.swift:131:19: error: cannot find type 'FunctionCallArgumentListSyntax' in scope
129 |
130 |         func makeSyntax(
131 |             node: FunctionCallArgumentListSyntax,
    |                   `- error: cannot find type 'FunctionCallArgumentListSyntax' in scope
132 |             mostLeadingIndent: Int
133 |             ) -> FunctionCallArgumentListSyntax {
/Users/admin/builder/spi-builder-workspace/Sources/RagnarokCore/RagnarokRewriter.swift:164:39: error: cannot convert value of type 'FunctionCallExprSyntax' to expected argument type 'Syntax'
162 |         }
163 |
164 |         var baseIndent = indent(from: node)
    |                                       `- error: cannot convert value of type 'FunctionCallExprSyntax' to expected argument type 'Syntax'
165 |         var adjustmentRightParenIndent = 0
166 |         if let inFunction = findParent(from: node, to: FunctionCallExprSyntax.self) {
/Users/admin/builder/spi-builder-workspace/Sources/RagnarokCore/RagnarokRewriter.swift:166:46: error: cannot convert value of type 'FunctionCallExprSyntax' to expected argument type 'Syntax'
164 |         var baseIndent = indent(from: node)
165 |         var adjustmentRightParenIndent = 0
166 |         if let inFunction = findParent(from: node, to: FunctionCallExprSyntax.self) {
    |                                              `- error: cannot convert value of type 'FunctionCallExprSyntax' to expected argument type 'Syntax'
167 |             baseIndent = indent(from: inFunction)
168 |         }
/Users/admin/builder/spi-builder-workspace/Sources/RagnarokCore/RagnarokRewriter.swift:169:60: error: cannot convert value of type 'FunctionCallExprSyntax' to expected argument type 'Syntax'
167 |             baseIndent = indent(from: inFunction)
168 |         }
169 |         if let forDiscardAssignmentExpr = findParent(from: node, to: ExprListSyntax.self) {
    |                                                            `- error: cannot convert value of type 'FunctionCallExprSyntax' to expected argument type 'Syntax'
170 |             baseIndent = indent(from: forDiscardAssignmentExpr)
171 |         }
/Users/admin/builder/spi-builder-workspace/Sources/RagnarokCore/RagnarokRewriter.swift:172:50: error: cannot convert value of type 'FunctionCallExprSyntax' to expected argument type 'Syntax'
170 |             baseIndent = indent(from: forDiscardAssignmentExpr)
171 |         }
172 |         if let inVariableDecl = findParent(from: node, to: VariableDeclSyntax.self) {
    |                                                  `- error: cannot convert value of type 'FunctionCallExprSyntax' to expected argument type 'Syntax'
173 |             baseIndent = indent(from: inVariableDecl)
174 |         }
/Users/admin/builder/spi-builder-workspace/Sources/RagnarokCore/RagnarokRewriter.swift:175:44: error: cannot convert value of type 'FunctionCallExprSyntax' to expected argument type 'Syntax'
173 |             baseIndent = indent(from: inVariableDecl)
174 |         }
175 |         if let inReturn = findParent(from: node, to: ReturnStmtSyntax.self) {
    |                                            `- error: cannot convert value of type 'FunctionCallExprSyntax' to expected argument type 'Syntax'
176 |             baseIndent = indent(from: inReturn)
177 |         }
/Users/admin/builder/spi-builder-workspace/Sources/RagnarokCore/RagnarokRewriter.swift:178:43: error: cannot convert value of type 'FunctionCallExprSyntax' to expected argument type 'Syntax'
176 |             baseIndent = indent(from: inReturn)
177 |         }
178 |         if let inGuard = findParent(from: node, to: GuardStmtSyntax.self) {
    |                                           `- error: cannot convert value of type 'FunctionCallExprSyntax' to expected argument type 'Syntax'
179 |             baseIndent = indent(from: inGuard)
180 |             adjustmentRightParenIndent = Const.indent
/Users/admin/builder/spi-builder-workspace/Sources/RagnarokCore/RagnarokRewriter.swift:182:40: error: cannot convert value of type 'FunctionCallExprSyntax' to expected argument type 'Syntax'
180 |             adjustmentRightParenIndent = Const.indent
181 |         }
182 |         if let inIf = findParent(from: node, to: IfStmtSyntax.self) {
    |                                        `- error: cannot convert value of type 'FunctionCallExprSyntax' to expected argument type 'Syntax'
183 |             baseIndent = indent(from: inIf)
184 |             adjustmentRightParenIndent = Const.indent
/Users/admin/builder/spi-builder-workspace/Sources/RagnarokCore/RagnarokRewriter.swift:186:49: error: cannot convert value of type 'FunctionCallExprSyntax' to expected argument type 'Syntax'
184 |             adjustmentRightParenIndent = Const.indent
185 |         }
186 |         if let forTryKeyword = findParent(from: node, to: TryExprSyntax.self) {
    |                                                 `- error: cannot convert value of type 'FunctionCallExprSyntax' to expected argument type 'Syntax'
187 |             baseIndent = indent(from: forTryKeyword)
188 |         }
/Users/admin/builder/spi-builder-workspace/Sources/RagnarokCore/RagnarokRewriter.swift:221:16: error: cannot convert return expression of type 'FunctionCallExprSyntax' to return type 'ExprSyntax'
219 |         }
220 |
221 |         return newNode
    |                `- error: cannot convert return expression of type 'FunctionCallExprSyntax' to return type 'ExprSyntax'
222 |     }
223 | }
/Users/admin/builder/spi-builder-workspace/Sources/RagnarokCore/RagnarokRewriter.swift:228:26: error: cannot find 'SyntaxTreeParser' in scope
226 | extension RagnarokRewriter {
227 |     public func formatted() throws -> String {
228 |         return visit(try SyntaxTreeParser.parse(path)).description
    |                          `- error: cannot find 'SyntaxTreeParser' in scope
229 |     }
230 |
/Users/admin/builder/spi-builder-workspace/Sources/RagnarokCore/RagnarokRewriter.swift:258:43: error: value of type 'SourceLength' has no member 'columnsAtLastLine'
256 |
257 |     private func indent(from syntax: Syntax) -> Int {
258 |         return syntax.leadingTriviaLength.columnsAtLastLine
    |                                           `- error: value of type 'SourceLength' has no member 'columnsAtLastLine'
259 |     }
260 |
Fetching https://github.com/apple/swift-syntax.git
[1/70882] Fetching swift-syntax
Fetched https://github.com/apple/swift-syntax.git from cache (3.16s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 0.50700.1 (5.19s)
Creating working copy for https://github.com/apple/swift-syntax.git
Working copy of https://github.com/apple/swift-syntax.git resolved at 0.50700.1
Downloading binary artifact https://github.com/apple/swift-syntax/releases/download/0.50700.1/_InternalSwiftSyntaxParser.xcframework.zip
[32750/20720765] Downloading https://github.com/apple/swift-syntax/releases/download/0.50700.1/_InternalSwiftSyntaxParser.xcframework.zip
Downloaded https://github.com/apple/swift-syntax/releases/download/0.50700.1/_InternalSwiftSyntaxParser.xcframework.zip (1.80s)
warning: 'spi-builder-workspace': the target name ragnarok has different case on the filesystem and the Package.swift manifest file
BUILD FAILURE 6.2 macosSpm