Build Information
Failed to build Sake, reference main (80a3e9), with Swift 6.1 for Wasm on 5 Apr 2026 08:24:41 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.69.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/kattouf/Sake.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/kattouf/Sake
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 80a3e98 project: add agent workflow setup with organic knowledge growth
Cloned https://github.com/kattouf/Sake.git
Revision (git rev-parse @):
80a3e98f649f33fee874c690012668696007a99f
SUCCESS checkout https://github.com/kattouf/Sake.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/kattouf/Sake.git
https://github.com/kattouf/Sake.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "swift-argument-parser",
"requirement" : {
"range" : [
{
"lower_bound" : "1.2.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-argument-parser.git"
},
{
"identity" : "swift-subprocess",
"requirement" : {
"range" : [
{
"lower_bound" : "0.2.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/swiftlang/swift-subprocess.git"
},
{
"identity" : "swift-syntax",
"requirement" : {
"range" : [
{
"lower_bound" : "602.0.0",
"upper_bound" : "603.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/swiftlang/swift-syntax.git"
},
{
"identity" : "yams",
"requirement" : {
"range" : [
{
"lower_bound" : "6.0.0",
"upper_bound" : "7.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/jpsim/Yams.git"
}
],
"manifest_display_name" : "Sake",
"name" : "Sake",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "13.0"
}
],
"products" : [
{
"name" : "sake",
"targets" : [
"SakeCLI"
],
"type" : {
"executable" : null
}
},
{
"name" : "Sake",
"targets" : [
"Sake"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "SakeMacros",
"targets" : [
"SakeMacros"
],
"type" : {
"macro" : null
}
}
],
"targets" : [
{
"c99name" : "SakeTests",
"module_type" : "SwiftTarget",
"name" : "SakeTests",
"path" : "Tests/SakeTests",
"sources" : [
"ClosestMatchFinderTests.swift",
"CommandListFormatterTests.swift",
"CommandMapTests.swift",
"CommandNameCaseConverterTests.swift",
"CommandRunnerTests.swift",
"CommandsPreprocessorTests.swift"
],
"target_dependencies" : [
"Sake"
],
"type" : "test"
},
{
"c99name" : "SakeShared",
"module_type" : "SwiftTarget",
"name" : "SakeShared",
"path" : "Sources/SakeShared",
"product_dependencies" : [
"ArgumentParser"
],
"product_memberships" : [
"sake",
"Sake"
],
"sources" : [
"CaseConvertingStrategy.swift",
"CommandGroupsJSON.swift",
"FileHandle+TextOutputStream.swift",
"ProcessInterruptionTask.swift",
"ProcessMonitor.swift",
"SakeAppExitCode.swift",
"URL+BuildDirectory.swift"
],
"type" : "library"
},
{
"c99name" : "SakeMacrosTests",
"module_type" : "SwiftTarget",
"name" : "SakeMacrosTests",
"path" : "Tests/SakeMacrosTests",
"product_dependencies" : [
"SwiftSyntaxMacrosTestSupport"
],
"sources" : [
"SakeAppMacroTests.swift"
],
"target_dependencies" : [
"SakeMacros"
],
"type" : "test"
},
{
"c99name" : "SakeMacros",
"module_type" : "SwiftTarget",
"name" : "SakeMacros",
"path" : "Sources/SakeMacros",
"product_dependencies" : [
"SwiftSyntaxMacros",
"SwiftCompilerPlugin"
],
"product_memberships" : [
"Sake",
"SakeMacros"
],
"sources" : [
"Plugin.swift",
"SakeAppMacro.swift"
],
"type" : "macro"
},
{
"c99name" : "SakeCLILibraryTests",
"module_type" : "SwiftTarget",
"name" : "SakeCLILibraryTests",
"path" : "Tests/SakeCLILibraryTests",
"sources" : [
"ConfigManagerTests.swift",
"ConfigResolverTests.swift",
"SakeAppManagerFileHandleTests.swift",
"SakeAppManagerTests.swift"
],
"target_dependencies" : [
"SakeCLILibrary"
],
"type" : "test"
},
{
"c99name" : "SakeCLILibrary",
"module_type" : "SwiftTarget",
"name" : "SakeCLILibrary",
"path" : "Sources/SakeCLILibrary",
"product_dependencies" : [
"ArgumentParser",
"Subprocess",
"Yams"
],
"product_memberships" : [
"sake"
],
"sources" : [
"CommonOptions.swift",
"Config/CLIConfig.swift",
"Config/Config.swift",
"Config/ConfigManager.swift",
"Config/ENVConfig.swift",
"Config/FileConfig.swift",
"Helpers/DynamicCodingKey.swift",
"Helpers/Logger.swift",
"Helpers/ShellExecutor.swift",
"Helpers/String+Shell.swift",
"Helpers/String+nilIfEmpty.swift",
"SakeAppManager/Constants.swift",
"SakeAppManager/PackageDescription.swift",
"SakeAppManager/SakeAppContents.swift",
"SakeAppManager/SakeAppManager+CommandListGenerator.swift",
"SakeAppManager/SakeAppManager+InitializedMode.swift",
"SakeAppManager/SakeAppManager+UnitializedMode.swift",
"SakeAppManager/SakeAppManager.swift",
"SakeAppManager/SakeAppManagerCommandExecutor.swift",
"SakeAppManager/SakeAppManagerError.swift",
"SakeAppManager/SakeAppManagerFileHandle.swift"
],
"target_dependencies" : [
"SakeShared"
],
"type" : "library"
},
{
"c99name" : "SakeCLI",
"module_type" : "SwiftTarget",
"name" : "SakeCLI",
"path" : "Sources/SakeCLI",
"product_dependencies" : [
"ArgumentParser"
],
"product_memberships" : [
"sake"
],
"sources" : [
"BuildCommand.swift",
"CleanCommand.swift",
"EditCommand.swift",
"InitCommand.swift",
"ListCommand.swift",
"RunCommand.swift",
"SakeCLI.swift",
"ShellCompletionCommandListGenerator.swift",
"Version.swift"
],
"target_dependencies" : [
"SakeCLILibrary",
"SakeShared"
],
"type" : "executable"
},
{
"c99name" : "Sake",
"module_type" : "SwiftTarget",
"name" : "Sake",
"path" : "Sources/Sake",
"product_dependencies" : [
"ArgumentParser"
],
"product_memberships" : [
"Sake"
],
"sources" : [
"CLI/CLI.swift",
"CLI/ListCommand.swift",
"CLI/RunCommand.swift",
"CLI/SakeParsableCommand.swift",
"ClosestMatchFinder.swift",
"Command+Context.swift",
"Command+Map.swift",
"Command.swift",
"CommandGroupProtocol.swift",
"CommandListFormatter.swift",
"CommandNameCaseConverter.swift",
"CommandRunner.swift",
"CommandsPreprocessor.swift",
"Logger.swift",
"SakeApp+main.swift",
"SakeAppError.swift",
"SakeAppProtocol.swift",
"String+Case.swift"
],
"target_dependencies" : [
"SakeMacros",
"SakeShared"
],
"type" : "library"
},
{
"c99name" : "IntegrationTests",
"module_type" : "SwiftTarget",
"name" : "IntegrationTests",
"path" : "Tests/IntegrationTests",
"product_dependencies" : [
"Subprocess"
],
"sources" : [
"IntegrationTests.swift"
],
"target_dependencies" : [
"SakeShared"
],
"type" : "test"
}
],
"tools_version" : "6.1"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/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 swiftpackageindex/spi-images
Digest: sha256:c3bd0c8eb125dea46564a1eb8b09ee779ba7ae350b1ee58b5e9d6ff6c39cef37
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.1-latest
Fetching https://github.com/jpsim/Yams.git
Fetching https://github.com/swiftlang/swift-syntax.git
Fetching https://github.com/swiftlang/swift-subprocess.git
[1/11547] Fetching yams
[2/14320] Fetching yams, swift-subprocess
[10280/89260] Fetching yams, swift-subprocess, swift-syntax
Fetched https://github.com/swiftlang/swift-subprocess.git from cache (1.22s)
[8718/86487] Fetching yams, swift-syntax
Fetching https://github.com/apple/swift-argument-parser.git
Fetched https://github.com/jpsim/Yams.git from cache (7.74s)
Fetched https://github.com/swiftlang/swift-syntax.git from cache (7.73s)
[1/17488] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser.git from cache (0.71s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 602.0.0 (11.04s)
Computing version for https://github.com/swiftlang/swift-subprocess.git
Computed https://github.com/swiftlang/swift-subprocess.git at 0.4.0 (0.64s)
Fetching https://github.com/apple/swift-system
[1/5601] Fetching swift-system
Fetched https://github.com/apple/swift-system from cache (0.45s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 6.2.1 (1.00s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.6.4 (0.65s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.7.1 (0.58s)
Creating working copy for https://github.com/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 602.0.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.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.7.1
Creating working copy for https://github.com/swiftlang/swift-subprocess.git
Working copy of https://github.com/swiftlang/swift-subprocess.git resolved at 0.4.0
Creating working copy for https://github.com/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 6.2.1
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
[2/83] Write sources
[28/83] Compiling _SwiftSyntaxCShims PlatformMutex.c
[29/83] Compiling writer.c
[30/83] Compiling reader.c
[31/83] Write sources
[32/83] Compiling _SubprocessCShims process_shims.c
[33/83] Write sources
In file included from /host/spi-builder-workspace/.build/checkouts/swift-subprocess/Sources/_SubprocessCShims/process_shims.c:23:
/host/spi-builder-workspace/.build/checkouts/swift-subprocess/Sources/_SubprocessCShims/include/process_shims.h:18:10: fatal error: 'pthread.h' file not found
18 | #include <pthread.h>
| ^~~~~~~~~~~
1 error generated.
[33/83] Compiling _SubprocessCShims process_shims.c
[33/83] Compiling parser.c
[33/83] Compiling emitter.c
[33/83] Compiling scanner.c
[33/83] Compiling api.c
[33/83] Compiling CSystem shims.c
[33/83] Write swift-version-24593BA9C3E375BF.txt
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:c3bd0c8eb125dea46564a1eb8b09ee779ba7ae350b1ee58b5e9d6ff6c39cef37
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.1-latest
[0/1] Planning build
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
[2/52] Write sources
In file included from /host/spi-builder-workspace/.build/checkouts/swift-subprocess/Sources/_SubprocessCShims/process_shims.c:23:
/host/spi-builder-workspace/.build/checkouts/swift-subprocess/Sources/_SubprocessCShims/include/process_shims.h:18:10: fatal error: 'pthread.h' file not found
18 | #include <pthread.h>
| ^~~~~~~~~~~
1 error generated.
[5/52] Compiling _SubprocessCShims process_shims.c
[5/52] Compiling writer.c
[5/52] Compiling CSystem shims.c
[5/52] Compiling emitter.c
[5/52] Compiling parser.c
[5/52] Compiling api.c
[5/52] Compiling scanner.c
[5/52] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.1 wasm