Build Information
Failed to build SwiftRewriter, reference 0.2.0 (5a14df
), with Swift 6.1 for Wasm on 27 May 2025 13:50:39 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.63.1
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: wasm
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-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -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
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:059e0fdbe549369b902c0d423739510ddee50a4a70258d1404125eb9394ef31c
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/JohnSundell/Files.git
Fetching https://github.com/pointfreeco/swift-snapshot-testing
Fetching https://github.com/thoughtbot/Curry.git
Fetching https://github.com/apple/swift-syntax.git
Fetching https://github.com/Carthage/Commandant.git
[1/1236] Fetching files
[236/3565] Fetching files, commandant
[2994/4165] Fetching files, commandant, curry
Fetched https://github.com/JohnSundell/Files.git from cache (0.44s)
[1/13182] Fetching swift-snapshot-testing
[3033/83626] Fetching swift-snapshot-testing, swift-syntax
Fetched https://github.com/pointfreeco/swift-snapshot-testing from cache (2.73s)
[68331/70444] Fetching swift-syntax
Fetched https://github.com/thoughtbot/Curry.git from cache (7.77s)
Fetched https://github.com/Carthage/Commandant.git from cache (7.77s)
Fetched https://github.com/apple/swift-syntax.git from cache (7.85s)
Computing version for https://github.com/thoughtbot/Curry.git
Computed https://github.com/thoughtbot/Curry.git at 4.0.2 (8.73s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 0.50000.0 (0.84s)
Computing version for https://github.com/JohnSundell/Files.git
Computed https://github.com/JohnSundell/Files.git at 2.3.0 (3.74s)
Computing version for https://github.com/Carthage/Commandant.git
Computed https://github.com/Carthage/Commandant.git at 0.18.0 (4.13s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing
Computed https://github.com/pointfreeco/swift-snapshot-testing at 1.12.0 (0.98s)
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/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/apple/swift-syntax.git
Working copy of https://github.com/apple/swift-syntax.git resolved at 0.50000.0
Creating working copy for https://github.com/JohnSundell/Files.git
Working copy of https://github.com/JohnSundell/Files.git resolved at 2.3.0
Building for debugging...
[0/15] Write sources
[6/15] Write swift-version-24593BA9C3E375BF.txt
[8/53] Emitting module Commandant
[9/54] Compiling Commandant OrderedSet.swift
[10/54] Compiling Commandant Result+Additions.swift
[11/54] Compiling Commandant Switch.swift
[12/54] Emitting module SwiftSyntax
[13/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 |
[14/57] Compiling Files Files.swift
[15/57] Emitting module Files
[16/58] Compiling Commandant HelpCommand.swift
[17/58] Compiling Commandant Argument.swift
[18/58] Compiling Commandant ArgumentParser.swift
[19/58] Compiling Commandant ArgumentProtocol.swift
/host/spi-builder-workspace/.build/checkouts/Commandant/Sources/Commandant/Command.swift:206:15: error: cannot find 'Process' in scope
204 |
205 | func launchTask(_ path: String, arguments: [String]) -> Int32 {
206 | let task = Process()
| `- error: cannot find 'Process' in scope
207 | task.arguments = arguments
208 |
[20/58] Compiling Commandant Command.swift
/host/spi-builder-workspace/.build/checkouts/Commandant/Sources/Commandant/Command.swift:206:15: error: cannot find 'Process' in scope
204 |
205 | func launchTask(_ path: String, arguments: [String]) -> Int32 {
206 | let task = Process()
| `- error: cannot find 'Process' in scope
207 | task.arguments = arguments
208 |
[22/58] Compiling Commandant Errors.swift
[22/58] Wrapping AST for Files for debugging
[23/58] Emitting module Curry
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:059e0fdbe549369b902c0d423739510ddee50a4a70258d1404125eb9394ef31c
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-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] Emitting module Commandant
[5/48] Compiling Commandant Switch.swift
[6/48] Compiling Commandant HelpCommand.swift
[7/48] Compiling Commandant Option.swift
[8/48] Compiling Commandant Errors.swift
[9/48] Compiling SwiftSyntax WeakLookupTable.swift
/host/spi-builder-workspace/.build/checkouts/Commandant/Sources/Commandant/Command.swift:206:15: error: cannot find 'Process' in scope
204 |
205 | func launchTask(_ path: String, arguments: [String]) -> Int32 {
206 | let task = Process()
| `- error: cannot find 'Process' in scope
207 | task.arguments = arguments
208 |
[10/48] Compiling SwiftSyntax DiagnosticEngine.swift
/host/spi-builder-workspace/.build/checkouts/Commandant/Sources/Commandant/Command.swift:206:15: error: cannot find 'Process' in scope
204 |
205 | func launchTask(_ path: String, arguments: [String]) -> Int32 {
206 | let task = Process()
| `- error: cannot find 'Process' in scope
207 | task.arguments = arguments
208 |
[11/48] Compiling SwiftSyntax SyntaxChildren.swift
[12/48] Compiling SwiftSyntax SyntaxData.swift
[13/48] Emitting module Files
[14/48] Emitting module Curry
BUILD FAILURE 6.1 wasm