Build Information
Failed to build swim, reference 0.4.0 (a2860d
), with Swift 6.1 for Wasm on 27 May 2025 15:09:22 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/mitsuse/swim.git
Reference: 0.4.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/mitsuse/swim
* tag 0.4.0 -> FETCH_HEAD
HEAD is now at a2860de 0.4.0
Cloned https://github.com/mitsuse/swim.git
Revision (git rev-parse @):
a2860dee5e1ed63e33bc9356c9293ed721268e3e
SUCCESS checkout https://github.com/mitsuse/swim.git at 0.4.0
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/mitsuse/swim.git
https://github.com/mitsuse/swim.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "commandant",
"requirement" : {
"range" : [
{
"lower_bound" : "0.17.0",
"upper_bound" : "0.18.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/Carthage/Commandant.git"
}
],
"manifest_display_name" : "swim",
"name" : "swim",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.14"
}
],
"products" : [
{
"name" : "swim",
"targets" : [
"swim"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "swim",
"module_type" : "SwiftTarget",
"name" : "swim",
"path" : "Sources/swim",
"product_dependencies" : [
"Commandant"
],
"product_memberships" : [
"swim"
],
"sources" : [
"Command.swift",
"InputSource.swift",
"Object.swift",
"RawInputSource.swift",
"main.swift"
],
"type" : "executable"
}
],
"tools_version" : "5.0"
}
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:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/Carthage/Commandant.git
[1/2329] Fetching commandant
Fetched https://github.com/Carthage/Commandant.git from cache (0.39s)
Computing version for https://github.com/Carthage/Commandant.git
Computed https://github.com/Carthage/Commandant.git at 0.17.0 (1.25s)
Fetching https://github.com/Quick/Nimble.git
Fetching https://github.com/Quick/Quick.git
[1/14755] Fetching quick
[444/34339] Fetching quick, nimble
Fetched https://github.com/Quick/Quick.git from cache (1.93s)
Fetched https://github.com/Quick/Nimble.git from cache (1.96s)
Computing version for https://github.com/Quick/Quick.git
Computed https://github.com/Quick/Quick.git at 2.2.1 (5.89s)
Computing version for https://github.com/Quick/Nimble.git
Computed https://github.com/Quick/Nimble.git at 8.1.2 (0.68s)
Creating working copy for https://github.com/Quick/Nimble.git
Working copy of https://github.com/Quick/Nimble.git resolved at 8.1.2
Creating working copy for https://github.com/Carthage/Commandant.git
Working copy of https://github.com/Carthage/Commandant.git resolved at 0.17.0
Creating working copy for https://github.com/Quick/Quick.git
Working copy of https://github.com/Quick/Quick.git resolved at 2.2.1
Building for debugging...
[0/7] Write sources
[2/7] Write swift-version-24593BA9C3E375BF.txt
[4/17] Compiling Commandant Result+Additions.swift
[5/18] Compiling Commandant OrderedSet.swift
[6/18] Compiling Commandant Switch.swift
[7/18] 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 |
[8/18] Compiling Commandant Errors.swift
[9/18] Compiling Commandant Argument.swift
[10/18] Compiling Commandant ArgumentParser.swift
[11/18] 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 |
[12/18] 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 |
[13/18] Compiling Commandant HelpCommand.swift
[14/18] Emitting module Commandant
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:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
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/5] Write swift-version-24593BA9C3E375BF.txt
[2/15] Compiling Commandant Result+Additions.swift
[3/16] Compiling Commandant OrderedSet.swift
[4/16] Compiling Commandant Errors.swift
[5/16] 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 |
[6/16] 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 |
[7/16] Compiling Commandant HelpCommand.swift
[8/16] Compiling Commandant Option.swift
[9/16] Compiling Commandant Switch.swift
[10/16] Emitting module Commandant
[11/16] Compiling Commandant Argument.swift
[12/16] Compiling Commandant ArgumentParser.swift
BUILD FAILURE 6.1 wasm