Build Information
Failed to build SwiftRewriter, reference 0.2.0 (5a14df
), with Swift 6.1 for Linux on 25 Apr 2025 14:56:09 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/inamiy/swiftrewriter.git
Reference: 0.2.0
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/inamiy/swiftrewriter
* tag 0.2.0 -> FETCH_HEAD
HEAD is now at 5a14dfc Update README.md
Cloned https://github.com/inamiy/swiftrewriter.git
Revision (git rev-parse @):
5a14dfcc9f005f40f15f6028141b520a9a9a738d
SUCCESS checkout https://github.com/inamiy/swiftrewriter.git at 0.2.0
========================================
Build
========================================
Selected platform: linux
Swift version: 6.1
Building package at path: $PWD
https://github.com/inamiy/swiftrewriter.git
https://github.com/inamiy/swiftrewriter.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "swift-syntax",
"requirement" : {
"exact" : [
"0.50000.0"
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-syntax.git"
},
{
"identity" : "commandant",
"requirement" : {
"range" : [
{
"lower_bound" : "0.15.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/Carthage/Commandant.git"
},
{
"identity" : "curry",
"requirement" : {
"range" : [
{
"lower_bound" : "4.0.2",
"upper_bound" : "5.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/thoughtbot/Curry.git"
},
{
"identity" : "files",
"requirement" : {
"range" : [
{
"lower_bound" : "2.2.1",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/JohnSundell/Files.git"
},
{
"identity" : "swift-snapshot-testing",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/pointfreeco/swift-snapshot-testing"
}
],
"manifest_display_name" : "SwiftRewriter",
"name" : "SwiftRewriter",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "SwiftRewriter",
"targets" : [
"SwiftRewriter"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "swift-rewriter",
"targets" : [
"swift-rewriter"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "swift_rewriter",
"module_type" : "SwiftTarget",
"name" : "swift-rewriter",
"path" : "Sources/swift-rewriter",
"product_dependencies" : [
"Commandant",
"Curry",
"Files"
],
"product_memberships" : [
"swift-rewriter"
],
"sources" : [
"Commands/PrintASTCommand.swift",
"Commands/RunCommand.swift",
"Commands/VersionCommand.swift",
"Utilities/CommandProtocol.swift",
"Utilities/CommonOptions.swift",
"main.swift",
"rewriter.swift"
],
"target_dependencies" : [
"SwiftRewriter"
],
"type" : "executable"
},
{
"c99name" : "SwiftRewriterTests",
"module_type" : "SwiftTarget",
"name" : "SwiftRewriterTests",
"path" : "Tests/SwiftRewriterTests",
"product_dependencies" : [
"SnapshotTesting"
],
"sources" : [
"Combined/CombinedTests.swift",
"Comment/HeaderCopyrightTrimmerTests.swift",
"Helpers/TestRunner.swift",
"Indent/BlockItemIndenterTests.swift",
"Indent/FirstItemAwareIndenterTests.swift",
"Indent/IndenterTests.swift",
"Move/ExtensionIniterTests.swift",
"Move/ImportSorterTests.swift",
"Newline/ElseNewlinerTests.swift",
"Newline/ExtraNewlinerTests.swift",
"Newline/MethodChainNewlinerTests.swift",
"Space/ArrowSpacerTests.swift",
"Space/BinaryOperatorSpacerTests.swift",
"Space/ColonSpacerTests.swift",
"Space/EqualSpacerTests.swift",
"Space/ExtraSpaceTrimmerTests.swift",
"Space/LeftBraceSpacerTests.swift",
"Space/LeftParenSpacerTests.swift",
"Space/TernaryExprSpacerTests.swift",
"Space/TrailingSpaceTrimmer.swift",
"Token/DecimalLiteralUnderscorerTests.swift",
"Token/SemicolonTrimmerTests.swift",
"XCTestManifests.swift",
"rewriter.swift"
],
"target_dependencies" : [
"SwiftRewriter"
],
"type" : "test"
},
{
"c99name" : "SwiftRewriter",
"module_type" : "SwiftTarget",
"name" : "SwiftRewriter",
"path" : "Sources/SwiftRewriter",
"product_dependencies" : [
"SwiftSyntax"
],
"product_memberships" : [
"SwiftRewriter",
"swift-rewriter"
],
"sources" : [
"Debug/DebugString.swift",
"Debug/DebugTree.swift",
"Extensions/AbsolutePosition.swift",
"Extensions/Basic.swift",
"Extensions/Syntax.swift",
"Extensions/TokenSyntax.swift",
"Extensions/Trivia.swift",
"Operators.swift",
"Protocols/HasRewriterExamples.swift",
"Protocols/Protocols.swift",
"Protocols/SyntaxRewriterProtocol.swift",
"Rewriters/BugFixer.swift",
"Rewriters/Comment/HeaderCopyrightTrimmer.swift",
"Rewriters/Common/FirstTokenRewriter.swift",
"Rewriters/Indent/Indenter.swift",
"Rewriters/Indent/Internal/BlockItemIndenter.swift",
"Rewriters/Indent/Internal/FirstItemAwareIndenter.swift",
"Rewriters/Move/ExtensionIniter.swift",
"Rewriters/Move/ImportSorter.swift",
"Rewriters/Newline/ElseNewliner.swift",
"Rewriters/Newline/ExtraNewliner.swift",
"Rewriters/Newline/MethodChainNewliner.swift",
"Rewriters/Space/ArrowSpacer.swift",
"Rewriters/Space/BinaryOperatorSpacer.swift",
"Rewriters/Space/ColonSpacer.swift",
"Rewriters/Space/EqualSpacer.swift",
"Rewriters/Space/ExtraSpaceTrimmer.swift",
"Rewriters/Space/LeftBraceSpacer.swift",
"Rewriters/Space/LeftParenSpacer.swift",
"Rewriters/Space/TernaryExprSpacer.swift",
"Rewriters/Space/TrailingSpaceTrimmer.swift",
"Rewriters/Token/DecimalLiteralUnderscorer.swift",
"Rewriters/Token/SemicolonTrimmer.swift",
"Types/Indent.swift",
"Types/Rewriter.swift",
"Utilities/Function.swift",
"Utilities/Lens.swift",
"Utilities/TokenHandler.swift"
],
"type" : "library"
}
],
"tools_version" : "4.2"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Fetching https://github.com/JohnSundell/Files.git
Fetching https://github.com/pointfreeco/swift-snapshot-testing
Fetching https://github.com/Carthage/Commandant.git
Fetching https://github.com/apple/swift-syntax.git
Fetching https://github.com/thoughtbot/Curry.git
[1/597] Fetching curry
[598/2926] Fetching curry, commandant
[2927/4162] Fetching curry, commandant, files
[4163/17321] Fetching curry, commandant, files, swift-snapshot-testing
Fetched https://github.com/thoughtbot/Curry.git from cache (0.55s)
Fetched https://github.com/Carthage/Commandant.git from cache (0.55s)
[2026/14395] Fetching files, swift-snapshot-testing
[3343/84590] Fetching files, swift-snapshot-testing, swift-syntax
Fetched https://github.com/pointfreeco/swift-snapshot-testing from cache (2.19s)
[58094/71431] Fetching files, swift-syntax
Fetched https://github.com/JohnSundell/Files.git from cache (4.52s)
Fetched https://github.com/apple/swift-syntax.git from cache (4.57s)
Computing version for https://github.com/thoughtbot/Curry.git
Computed https://github.com/thoughtbot/Curry.git at 4.0.2 (5.10s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 0.50000.0 (1.60s)
Computing version for https://github.com/JohnSundell/Files.git
Computed https://github.com/JohnSundell/Files.git at 2.3.0 (1.92s)
Computing version for https://github.com/Carthage/Commandant.git
Computed https://github.com/Carthage/Commandant.git at 0.18.0 (2.07s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing
Computed https://github.com/pointfreeco/swift-snapshot-testing at 1.12.0 (0.51s)
Creating working copy for https://github.com/Carthage/Commandant.git
Working copy of https://github.com/Carthage/Commandant.git resolved at 0.18.0
Creating working copy for https://github.com/pointfreeco/swift-snapshot-testing
Working copy of https://github.com/pointfreeco/swift-snapshot-testing resolved at 1.12.0
Creating working copy for https://github.com/thoughtbot/Curry.git
Working copy of https://github.com/thoughtbot/Curry.git resolved at 4.0.2
Creating working copy for https://github.com/JohnSundell/Files.git
Working copy of https://github.com/JohnSundell/Files.git resolved at 2.3.0
Creating working copy for https://github.com/apple/swift-syntax.git
Working copy of https://github.com/apple/swift-syntax.git resolved at 0.50000.0
Building for debugging...
[0/15] Write sources
[6/15] Write swift-version-24593BA9C3E375BF.txt
[8/53] Emitting module Commandant
[9/54] Compiling Commandant Switch.swift
[10/54] Compiling Commandant OrderedSet.swift
[11/54] Compiling Commandant Result+Additions.swift
[12/54] Emitting module SwiftSyntax
[13/57] Compiling SwiftSyntax SwiftSyntax.swift
[14/57] Compiling SwiftSyntax SwiftcInvocation.swift
[15/57] Compiling SwiftSyntax Syntax.swift
[16/57] Compiling Commandant Option.swift
/host/spi-builder-workspace/.build/checkouts/Commandant/Sources/Commandant/Option.swift:239:32: error: instance method 'contains' requires that 'String.Element' (aka 'Character') conform to 'Collection'
237 | let components = unwrappedStringValue.split(
238 | omittingEmptySubsequences: true,
239 | whereSeparator: [",", " "].contains
| `- error: instance method 'contains' requires that 'String.Element' (aka 'Character') conform to 'Collection'
240 | )
241 | var resultValues: [T] = []
_StringProcessing.Collection.contains:3:15: note: where 'C' = 'String.Element' (aka 'Character')
1 | protocol Collection {
2 | @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
3 | public func contains<C>(_ other: C) -> Bool where C : Collection, Self.Element == C.Element}
| `- note: where 'C' = 'String.Element' (aka 'Character')
4 |
[17/57] Compiling SwiftSyntax DiagnosticEngine.swift
[18/57] Compiling SwiftSyntax JSONDiagnosticConsumer.swift
[19/57] Compiling SwiftSyntax LazyNonThreadSafeCache.swift
[20/57] Compiling SwiftSyntax PrintingDiagnosticConsumer.swift
[21/57] Compiling SwiftSyntax AbsolutePosition.swift
[22/57] Compiling SwiftSyntax ByteTreeDeserialization.swift
[23/57] Compiling SwiftSyntax Diagnostic.swift
[24/57] Compiling SwiftSyntax DiagnosticConsumer.swift
[25/57] Compiling SwiftSyntax RawSyntax.swift
[26/57] Compiling SwiftSyntax SourceLength.swift
[27/57] Compiling SwiftSyntax SourcePresence.swift
[28/57] Emitting module Files
[29/57] Compiling Files Files.swift
[30/58] Compiling Commandant Errors.swift
[35/58] Compiling Commandant HelpCommand.swift
[36/58] Emitting module Curry
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
[0/1] Planning build
Building for debugging...
[0/9] Write swift-version-24593BA9C3E375BF.txt
[2/47] Compiling Commandant Result+Additions.swift
[3/48] Compiling Commandant OrderedSet.swift
[4/48] Compiling Commandant Switch.swift
[5/48] Compiling Commandant Errors.swift
[6/48] Compiling Commandant Option.swift
[7/48] Compiling Commandant ArgumentProtocol.swift
[8/48] Compiling Commandant Command.swift
[9/48] Compiling Commandant HelpCommand.swift
[10/48] Compiling Commandant Argument.swift
[11/48] Compiling Commandant ArgumentParser.swift
[12/48] Emitting module Commandant
[14/49] Emitting module Files
[15/49] Compiling Files Files.swift
[17/50] Compiling SwiftSyntax JSONDiagnosticConsumer.swift
[18/50] Compiling SwiftSyntax LazyNonThreadSafeCache.swift
[19/50] Compiling SwiftSyntax PrintingDiagnosticConsumer.swift
[24/53] Compiling SwiftSyntax AbsolutePosition.swift
[25/53] Compiling SwiftSyntax ByteTreeDeserialization.swift
[26/53] Compiling SwiftSyntax Diagnostic.swift
[27/53] Compiling SwiftSyntax DiagnosticConsumer.swift
[27/53] Wrapping AST for Commandant for debugging
[29/53] Compiling SwiftSyntax SwiftSyntax.swift
[30/53] Compiling SwiftSyntax SwiftcInvocation.swift
[31/53] Compiling SwiftSyntax Syntax.swift
[31/53] Wrapping AST for Files for debugging
[33/53] Emitting module SwiftSyntax
[34/53] Compiling SwiftSyntax SyntaxRewriter.swift
[35/53] Compiling SwiftSyntax TokenKind.swift
[36/53] Compiling SwiftSyntax Trivia.swift
[37/53] Compiling SwiftSyntax SyntaxChildren.swift
[38/53] Compiling SwiftSyntax SyntaxData.swift
[39/53] Compiling SwiftSyntax WeakLookupTable.swift
[40/53] Compiling SwiftSyntax SyntaxBuilders.swift
[41/53] Compiling SwiftSyntax SyntaxClassifier.swift
[42/53] Compiling SwiftSyntax SyntaxCollections.swift
[43/53] Compiling SwiftSyntax SyntaxFactory.swift
[44/53] Compiling SwiftSyntax SyntaxKind.swift
[45/53] Compiling SwiftSyntax SyntaxNodes.swift
[46/54] Wrapping AST for SwiftSyntax for debugging
[48/89] Compiling SwiftRewriter TrailingSpaceTrimmer.swift
[49/89] Compiling SwiftRewriter DecimalLiteralUnderscorer.swift
[50/89] Compiling SwiftRewriter SemicolonTrimmer.swift
[51/89] Compiling SwiftRewriter Indent.swift
[52/93] Emitting module SwiftRewriter
/host/spi-builder-workspace/Sources/SwiftRewriter/Extensions/AbsolutePosition.swift:3:1: warning: extension declares a conformance of imported type 'AbsolutePosition' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'SwiftSyntax' introduce this conformance in the future
1 | import SwiftSyntax
2 |
3 | extension AbsolutePosition: Equatable
| |- warning: extension declares a conformance of imported type 'AbsolutePosition' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'SwiftSyntax' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
4 | {
5 | public static func == (l: AbsolutePosition, r: AbsolutePosition) -> Bool
/host/spi-builder-workspace/Sources/SwiftRewriter/Extensions/Trivia.swift:5:1: warning: extension declares a conformance of imported type 'Trivia' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'SwiftSyntax' introduce this conformance in the future
3 | // MARK: - Trivia
4 |
5 | extension Trivia: CustomStringConvertible
| |- warning: extension declares a conformance of imported type 'Trivia' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'SwiftSyntax' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
6 | {
7 | var pieces: [TriviaPiece]
/host/spi-builder-workspace/Sources/SwiftRewriter/Extensions/Trivia.swift:56:1: warning: extension declares a conformance of imported type 'TriviaPiece' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'SwiftSyntax' introduce this conformance in the future
54 | // MARK: - TriviaPiece
55 |
56 | extension TriviaPiece: CustomStringConvertible
| |- warning: extension declares a conformance of imported type 'TriviaPiece' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'SwiftSyntax' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
57 | {
58 | public var description: String
/host/spi-builder-workspace/Sources/SwiftRewriter/Protocols/Protocols.swift:41:1: warning: extension declares a conformance of imported type 'EnumDeclSyntax' to imported protocol 'DeclGroupSyntax'; this will not behave correctly if the owners of 'SwiftSyntax' introduce this conformance in the future
39 |
40 | // Workaround
41 | extension EnumDeclSyntax: DeclGroupSyntax {}
| |- warning: extension declares a conformance of imported type 'EnumDeclSyntax' to imported protocol 'DeclGroupSyntax'; this will not behave correctly if the owners of 'SwiftSyntax' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
42 |
43 | // MARK: - NestableDeclSyntax
[53/93] Compiling SwiftRewriter EqualSpacer.swift
[54/93] Compiling SwiftRewriter ExtraSpaceTrimmer.swift
[55/93] Compiling SwiftRewriter LeftBraceSpacer.swift
[56/93] Compiling SwiftRewriter LeftParenSpacer.swift
[57/93] Compiling SwiftRewriter TernaryExprSpacer.swift
[58/93] Compiling SwiftRewriter ExtraNewliner.swift
[59/93] Compiling SwiftRewriter MethodChainNewliner.swift
[60/93] Compiling SwiftRewriter ArrowSpacer.swift
[61/93] Compiling SwiftRewriter BinaryOperatorSpacer.swift
[62/93] Compiling SwiftRewriter ColonSpacer.swift
[63/93] Compiling SwiftRewriter Rewriter.swift
[64/93] Compiling SwiftRewriter Function.swift
[65/93] Compiling SwiftRewriter Lens.swift
[66/93] Compiling SwiftRewriter TokenHandler.swift
[67/93] Compiling SwiftRewriter SyntaxRewriterProtocol.swift
[68/93] Compiling SwiftRewriter BugFixer.swift
[69/93] Compiling SwiftRewriter HeaderCopyrightTrimmer.swift
[70/93] Compiling SwiftRewriter FirstTokenRewriter.swift
[71/93] Compiling SwiftRewriter Indenter.swift
[72/93] Compiling SwiftRewriter DebugString.swift
/host/spi-builder-workspace/Sources/SwiftRewriter/Extensions/AbsolutePosition.swift:3:1: warning: extension declares a conformance of imported type 'AbsolutePosition' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'SwiftSyntax' introduce this conformance in the future
1 | import SwiftSyntax
2 |
3 | extension AbsolutePosition: Equatable
| |- warning: extension declares a conformance of imported type 'AbsolutePosition' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'SwiftSyntax' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
4 | {
5 | public static func == (l: AbsolutePosition, r: AbsolutePosition) -> Bool
[73/93] Compiling SwiftRewriter DebugTree.swift
/host/spi-builder-workspace/Sources/SwiftRewriter/Extensions/AbsolutePosition.swift:3:1: warning: extension declares a conformance of imported type 'AbsolutePosition' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'SwiftSyntax' introduce this conformance in the future
1 | import SwiftSyntax
2 |
3 | extension AbsolutePosition: Equatable
| |- warning: extension declares a conformance of imported type 'AbsolutePosition' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'SwiftSyntax' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
4 | {
5 | public static func == (l: AbsolutePosition, r: AbsolutePosition) -> Bool
[74/93] Compiling SwiftRewriter AbsolutePosition.swift
/host/spi-builder-workspace/Sources/SwiftRewriter/Extensions/AbsolutePosition.swift:3:1: warning: extension declares a conformance of imported type 'AbsolutePosition' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'SwiftSyntax' introduce this conformance in the future
1 | import SwiftSyntax
2 |
3 | extension AbsolutePosition: Equatable
| |- warning: extension declares a conformance of imported type 'AbsolutePosition' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'SwiftSyntax' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
4 | {
5 | public static func == (l: AbsolutePosition, r: AbsolutePosition) -> Bool
[75/93] Compiling SwiftRewriter Basic.swift
/host/spi-builder-workspace/Sources/SwiftRewriter/Extensions/AbsolutePosition.swift:3:1: warning: extension declares a conformance of imported type 'AbsolutePosition' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'SwiftSyntax' introduce this conformance in the future
1 | import SwiftSyntax
2 |
3 | extension AbsolutePosition: Equatable
| |- warning: extension declares a conformance of imported type 'AbsolutePosition' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'SwiftSyntax' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
4 | {
5 | public static func == (l: AbsolutePosition, r: AbsolutePosition) -> Bool
[76/93] Compiling SwiftRewriter Syntax.swift
/host/spi-builder-workspace/Sources/SwiftRewriter/Extensions/AbsolutePosition.swift:3:1: warning: extension declares a conformance of imported type 'AbsolutePosition' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'SwiftSyntax' introduce this conformance in the future
1 | import SwiftSyntax
2 |
3 | extension AbsolutePosition: Equatable
| |- warning: extension declares a conformance of imported type 'AbsolutePosition' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'SwiftSyntax' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
4 | {
5 | public static func == (l: AbsolutePosition, r: AbsolutePosition) -> Bool
[77/93] Compiling SwiftRewriter BlockItemIndenter.swift
[78/93] Compiling SwiftRewriter FirstItemAwareIndenter.swift
[79/93] Compiling SwiftRewriter ExtensionIniter.swift
[80/93] Compiling SwiftRewriter ImportSorter.swift
[81/93] Compiling SwiftRewriter ElseNewliner.swift
[82/93] Compiling SwiftRewriter TokenSyntax.swift
/host/spi-builder-workspace/Sources/SwiftRewriter/Extensions/Trivia.swift:5:1: warning: extension declares a conformance of imported type 'Trivia' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'SwiftSyntax' introduce this conformance in the future
3 | // MARK: - Trivia
4 |
5 | extension Trivia: CustomStringConvertible
| |- warning: extension declares a conformance of imported type 'Trivia' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'SwiftSyntax' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
6 | {
7 | var pieces: [TriviaPiece]
/host/spi-builder-workspace/Sources/SwiftRewriter/Extensions/Trivia.swift:56:1: warning: extension declares a conformance of imported type 'TriviaPiece' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'SwiftSyntax' introduce this conformance in the future
54 | // MARK: - TriviaPiece
55 |
56 | extension TriviaPiece: CustomStringConvertible
| |- warning: extension declares a conformance of imported type 'TriviaPiece' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'SwiftSyntax' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
57 | {
58 | public var description: String
/host/spi-builder-workspace/Sources/SwiftRewriter/Protocols/Protocols.swift:41:1: warning: extension declares a conformance of imported type 'EnumDeclSyntax' to imported protocol 'DeclGroupSyntax'; this will not behave correctly if the owners of 'SwiftSyntax' introduce this conformance in the future
39 |
40 | // Workaround
41 | extension EnumDeclSyntax: DeclGroupSyntax {}
| |- warning: extension declares a conformance of imported type 'EnumDeclSyntax' to imported protocol 'DeclGroupSyntax'; this will not behave correctly if the owners of 'SwiftSyntax' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
42 |
43 | // MARK: - NestableDeclSyntax
[83/93] Compiling SwiftRewriter Trivia.swift
/host/spi-builder-workspace/Sources/SwiftRewriter/Extensions/Trivia.swift:5:1: warning: extension declares a conformance of imported type 'Trivia' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'SwiftSyntax' introduce this conformance in the future
3 | // MARK: - Trivia
4 |
5 | extension Trivia: CustomStringConvertible
| |- warning: extension declares a conformance of imported type 'Trivia' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'SwiftSyntax' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
6 | {
7 | var pieces: [TriviaPiece]
/host/spi-builder-workspace/Sources/SwiftRewriter/Extensions/Trivia.swift:56:1: warning: extension declares a conformance of imported type 'TriviaPiece' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'SwiftSyntax' introduce this conformance in the future
54 | // MARK: - TriviaPiece
55 |
56 | extension TriviaPiece: CustomStringConvertible
| |- warning: extension declares a conformance of imported type 'TriviaPiece' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'SwiftSyntax' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
57 | {
58 | public var description: String
/host/spi-builder-workspace/Sources/SwiftRewriter/Protocols/Protocols.swift:41:1: warning: extension declares a conformance of imported type 'EnumDeclSyntax' to imported protocol 'DeclGroupSyntax'; this will not behave correctly if the owners of 'SwiftSyntax' introduce this conformance in the future
39 |
40 | // Workaround
41 | extension EnumDeclSyntax: DeclGroupSyntax {}
| |- warning: extension declares a conformance of imported type 'EnumDeclSyntax' to imported protocol 'DeclGroupSyntax'; this will not behave correctly if the owners of 'SwiftSyntax' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
42 |
43 | // MARK: - NestableDeclSyntax
[84/93] Compiling SwiftRewriter Operators.swift
/host/spi-builder-workspace/Sources/SwiftRewriter/Extensions/Trivia.swift:5:1: warning: extension declares a conformance of imported type 'Trivia' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'SwiftSyntax' introduce this conformance in the future
3 | // MARK: - Trivia
4 |
5 | extension Trivia: CustomStringConvertible
| |- warning: extension declares a conformance of imported type 'Trivia' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'SwiftSyntax' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
6 | {
7 | var pieces: [TriviaPiece]
/host/spi-builder-workspace/Sources/SwiftRewriter/Extensions/Trivia.swift:56:1: warning: extension declares a conformance of imported type 'TriviaPiece' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'SwiftSyntax' introduce this conformance in the future
54 | // MARK: - TriviaPiece
55 |
56 | extension TriviaPiece: CustomStringConvertible
| |- warning: extension declares a conformance of imported type 'TriviaPiece' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'SwiftSyntax' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
57 | {
58 | public var description: String
/host/spi-builder-workspace/Sources/SwiftRewriter/Protocols/Protocols.swift:41:1: warning: extension declares a conformance of imported type 'EnumDeclSyntax' to imported protocol 'DeclGroupSyntax'; this will not behave correctly if the owners of 'SwiftSyntax' introduce this conformance in the future
39 |
40 | // Workaround
41 | extension EnumDeclSyntax: DeclGroupSyntax {}
| |- warning: extension declares a conformance of imported type 'EnumDeclSyntax' to imported protocol 'DeclGroupSyntax'; this will not behave correctly if the owners of 'SwiftSyntax' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
42 |
43 | // MARK: - NestableDeclSyntax
[85/93] Compiling SwiftRewriter HasRewriterExamples.swift
/host/spi-builder-workspace/Sources/SwiftRewriter/Extensions/Trivia.swift:5:1: warning: extension declares a conformance of imported type 'Trivia' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'SwiftSyntax' introduce this conformance in the future
3 | // MARK: - Trivia
4 |
5 | extension Trivia: CustomStringConvertible
| |- warning: extension declares a conformance of imported type 'Trivia' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'SwiftSyntax' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
6 | {
7 | var pieces: [TriviaPiece]
/host/spi-builder-workspace/Sources/SwiftRewriter/Extensions/Trivia.swift:56:1: warning: extension declares a conformance of imported type 'TriviaPiece' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'SwiftSyntax' introduce this conformance in the future
54 | // MARK: - TriviaPiece
55 |
56 | extension TriviaPiece: CustomStringConvertible
| |- warning: extension declares a conformance of imported type 'TriviaPiece' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'SwiftSyntax' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
57 | {
58 | public var description: String
/host/spi-builder-workspace/Sources/SwiftRewriter/Protocols/Protocols.swift:41:1: warning: extension declares a conformance of imported type 'EnumDeclSyntax' to imported protocol 'DeclGroupSyntax'; this will not behave correctly if the owners of 'SwiftSyntax' introduce this conformance in the future
39 |
40 | // Workaround
41 | extension EnumDeclSyntax: DeclGroupSyntax {}
| |- warning: extension declares a conformance of imported type 'EnumDeclSyntax' to imported protocol 'DeclGroupSyntax'; this will not behave correctly if the owners of 'SwiftSyntax' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
42 |
43 | // MARK: - NestableDeclSyntax
[86/93] Compiling SwiftRewriter Protocols.swift
/host/spi-builder-workspace/Sources/SwiftRewriter/Extensions/Trivia.swift:5:1: warning: extension declares a conformance of imported type 'Trivia' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'SwiftSyntax' introduce this conformance in the future
3 | // MARK: - Trivia
4 |
5 | extension Trivia: CustomStringConvertible
| |- warning: extension declares a conformance of imported type 'Trivia' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'SwiftSyntax' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
6 | {
7 | var pieces: [TriviaPiece]
/host/spi-builder-workspace/Sources/SwiftRewriter/Extensions/Trivia.swift:56:1: warning: extension declares a conformance of imported type 'TriviaPiece' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'SwiftSyntax' introduce this conformance in the future
54 | // MARK: - TriviaPiece
55 |
56 | extension TriviaPiece: CustomStringConvertible
| |- warning: extension declares a conformance of imported type 'TriviaPiece' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'SwiftSyntax' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
57 | {
58 | public var description: String
/host/spi-builder-workspace/Sources/SwiftRewriter/Protocols/Protocols.swift:41:1: warning: extension declares a conformance of imported type 'EnumDeclSyntax' to imported protocol 'DeclGroupSyntax'; this will not behave correctly if the owners of 'SwiftSyntax' introduce this conformance in the future
39 |
40 | // Workaround
41 | extension EnumDeclSyntax: DeclGroupSyntax {}
| |- warning: extension declares a conformance of imported type 'EnumDeclSyntax' to imported protocol 'DeclGroupSyntax'; this will not behave correctly if the owners of 'SwiftSyntax' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
42 |
43 | // MARK: - NestableDeclSyntax
[87/94] Wrapping AST for SwiftRewriter for debugging
[89/94] Emitting module Curry
[90/94] Compiling Curry Curry.swift
[91/95] Wrapping AST for Curry for debugging
[93/103] Compiling swift_rewriter PrintASTCommand.swift
/host/spi-builder-workspace/Sources/swift-rewriter/main.swift:2:8: error: no such module 'Result'
1 | import Foundation
2 | import Result
| `- error: no such module 'Result'
3 | import Commandant
4 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[94/103] Emitting module swift_rewriter
/host/spi-builder-workspace/Sources/swift-rewriter/main.swift:2:8: error: no such module 'Result'
1 | import Foundation
2 | import Result
| `- error: no such module 'Result'
3 | import Commandant
4 |
[95/103] Compiling swift_rewriter rewriter.swift
/host/spi-builder-workspace/Sources/swift-rewriter/main.swift:2:8: error: no such module 'Result'
1 | import Foundation
2 | import Result
| `- error: no such module 'Result'
3 | import Commandant
4 |
[96/103] Compiling swift_rewriter main.swift
/host/spi-builder-workspace/Sources/swift-rewriter/main.swift:2:8: error: no such module 'Result'
1 | import Foundation
2 | import Result
| `- error: no such module 'Result'
3 | import Commandant
4 |
[97/103] Compiling swift_rewriter CommandProtocol.swift
/host/spi-builder-workspace/Sources/swift-rewriter/main.swift:2:8: error: no such module 'Result'
1 | import Foundation
2 | import Result
| `- error: no such module 'Result'
3 | import Commandant
4 |
[98/103] Compiling swift_rewriter VersionCommand.swift
/host/spi-builder-workspace/Sources/swift-rewriter/main.swift:2:8: error: no such module 'Result'
1 | import Foundation
2 | import Result
| `- error: no such module 'Result'
3 | import Commandant
4 |
[99/103] Compiling swift_rewriter RunCommand.swift
/host/spi-builder-workspace/Sources/swift-rewriter/main.swift:2:8: error: no such module 'Result'
1 | import Foundation
2 | import Result
| `- error: no such module 'Result'
3 | import Commandant
4 |
[100/103] Compiling swift_rewriter CommonOptions.swift
/host/spi-builder-workspace/Sources/swift-rewriter/main.swift:2:8: error: no such module 'Result'
1 | import Foundation
2 | import Result
| `- error: no such module 'Result'
3 | import Commandant
4 |
BUILD FAILURE 6.1 linux