Build Information
Failed to build SwiftRewriter, reference master (6f23bc
), with Swift 6.1 for Wasm on 27 May 2025 13:50:20 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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: master
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
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 6f23bc0 Merge pull request #23 from inamiy/FunOptics
Cloned https://github.com/inamiy/swiftrewriter.git
Revision (git rev-parse @):
6f23bc04b381d12e9acb2670d36e8acc5bbb3926
SUCCESS checkout https://github.com/inamiy/swiftrewriter.git at master
========================================
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.50100.0"
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-syntax.git"
},
{
"identity" : "funoptics",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/inamiy/FunOptics"
},
{
"identity" : "commandant",
"requirement" : {
"range" : [
{
"lower_bound" : "0.17.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",
"Utilities/GCD.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",
"FunOptics"
],
"product_memberships" : [
"SwiftRewriter",
"swift-rewriter"
],
"sources" : [
"Debug/DebugString.swift",
"Debug/DebugTree.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/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-3":/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/thoughtbot/Curry.git
Fetching https://github.com/inamiy/FunOptics
Fetching https://github.com/pointfreeco/swift-snapshot-testing
Fetching https://github.com/JohnSundell/Files.git
Fetching https://github.com/Carthage/Commandant.git
Fetching https://github.com/apple/swift-syntax.git
[1/2329] Fetching commandant
[1841/2929] Fetching commandant, curry
[2930/3002] Fetching commandant, curry, funoptics
[3003/4238] Fetching commandant, curry, funoptics, files
[4239/17420] Fetching commandant, curry, funoptics, files, swift-snapshot-testing
[5690/87864] Fetching commandant, curry, funoptics, files, swift-snapshot-testing, swift-syntax
Fetched https://github.com/inamiy/FunOptics from cache (6.61s)
Fetched https://github.com/thoughtbot/Curry.git from cache (6.61s)
Fetched https://github.com/Carthage/Commandant.git from cache (6.61s)
Fetched https://github.com/JohnSundell/Files.git from cache (6.61s)
Fetched https://github.com/apple/swift-syntax.git from cache (6.69s)
Fetched https://github.com/pointfreeco/swift-snapshot-testing from cache (6.71s)
Computing version for https://github.com/thoughtbot/Curry.git
Computed https://github.com/thoughtbot/Curry.git at 4.0.2 (7.41s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 0.50100.0 (0.75s)
Computing version for https://github.com/JohnSundell/Files.git
Computed https://github.com/JohnSundell/Files.git at 2.3.0 (3.03s)
Computing version for https://github.com/Carthage/Commandant.git
Computed https://github.com/Carthage/Commandant.git at 0.18.0 (3.74s)
Computing version for https://github.com/inamiy/FunOptics
Computed https://github.com/inamiy/FunOptics at 1.0.4 (1.19s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing
Computed https://github.com/pointfreeco/swift-snapshot-testing at 1.12.0 (1.11s)
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/inamiy/FunOptics
Working copy of https://github.com/inamiy/FunOptics resolved at 1.0.4
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.50100.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
Creating working copy for https://github.com/Carthage/Commandant.git
Working copy of https://github.com/Carthage/Commandant.git resolved at 0.18.0
Building for debugging...
[0/18] Write sources
[7/18] Compiling atomic-counter.c
[7/18] Write swift-version-24593BA9C3E375BF.txt
[10/63] Compiling Commandant Result+Additions.swift
[11/64] Compiling FunOptics Prism.swift
[12/64] Compiling Commandant Argument.swift
/host/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftSyntax/SyntaxParser.swift:17:8: error: no such module '_InternalSwiftSyntaxParser'
15 | //===----------------------------------------------------------------------===//
16 |
17 | import _InternalSwiftSyntaxParser
| `- error: no such module '_InternalSwiftSyntaxParser'
18 | import Foundation
19 |
[13/64] Compiling Commandant ArgumentParser.swift
/host/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftSyntax/SyntaxParser.swift:17:8: error: no such module '_InternalSwiftSyntaxParser'
15 | //===----------------------------------------------------------------------===//
16 |
17 | import _InternalSwiftSyntaxParser
| `- error: no such module '_InternalSwiftSyntaxParser'
18 | import Foundation
19 |
[14/64] Compiling Commandant ArgumentProtocol.swift
/host/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftSyntax/SyntaxParser.swift:17:8: error: no such module '_InternalSwiftSyntaxParser'
15 | //===----------------------------------------------------------------------===//
16 |
17 | import _InternalSwiftSyntaxParser
| `- error: no such module '_InternalSwiftSyntaxParser'
18 | import Foundation
19 |
[15/64] Compiling Commandant Command.swift
/host/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftSyntax/SyntaxParser.swift:17:8: error: no such module '_InternalSwiftSyntaxParser'
15 | //===----------------------------------------------------------------------===//
16 |
17 | import _InternalSwiftSyntaxParser
| `- error: no such module '_InternalSwiftSyntaxParser'
18 | import Foundation
19 |
[16/64] Compiling FunOptics AffineTraversal.swift
[17/64] Emitting module FunOptics
[18/64] Compiling FunOptics Lens.swift
[19/64] Compiling FunOptics Operators.swift
[20/68] Compiling Commandant OrderedSet.swift
[22/68] Compiling Commandant Switch.swift
[22/68] Wrapping AST for FunOptics for debugging
[24/68] Compiling SwiftSyntax RawSyntax.swift
/host/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftSyntax/SyntaxParser.swift:17:8: error: no such module '_InternalSwiftSyntaxParser'
15 | //===----------------------------------------------------------------------===//
16 |
17 | import _InternalSwiftSyntaxParser
| `- error: no such module '_InternalSwiftSyntaxParser'
18 | import Foundation
19 |
[25/68] Compiling SwiftSyntax SourceLength.swift
/host/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftSyntax/SyntaxParser.swift:17:8: error: no such module '_InternalSwiftSyntaxParser'
15 | //===----------------------------------------------------------------------===//
16 |
17 | import _InternalSwiftSyntaxParser
| `- error: no such module '_InternalSwiftSyntaxParser'
18 | import Foundation
19 |
[26/68] Compiling SwiftSyntax SourceLocation.swift
/host/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftSyntax/SyntaxParser.swift:17:8: error: no such module '_InternalSwiftSyntaxParser'
15 | //===----------------------------------------------------------------------===//
16 |
17 | import _InternalSwiftSyntaxParser
| `- error: no such module '_InternalSwiftSyntaxParser'
18 | import Foundation
19 |
[27/68] Compiling SwiftSyntax SourcePresence.swift
/host/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftSyntax/SyntaxParser.swift:17:8: error: no such module '_InternalSwiftSyntaxParser'
15 | //===----------------------------------------------------------------------===//
16 |
17 | import _InternalSwiftSyntaxParser
| `- error: no such module '_InternalSwiftSyntaxParser'
18 | import Foundation
19 |
[28/68] Compiling SwiftSyntax Syntax.swift
/host/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftSyntax/SyntaxParser.swift:17:8: error: no such module '_InternalSwiftSyntaxParser'
15 | //===----------------------------------------------------------------------===//
16 |
17 | import _InternalSwiftSyntaxParser
| `- error: no such module '_InternalSwiftSyntaxParser'
18 | import Foundation
19 |
[29/68] Compiling SwiftSyntax SyntaxChildren.swift
/host/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftSyntax/SyntaxParser.swift:17:8: error: no such module '_InternalSwiftSyntaxParser'
15 | //===----------------------------------------------------------------------===//
16 |
17 | import _InternalSwiftSyntaxParser
| `- error: no such module '_InternalSwiftSyntaxParser'
18 | import Foundation
19 |
[30/68] Compiling SwiftSyntax SyntaxClassifier.swift
/host/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftSyntax/SyntaxParser.swift:17:8: error: no such module '_InternalSwiftSyntaxParser'
15 | //===----------------------------------------------------------------------===//
16 |
17 | import _InternalSwiftSyntaxParser
| `- error: no such module '_InternalSwiftSyntaxParser'
18 | import Foundation
19 |
[31/68] Compiling SwiftSyntax SyntaxData.swift
/host/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftSyntax/SyntaxParser.swift:17:8: error: no such module '_InternalSwiftSyntaxParser'
15 | //===----------------------------------------------------------------------===//
16 |
17 | import _InternalSwiftSyntaxParser
| `- error: no such module '_InternalSwiftSyntaxParser'
18 | import Foundation
19 |
[32/68] Compiling SwiftSyntax DiagnosticEngine.swift
/host/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftSyntax/SyntaxParser.swift:17:8: error: no such module '_InternalSwiftSyntaxParser'
15 | //===----------------------------------------------------------------------===//
16 |
17 | import _InternalSwiftSyntaxParser
| `- error: no such module '_InternalSwiftSyntaxParser'
18 | import Foundation
19 |
[33/68] Compiling SwiftSyntax IncrementalParseTransition.swift
/host/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftSyntax/SyntaxParser.swift:17:8: error: no such module '_InternalSwiftSyntaxParser'
15 | //===----------------------------------------------------------------------===//
16 |
17 | import _InternalSwiftSyntaxParser
| `- error: no such module '_InternalSwiftSyntaxParser'
18 | import Foundation
19 |
[34/68] Compiling SwiftSyntax JSONDiagnosticConsumer.swift
/host/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftSyntax/SyntaxParser.swift:17:8: error: no such module '_InternalSwiftSyntaxParser'
15 | //===----------------------------------------------------------------------===//
16 |
17 | import _InternalSwiftSyntaxParser
| `- error: no such module '_InternalSwiftSyntaxParser'
18 | import Foundation
19 |
[35/68] Compiling SwiftSyntax PrintingDiagnosticConsumer.swift
/host/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftSyntax/SyntaxParser.swift:17:8: error: no such module '_InternalSwiftSyntaxParser'
15 | //===----------------------------------------------------------------------===//
16 |
17 | import _InternalSwiftSyntaxParser
| `- error: no such module '_InternalSwiftSyntaxParser'
18 | import Foundation
19 |
[36/68] Compiling Commandant Errors.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 |
/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 |
[39/68] Emitting module Commandant
[42/68] Compiling Commandant HelpCommand.swift
[43/68] 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 |
[44/68] Emitting module Curry
[45/68] Emitting module Files
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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/10] Write swift-version-24593BA9C3E375BF.txt
[2/55] Compiling FunOptics Lens.swift
[3/55] Compiling FunOptics Operators.swift
[4/55] Compiling FunOptics Prism.swift
[5/55] Compiling Commandant Result+Additions.swift
[6/56] Compiling FunOptics AffineTraversal.swift
[7/56] Emitting module FunOptics
[8/56] Emitting module Files
[10/57] Compiling Commandant OrderedSet.swift
[11/57] Compiling Commandant Option.swift
[12/56] Compiling Commandant Switch.swift
[13/56] Compiling Commandant HelpCommand.swift
[14/56] Emitting module Commandant
[15/56] 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 |
[16/56] 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 |
[17/56] Compiling Commandant Argument.swift
[18/56] Compiling Commandant ArgumentParser.swift
[19/56] Compiling Commandant Errors.swift
[20/56] Emitting module Curry
BUILD FAILURE 6.1 wasm