Build Information
Failed to build clutch, reference main (8a2991), with Swift 6.1 for Wasm on 29 Jan 2026 12:40:13 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/swift-nest/clutch.git
Reference: main
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/swift-nest/clutch
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 8a29918 README: remove unneeded remote link; status formatting/wording
Cloned https://github.com/swift-nest/clutch.git
Revision (git rev-parse @):
8a29918a3bef89f014df5e4190b8bcdbf3c2dd2c
SUCCESS checkout https://github.com/swift-nest/clutch.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/swift-nest/clutch.git
https://github.com/swift-nest/clutch.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "swift-atomics",
"requirement" : {
"range" : [
{
"lower_bound" : "1.2.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-atomics"
},
{
"identity" : "swift-system",
"requirement" : {
"range" : [
{
"lower_bound" : "1.4.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-system"
},
{
"identity" : "swift-argument-parser",
"requirement" : {
"range" : [
{
"lower_bound" : "1.5.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-argument-parser"
}
],
"manifest_display_name" : "clutch",
"name" : "clutch",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "13.0"
}
],
"products" : [
{
"name" : "clutch",
"targets" : [
"clutch"
],
"type" : {
"executable" : null
}
},
{
"name" : "clatch",
"targets" : [
"clatch"
],
"type" : {
"executable" : null
}
},
{
"name" : "ClutchAP",
"targets" : [
"ClutchAP"
],
"type" : {
"executable" : null
}
}
],
"swift_languages_versions" : [
"6"
],
"targets" : [
{
"c99name" : "clutchTests",
"module_type" : "SwiftTarget",
"name" : "clutchTests",
"path" : "Tests/clutchTests",
"product_dependencies" : [
"Atomics"
],
"sources" : [
"AskDataTests.swift",
"ClutchMainTest.swift",
"ClutchTests.swift",
"DriverTests.swift",
"Fixtures/KnownSystemCallFixtures.swift",
"Fixtures/KnownSystemCalls.swift",
"FoundationScriptTests.swift",
"KnownSystemCallFixturesTests.swift",
"Main/ClutchTestMain.swift",
"NestOpTests.swift",
"RecordSystemCallsTests.swift",
"Scenarios/ClutchCommandScenario.swift",
"Scenarios/ClutchErrCheck.swift",
"Support/ActorArray.swift",
"Support/AtomicIndex.swift",
"Support/SrcLoc.swift",
"Support/TestHelper.swift",
"SystemCallsRecorder/Call.swift",
"SystemCallsRecorder/CallRecordTypes.swift",
"SystemCallsRecorder/RecordSystemCalls.swift"
],
"target_dependencies" : [
"clutchLib"
],
"type" : "test"
},
{
"c99name" : "clutchLib",
"module_type" : "SwiftTarget",
"name" : "clutchLib",
"path" : "Sources/clutch",
"product_memberships" : [
"clutch",
"ClutchAP"
],
"sources" : [
"AskDataBuilder.swift",
"ClutchDriver.swift",
"ClutchDriverErrors.swift",
"DriverConfig/AskMode.swift",
"DriverConfig/DriverConfig.swift",
"DriverConfig/Identifier.swift",
"DriverConfig/ModuleName.swift",
"DriverConfig/ModuleNameHelp.swift",
"DriverConfig/NestPaths.swift",
"DriverConfig/NestPathsStatus.swift",
"DriverConfig/UserAskKind.swift",
"Files/FileItem.swift",
"Files/FileItemHelp.swift",
"PeerOp.swift",
"UI/Help.swift",
"UI/PeerNest.swift",
"system-impl/FoundationScript.swift",
"system-impl/FoundationScriptSystemCalls.swift",
"system/Err.swift",
"system/StdlibHelp.swift",
"system/SystemCalls.swift",
"system/SystemCallsHelp.swift"
],
"target_dependencies" : [
"MinSys"
],
"type" : "library"
},
{
"c99name" : "clutch",
"module_type" : "SwiftTarget",
"name" : "clutch",
"path" : "Sources/clutch-tool",
"product_memberships" : [
"clutch"
],
"sources" : [
"clutch.swift"
],
"target_dependencies" : [
"clutchLib"
],
"type" : "executable"
},
{
"c99name" : "clatch",
"module_type" : "SwiftTarget",
"name" : "clatch",
"path" : "Sources/clatch",
"product_memberships" : [
"clatch"
],
"sources" : [
"clatch.swift"
],
"target_dependencies" : [
"MinSys"
],
"type" : "executable"
},
{
"c99name" : "MinSys",
"module_type" : "SwiftTarget",
"name" : "MinSys",
"path" : "Sources/MinSys",
"product_dependencies" : [
"SystemPackage",
"SystemPackage"
],
"product_memberships" : [
"clutch",
"clatch",
"ClutchAP"
],
"sources" : [
"MinSys.swift"
],
"type" : "library"
},
{
"c99name" : "ClutchAP",
"module_type" : "SwiftTarget",
"name" : "ClutchAP",
"path" : "Sources/ClutchAP",
"product_dependencies" : [
"ArgumentParser"
],
"product_memberships" : [
"ClutchAP"
],
"sources" : [
"ClutchMain.swift"
],
"target_dependencies" : [
"clutchLib"
],
"type" : "executable"
}
],
"tools_version" : "6.1"
}
warning: 'spi-builder-workspace': ignoring duplicate product 'SystemPackage' from package 'swift-system'
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" 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 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:58b971189c4d3c564696bb40c86e07506670ed096ab7351a005c7c449525017a
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/apple/swift-system
Fetching https://github.com/apple/swift-atomics
Fetching https://github.com/apple/swift-argument-parser
[1/1820] Fetching swift-atomics
[693/18952] Fetching swift-atomics, swift-argument-parser
[5419/24494] Fetching swift-atomics, swift-argument-parser, swift-system
Fetched https://github.com/apple/swift-atomics from cache (0.72s)
Fetched https://github.com/apple/swift-system from cache (0.72s)
Fetched https://github.com/apple/swift-argument-parser from cache (0.72s)
Computing version for https://github.com/apple/swift-atomics
Computed https://github.com/apple/swift-atomics at 1.3.0 (1.44s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.7.0 (0.87s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.6.4 (0.72s)
Creating working copy for https://github.com/apple/swift-atomics
Working copy of https://github.com/apple/swift-atomics resolved at 1.3.0
Creating working copy for https://github.com/apple/swift-system
Working copy of https://github.com/apple/swift-system resolved at 1.6.4
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.7.0
warning: 'spi-builder-workspace': ignoring duplicate product 'SystemPackage' from package 'swift-system'
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
[2/23] Write sources
[9/23] Write swift-version-24593BA9C3E375BF.txt
[11/27] Emitting module ArgumentParserToolInfo
[12/27] Compiling ArgumentParserToolInfo ToolInfo.swift
[13/28] Wrapping AST for ArgumentParserToolInfo for debugging
error: emit-module command failed with exit code 1 (use -v to see invocation)
[15/74] Emitting module MinSys
/host/spi-builder-workspace/Sources/MinSys/MinSys.swift:12:8: error: Unable to find FilePath library (from swift-system, et al
10 | public import struct SystemPackage.FilePath
11 | #else
12 | #error("Unable to find FilePath library (from swift-system, et al")
| `- error: Unable to find FilePath library (from swift-system, et al
13 | #endif
14 |
/host/spi-builder-workspace/Sources/MinSys/MinSys.swift:25:10: warning: no stderr
23 | @preconcurrency import Musl
24 | #else
25 | #warning("no stderr")
| `- warning: no stderr
26 | #endif
27 |
[16/74] Compiling MinSys MinSys.swift
/host/spi-builder-workspace/Sources/MinSys/MinSys.swift:12:8: error: Unable to find FilePath library (from swift-system, et al
10 | public import struct SystemPackage.FilePath
11 | #else
12 | #error("Unable to find FilePath library (from swift-system, et al")
| `- error: Unable to find FilePath library (from swift-system, et al
13 | #endif
14 |
/host/spi-builder-workspace/Sources/MinSys/MinSys.swift:25:10: warning: no stderr
23 | @preconcurrency import Musl
24 | #else
25 | #warning("no stderr")
| `- warning: no stderr
26 | #endif
27 |
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" 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:58b971189c4d3c564696bb40c86e07506670ed096ab7351a005c7c449525017a
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
warning: 'spi-builder-workspace': ignoring duplicate product 'SystemPackage' from package 'swift-system'
[0/1] Planning build
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
[2/16] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/20] Emitting module MinSys
/host/spi-builder-workspace/Sources/MinSys/MinSys.swift:12:8: error: Unable to find FilePath library (from swift-system, et al
10 | public import struct SystemPackage.FilePath
11 | #else
12 | #error("Unable to find FilePath library (from swift-system, et al")
| `- error: Unable to find FilePath library (from swift-system, et al
13 | #endif
14 |
/host/spi-builder-workspace/Sources/MinSys/MinSys.swift:25:10: warning: no stderr
23 | @preconcurrency import Musl
24 | #else
25 | #warning("no stderr")
| `- warning: no stderr
26 | #endif
27 |
[5/20] Compiling MinSys MinSys.swift
/host/spi-builder-workspace/Sources/MinSys/MinSys.swift:12:8: error: Unable to find FilePath library (from swift-system, et al
10 | public import struct SystemPackage.FilePath
11 | #else
12 | #error("Unable to find FilePath library (from swift-system, et al")
| `- error: Unable to find FilePath library (from swift-system, et al
13 | #endif
14 |
/host/spi-builder-workspace/Sources/MinSys/MinSys.swift:25:10: warning: no stderr
23 | @preconcurrency import Musl
24 | #else
25 | #warning("no stderr")
| `- warning: no stderr
26 | #endif
27 |
BUILD FAILURE 6.1 wasm