Build Information
Failed to build Ocha, reference master (50ef2f
), with Swift 6.2 (beta) for macOS (SPM) on 17 Jun 2025 16:08:02 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: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/bannzai/ocha
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
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 master
========================================
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 RagnarokExample-entitlement.plist
[1/24] Write sources
[2/24] Write Playground-entitlement.plist
[3/24] Write sources
[10/24] Write GitCommitExample-entitlement.plist
[11/24] Write swift-version-1EA4D86E10B52AF.txt
[12/41] Compiling atomic-counter.c
[14/75] Compiling Ocha WatchingPathable.swift
[15/75] Emitting module Ocha
[16/75] Compiling Ocha Watcher.swift
[17/75] Compiling Ocha Event.swift
[18/75] Compiling Ocha EventSet.swift
[19/75] Compiling SwiftShell Stream.swift
[20/75] Compiling SwiftShell Lazy-split.swift
[21/75] Compiling SwiftShell Context.swift
[22/75] Compiling SwiftShell Array.swift
[23/75] Compiling SwiftShell Process.swift
[24/76] Compiling SwiftShell FileHandle.swift
[25/76] Compiling SwiftShell Bash.swift
[26/76] Emitting module SwiftShell
[27/76] Compiling SwiftShell Files.swift
[28/76] Compiling SwiftShell Command.swift
[29/76] Emitting module PathKit
[30/76] Compiling PathKit PathKit.swift
[31/76] Compiling SwiftShell String.swift
[32/80] Compiling Playground main.swift
[33/80] Emitting module Playground
[33/80] Write Objects.LinkFileList
[35/80] Compiling GitCommitExample main.swift
[36/80] Emitting module GitCommitExample
[36/80] Write Objects.LinkFileList
[38/80] Compiling SwiftSyntax SyntaxKind.swift
[39/80] Compiling SwiftSyntax SyntaxRewriter.swift
[40/80] Compiling SwiftSyntax SyntaxTraits.swift
[41/80] Compiling SwiftSyntax Syntax.swift
[42/80] Compiling SwiftSyntax SyntaxChildren.swift
[43/80] Compiling SwiftSyntax SyntaxClassifier.swift
[44/80] Compiling SwiftSyntax SyntaxData.swift
[44/83] Linking Playground
[45/83] Linking GitCommitExample
[46/83] Applying Playground
[47/83] Applying GitCommitExample
[49/83] Compiling SwiftSyntax Misc.swift
[50/83] Compiling SwiftSyntax SyntaxAnyVisitor.swift
[51/83] Compiling SwiftSyntax SyntaxBaseNodes.swift
[52/83] Compiling SwiftSyntax SyntaxBuilders.swift
[53/83] Compiling SwiftSyntax SyntaxOtherNodes.swift
[54/83] Compiling SwiftSyntax SyntaxVerifier.swift
[55/83] Compiling SwiftSyntax Utils.swift
[56/83] Compiling SwiftSyntax _SyntaxParserInterop.swift
[57/83] Compiling SwiftSyntax SyntaxPatternNodes.swift
[58/83] Compiling SwiftSyntax SyntaxStmtNodes.swift
[59/83] Compiling SwiftSyntax SyntaxTypeNodes.swift
[60/83] Compiling SwiftSyntax AbsolutePosition.swift
[61/83] Compiling SwiftSyntax AtomicCounter.swift
[62/83] Compiling SwiftSyntax CNodes.swift
[63/83] Compiling SwiftSyntax IncrementalParseTransition.swift
[64/83] Emitting module SwiftSyntax
[65/83] Compiling SwiftSyntax SyntaxVisitor.swift
[66/83] Compiling SwiftSyntax TokenKind.swift
[67/83] Compiling SwiftSyntax Trivia.swift
[68/83] Compiling SwiftSyntax RawSyntax.swift
[69/83] Compiling SwiftSyntax SourceLength.swift
[70/83] Compiling SwiftSyntax SourceLocation.swift
[71/83] Compiling SwiftSyntax SourcePresence.swift
[72/83] Compiling SwiftSyntax SyntaxClassification.swift
[73/83] Compiling SwiftSyntax SyntaxCollections.swift
[74/83] Compiling SwiftSyntax SyntaxEnum.swift
[75/83] Compiling SwiftSyntax SyntaxFactory.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/4863] Fetching swiftshell
[50/5717] Fetching swiftshell, ragnarok
[644/7128] Fetching swiftshell, ragnarok, pathkit
Fetched https://github.com/bannzai/Ragnarok.git from cache (0.93s)
[2870/6274] Fetching swiftshell, pathkit
Fetched https://github.com/kareman/SwiftShell.git from cache (1.07s)
Fetched https://github.com/kylef/PathKit.git from cache (1.07s)
Computing version for https://github.com/bannzai/Ragnarok.git
Computed https://github.com/bannzai/Ragnarok.git at 1.0.2 (3.03s)
Fetching https://github.com/apple/swift-syntax.git
[1/70877] Fetching swift-syntax
Fetched https://github.com/apple/swift-syntax.git from cache (6.44s)
Computing version for https://github.com/kylef/PathKit.git
Computed https://github.com/kylef/PathKit.git at 0.9.2 (7.03s)
Fetching https://github.com/kylef/Spectre.git
[1/1021] Fetching spectre
Fetched https://github.com/kylef/Spectre.git from cache (1.04s)
Computing version for https://github.com/kareman/SwiftShell.git
Computed https://github.com/kareman/SwiftShell.git at 4.1.2 (2.96s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.9.2 (0.61s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 0.50700.1 (0.60s)
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/kareman/SwiftShell.git
Working copy of https://github.com/kareman/SwiftShell.git resolved at 4.1.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
Creating working copy for https://github.com/kylef/Spectre.git
Working copy of https://github.com/kylef/Spectre.git resolved at 0.9.2
Downloading binary artifact https://github.com/apple/swift-syntax/releases/download/0.50700.1/_InternalSwiftSyntaxParser.xcframework.zip
[16375/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.82s)
warning: 'ragnarok': the target name ragnarok has different case on the filesystem and the Package.swift manifest file
BUILD FAILURE 6.2 macosSpm