Build Information
Failed to build xcframework, reference master (dc509d
), with Swift 6.1 for Wasm on 27 May 2025 20:52:25 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/jeffctown/xcframework.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/jeffctown/xcframework
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at dc509d4 Merge pull request #2 from antonino-u/assemble-command
Cloned https://github.com/jeffctown/xcframework.git
Revision (git rev-parse @):
dc509d42747990860a0535511f404970d29e79d2
SUCCESS checkout https://github.com/jeffctown/xcframework.git at master
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/jeffctown/xcframework.git
https://github.com/jeffctown/xcframework.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "shell",
"requirement" : {
"range" : [
{
"lower_bound" : "0.1.4",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/AlwaysRightInstitute/Shell"
},
{
"identity" : "commandant",
"requirement" : {
"range" : [
{
"lower_bound" : "0.17.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/Carthage/Commandant"
}
],
"manifest_display_name" : "xcframework",
"name" : "xcframework",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "XCFrameworkKit",
"targets" : [
"XCFrameworkKit"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "xcframework",
"targets" : [
"xcframework"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "xcframework",
"module_type" : "SwiftTarget",
"name" : "xcframework",
"path" : "Sources/xcframework",
"product_dependencies" : [
"Commandant"
],
"product_memberships" : [
"xcframework"
],
"sources" : [
"Commands/AssembleCommand.swift",
"Commands/BuildCommand.swift",
"Commands/VersionCommand.swift",
"main.swift"
],
"target_dependencies" : [
"XCFrameworkKit"
],
"type" : "executable"
},
{
"c99name" : "XCFrameworkKitTests",
"module_type" : "SwiftTarget",
"name" : "XCFrameworkKitTests",
"path" : "Tests/XCFrameworkKitTests",
"sources" : [
"test.swift"
],
"target_dependencies" : [
"XCFrameworkKit"
],
"type" : "test"
},
{
"c99name" : "XCFrameworkKit",
"module_type" : "SwiftTarget",
"name" : "XCFrameworkKit",
"path" : "Sources/XCFrameworkKit",
"product_dependencies" : [
"Shell"
],
"product_memberships" : [
"XCFrameworkKit",
"xcframework"
],
"sources" : [
"Version.swift",
"XCFrameworkAssembler.swift",
"XCFrameworkBuilder.swift"
],
"type" : "library"
}
],
"tools_version" : "5.1"
}
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
Fetching https://github.com/AlwaysRightInstitute/Shell
[1/2329] Fetching commandant
[2330/2410] Fetching commandant, shell
Fetched https://github.com/AlwaysRightInstitute/Shell from cache (0.25s)
Fetched https://github.com/Carthage/Commandant from cache (0.26s)
Computing version for https://github.com/AlwaysRightInstitute/Shell
Computed https://github.com/AlwaysRightInstitute/Shell at 0.1.4 (1.13s)
Computing version for https://github.com/Carthage/Commandant
Computed https://github.com/Carthage/Commandant at 0.18.0 (1.00s)
Creating working copy for https://github.com/Carthage/Commandant
Working copy of https://github.com/Carthage/Commandant resolved at 0.18.0
Creating working copy for https://github.com/AlwaysRightInstitute/Shell
Working copy of https://github.com/AlwaysRightInstitute/Shell resolved at 0.1.4
Building for debugging...
[0/11] Write sources
[4/11] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/25] Emitting module Shell
/host/spi-builder-workspace/.build/checkouts/Shell/Sources/Shell/ProcessHelper.swift:6:11: error: cannot find type 'Process' in scope
4 | import Foundation
5 |
6 | extension Process {
| `- error: cannot find type 'Process' in scope
7 |
8 | public struct FancyResult {
/host/spi-builder-workspace/.build/checkouts/Shell/Sources/Shell/ProcessHelper.swift:77:11: error: cannot find type 'Process' in scope
75 | }
76 |
77 | extension Process.FancyResult : CustomStringConvertible {
| `- error: cannot find type 'Process' in scope
78 |
79 | public var description : String {
/host/spi-builder-workspace/.build/checkouts/Shell/Sources/Shell/Shell.swift:33:13: error: cannot find type 'Process' in scope
31 | @discardableResult
32 | public func dynamicallyCall(withArguments arguments: [ String ])
33 | -> Process.FancyResult
| `- error: cannot find type 'Process' in scope
34 | {
35 | func makeError(code: Int, info: String) -> Process.FancyResult {
[7/25] Compiling Commandant Result+Additions.swift
[8/26] Compiling Commandant OrderedSet.swift
[9/26] Compiling Commandant Switch.swift
[10/26] 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 |
[11/26] 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 |
[12/26] 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 |
[13/26] Compiling Commandant HelpCommand.swift
[14/26] Compiling Commandant Errors.swift
[15/26] Emitting module Commandant
[16/26] Compiling Commandant Argument.swift
[17/26] Compiling Commandant ArgumentParser.swift
[18/26] Compiling Shell EnvironmentTrampoline.swift
[19/26] Compiling Shell ProcessHelper.swift
/host/spi-builder-workspace/.build/checkouts/Shell/Sources/Shell/ProcessHelper.swift:6:11: error: cannot find type 'Process' in scope
4 | import Foundation
5 |
6 | extension Process {
| `- error: cannot find type 'Process' in scope
7 |
8 | public struct FancyResult {
/host/spi-builder-workspace/.build/checkouts/Shell/Sources/Shell/ProcessHelper.swift:77:11: error: cannot find type 'Process' in scope
75 | }
76 |
77 | extension Process.FancyResult : CustomStringConvertible {
| `- error: cannot find type 'Process' in scope
78 |
79 | public var description : String {
/host/spi-builder-workspace/.build/checkouts/Shell/Sources/Shell/ProcessHelper.swift:32:20: error: cannot find type 'FancyResult' in scope
30 | static func launch(at launchPath: String, with arguments: [ String ],
31 | using shell: String? = "/bin/bash")
32 | -> FancyResult
| `- error: cannot find type 'FancyResult' in scope
33 | {
34 | let process = Process()
[20/26] Compiling Shell Shell.swift
/host/spi-builder-workspace/.build/checkouts/Shell/Sources/Shell/Shell.swift:33:13: error: cannot find type 'Process' in scope
31 | @discardableResult
32 | public func dynamicallyCall(withArguments arguments: [ String ])
33 | -> Process.FancyResult
| `- error: cannot find type 'Process' in scope
34 | {
35 | func makeError(code: Int, info: String) -> Process.FancyResult {
/host/spi-builder-workspace/.build/checkouts/Shell/Sources/Shell/Shell.swift:35:52: error: cannot find type 'Process' in scope
33 | -> Process.FancyResult
34 | {
35 | func makeError(code: Int, info: String) -> Process.FancyResult {
| `- error: cannot find type 'Process' in scope
36 | let error = "\(url.path): \(info)".data(using: .utf8) ?? Data()
37 | return Process.FancyResult(status: code, outputData: Data(),
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/7] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/21] Emitting module Shell
/host/spi-builder-workspace/.build/checkouts/Shell/Sources/Shell/ProcessHelper.swift:6:11: error: cannot find type 'Process' in scope
4 | import Foundation
5 |
6 | extension Process {
| `- error: cannot find type 'Process' in scope
7 |
8 | public struct FancyResult {
/host/spi-builder-workspace/.build/checkouts/Shell/Sources/Shell/ProcessHelper.swift:77:11: error: cannot find type 'Process' in scope
75 | }
76 |
77 | extension Process.FancyResult : CustomStringConvertible {
| `- error: cannot find type 'Process' in scope
78 |
79 | public var description : String {
/host/spi-builder-workspace/.build/checkouts/Shell/Sources/Shell/Shell.swift:33:13: error: cannot find type 'Process' in scope
31 | @discardableResult
32 | public func dynamicallyCall(withArguments arguments: [ String ])
33 | -> Process.FancyResult
| `- error: cannot find type 'Process' in scope
34 | {
35 | func makeError(code: Int, info: String) -> Process.FancyResult {
[3/21] Compiling Shell ProcessHelper.swift
/host/spi-builder-workspace/.build/checkouts/Shell/Sources/Shell/ProcessHelper.swift:6:11: error: cannot find type 'Process' in scope
4 | import Foundation
5 |
6 | extension Process {
| `- error: cannot find type 'Process' in scope
7 |
8 | public struct FancyResult {
/host/spi-builder-workspace/.build/checkouts/Shell/Sources/Shell/ProcessHelper.swift:77:11: error: cannot find type 'Process' in scope
75 | }
76 |
77 | extension Process.FancyResult : CustomStringConvertible {
| `- error: cannot find type 'Process' in scope
78 |
79 | public var description : String {
/host/spi-builder-workspace/.build/checkouts/Shell/Sources/Shell/ProcessHelper.swift:32:20: error: cannot find type 'FancyResult' in scope
30 | static func launch(at launchPath: String, with arguments: [ String ],
31 | using shell: String? = "/bin/bash")
32 | -> FancyResult
| `- error: cannot find type 'FancyResult' in scope
33 | {
34 | let process = Process()
[4/21] Compiling Shell EnvironmentTrampoline.swift
[5/21] Compiling Shell Shell.swift
/host/spi-builder-workspace/.build/checkouts/Shell/Sources/Shell/Shell.swift:33:13: error: cannot find type 'Process' in scope
31 | @discardableResult
32 | public func dynamicallyCall(withArguments arguments: [ String ])
33 | -> Process.FancyResult
| `- error: cannot find type 'Process' in scope
34 | {
35 | func makeError(code: Int, info: String) -> Process.FancyResult {
/host/spi-builder-workspace/.build/checkouts/Shell/Sources/Shell/Shell.swift:35:52: error: cannot find type 'Process' in scope
33 | -> Process.FancyResult
34 | {
35 | func makeError(code: Int, info: String) -> Process.FancyResult {
| `- error: cannot find type 'Process' in scope
36 | let error = "\(url.path): \(info)".data(using: .utf8) ?? Data()
37 | return Process.FancyResult(status: code, outputData: Data(),
BUILD FAILURE 6.1 wasm