The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Ocha, reference 1.1.0 (50ef2f), with Swift 6.2 for macOS (SPM) on 17 Jun 2025 16:09:14 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/ocha.git
Reference: 1.1.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/bannzai/ocha
 * tag               1.1.0      -> FETCH_HEAD
HEAD is now at 50ef2f5 Merge pull request #14 from bannzai/migrate/swift5
Cloned https://github.com/bannzai/ocha.git
Revision (git rev-parse @):
50ef2f5e3db5b1543d8d826daccb91cab02573c5
SUCCESS checkout https://github.com/bannzai/ocha.git at 1.1.0
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/bannzai/ocha.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/24] Write sources
[1/24] Write RagnarokExample-entitlement.plist
[2/24] Write sources
[3/24] Write Playground-entitlement.plist
[6/24] Write sources
[7/24] Write GitCommitExample-entitlement.plist
[7/24] Write sources
[11/24] Write swift-version-1EA4D86E10B52AF.txt
[12/41] Compiling atomic-counter.c
[14/75] Compiling SwiftSyntax AbsolutePosition.swift
[15/75] Compiling SwiftSyntax AtomicCounter.swift
[16/75] Compiling SwiftSyntax CNodes.swift
[17/75] Compiling SwiftSyntax IncrementalParseTransition.swift
[18/78] Compiling SwiftSyntax Syntax.swift
[19/78] Compiling SwiftSyntax SyntaxChildren.swift
[20/78] Compiling SwiftSyntax SyntaxClassifier.swift
[21/78] Compiling SwiftSyntax SyntaxData.swift
[22/78] Compiling SwiftSyntax RawSyntax.swift
[23/78] Compiling SwiftSyntax SourceLength.swift
[24/78] Compiling SwiftSyntax SourceLocation.swift
[25/78] Compiling SwiftSyntax SourcePresence.swift
[26/78] Emitting module Ocha
[27/78] Compiling Ocha Event.swift
[28/78] Compiling Ocha Watcher.swift
[29/78] Compiling Ocha WatchingPathable.swift
[30/78] Compiling Ocha EventSet.swift
[31/78] Compiling SwiftShell Process.swift
[32/78] Compiling SwiftShell Files.swift
[33/78] Compiling SwiftShell Lazy-split.swift
[34/78] Compiling SwiftShell Array.swift
[35/78] Compiling SwiftShell Context.swift
[36/78] Compiling SwiftShell FileHandle.swift
[37/78] Emitting module SwiftShell
[38/78] Compiling SwiftShell Stream.swift
[39/79] Compiling SwiftShell Bash.swift
[40/79] Compiling SwiftShell Command.swift
[41/79] Compiling PathKit PathKit.swift
[42/79] Emitting module PathKit
[43/79] Compiling SwiftShell String.swift
[44/83] Compiling Playground main.swift
[45/83] Emitting module Playground
[45/83] Write Objects.LinkFileList
[47/83] Compiling GitCommitExample main.swift
[48/83] Emitting module GitCommitExample
[48/83] Write Objects.LinkFileList
[50/83] Emitting module SwiftSyntax
[50/83] Linking GitCommitExample
[51/83] Linking Playground
[52/83] Applying Playground
[52/83] Applying GitCommitExample
[55/83] Compiling SwiftSyntax SyntaxPatternNodes.swift
[56/83] Compiling SwiftSyntax SyntaxStmtNodes.swift
[57/83] Compiling SwiftSyntax SyntaxTypeNodes.swift
[58/83] Compiling SwiftSyntax Misc.swift
[59/83] Compiling SwiftSyntax SyntaxAnyVisitor.swift
[60/83] Compiling SwiftSyntax SyntaxBaseNodes.swift
[61/83] Compiling SwiftSyntax SyntaxBuilders.swift
[62/83] Compiling SwiftSyntax SyntaxVisitor.swift
[63/83] Compiling SwiftSyntax TokenKind.swift
[64/83] Compiling SwiftSyntax Trivia.swift
[65/83] Compiling SwiftSyntax SyntaxKind.swift
[66/83] Compiling SwiftSyntax SyntaxRewriter.swift
[67/83] Compiling SwiftSyntax SyntaxTraits.swift
[68/83] Compiling SwiftSyntax SyntaxClassification.swift
[69/83] Compiling SwiftSyntax SyntaxCollections.swift
[70/83] Compiling SwiftSyntax SyntaxEnum.swift
[71/83] Compiling SwiftSyntax SyntaxFactory.swift
[72/83] Compiling SwiftSyntax SyntaxOtherNodes.swift
[73/83] Compiling SwiftSyntax SyntaxVerifier.swift
[74/83] Compiling SwiftSyntax Utils.swift
[75/83] Compiling SwiftSyntax _SyntaxParserInterop.swift
[76/83] Compiling SwiftSyntax SyntaxDeclNodes.swift
[77/83] Compiling SwiftSyntax SyntaxExprNodes.swift
[78/83] Compiling SwiftSyntax SyntaxNodes.swift
[78/83] Write Objects.LinkFileList
[79/83] Archiving libSwiftSyntax.a
error: emit-module command failed with exit code 1 (use -v to see invocation)
[81/85] Emitting module RagnarokCore
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Ragnarok/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
[82/85] Compiling RagnarokCore RagnarokRewriter.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Ragnarok/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/.build/checkouts/Ragnarok/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/.build/checkouts/Ragnarok/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/.build/checkouts/Ragnarok/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/.build/checkouts/Ragnarok/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/.build/checkouts/Ragnarok/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/.build/checkouts/Ragnarok/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/.build/checkouts/Ragnarok/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/.build/checkouts/Ragnarok/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/.build/checkouts/Ragnarok/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/.build/checkouts/Ragnarok/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/.build/checkouts/Ragnarok/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/.build/checkouts/Ragnarok/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/.build/checkouts/Ragnarok/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/.build/checkouts/Ragnarok/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/.build/checkouts/Ragnarok/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/.build/checkouts/Ragnarok/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/.build/checkouts/Ragnarok/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 |
warning: 'spi-builder-workspace': /Users/admin/builder/spi-builder-workspace/Package.swift:36:53: warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value [#DeprecatedDeclaration]
34 |
35 |   var targetDependencies: [PackageDescription.Target.Dependency] {
36 |     return exampleDependencies + [targetDependency].flatMap{ $0 }
   |                                                     |- warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value [#DeprecatedDeclaration]
   |                                                     `- note: use 'compactMap(_:)' instead
37 |   }
38 |
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
Fetching https://github.com/bannzai/Ragnarok.git
Fetching https://github.com/kareman/SwiftShell.git
Fetching https://github.com/kylef/PathKit.git
[1/1411] Fetching pathkit
[16/6274] Fetching pathkit, swiftshell
[430/7128] Fetching pathkit, swiftshell, ragnarok
Fetched https://github.com/bannzai/Ragnarok.git from cache (1.14s)
Fetched https://github.com/kylef/PathKit.git from cache (1.14s)
Fetched https://github.com/kareman/SwiftShell.git from cache (1.14s)
Computing version for https://github.com/bannzai/Ragnarok.git
Computed https://github.com/bannzai/Ragnarok.git at 1.0.2 (3.09s)
Fetching https://github.com/apple/swift-syntax.git
[1/70882] Fetching swift-syntax
Fetched https://github.com/apple/swift-syntax.git from cache (3.35s)
Computing version for https://github.com/kylef/PathKit.git
Computed https://github.com/kylef/PathKit.git at 0.9.2 (3.90s)
Fetching https://github.com/kylef/Spectre.git
[1/1021] Fetching spectre
Fetched https://github.com/kylef/Spectre.git from cache (0.93s)
Computing version for https://github.com/kareman/SwiftShell.git
Computed https://github.com/kareman/SwiftShell.git at 4.1.2 (2.86s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.9.2 (0.48s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 0.50700.1 (0.56s)
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.git
Working copy of https://github.com/kareman/SwiftShell.git resolved at 4.1.2
Creating working copy for https://github.com/kylef/PathKit.git
Working copy of https://github.com/kylef/PathKit.git resolved at 0.9.2
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
Creating working copy for https://github.com/bannzai/Ragnarok.git
Working copy of https://github.com/bannzai/Ragnarok.git resolved at 1.0.2
Downloading binary artifact https://github.com/apple/swift-syntax/releases/download/0.50700.1/_InternalSwiftSyntaxParser.xcframework.zip
[38414/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.92s)
warning: 'ragnarok': the target name ragnarok has different case on the filesystem and the Package.swift manifest file
BUILD FAILURE 6.2 macosSpm