The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SwiftSyntax, reference 508.0.1 (2c49d6), with Swift 6.4 for Wasm on 20 Sep 2026 22:31:24 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344847-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest swift build --swift-sdk swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/peripheryapp/swift-syntax.git
Reference: 508.0.1
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/peripheryapp/swift-syntax
 * tag               508.0.1    -> FETCH_HEAD
HEAD is now at 2c49d66 Merge pull request #1570 from ahoppen/ahoppen/5.8/argument-parser-dependency
Cloned https://github.com/peripheryapp/swift-syntax.git
Revision (git rev-parse @):
2c49d66d34dfd6f8130afdba889de77504b58ec0
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/peripheryapp/swift-syntax.git at 508.0.1
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.4
Building package at path:  $PWD
https://github.com/peripheryapp/swift-syntax.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344847-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest swift build --swift-sdk swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm 2>&1
wasm-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:4328fdb43c680d205c1d6761b1e3267aa38277eefdda9ddfb17b6a0f1a77857a
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest
Fetching https://github.com/apple/swift-argument-parser.git
[1/18918] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser.git (0.74s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.8.2 (0.93s)
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.8.2
Building for debugging...
[Computing dependencies]
[Pre-planning 1 / 763]
[Planning deferred tasks]
[6 / 213] ArgumentParser-product
[110 / 226] SwiftSyntax
[117 / 226] ArgumentParserToolInfo
[121 / 228] SwiftSyntax
[124 / 237] ArgumentParser
[125 / 237] ArgumentParser
[126 / 237] ArgumentParser
[128 / 237] ArgumentParser
[132 / 237] ArgumentParser
[134 / 237] ArgumentParser
[137 / 237] SwiftSyntax
[143 / 245] SwiftBasicFormat
[146 / 249] SwiftDiagnostics
[152 / 249] SwiftBasicFormat
[156 / 249] SwiftParser
[157 / 249] SwiftParser
[160 / 249] SwiftBasicFormat
[161 / 249] SwiftBasicFormat
[162 / 250] SwiftDiagnostics
[168 / 256] SwiftBasicFormat
[176 / 256] IDEUtils
[179 / 266] SwiftParser
[182 / 268] SwiftParser
[186 / 268] SwiftParser
[190 / 268] SwiftParser
[191 / 268] SwiftSyntaxParser
[197 / 269]
[199 / 272] SwiftSyntaxParser
[200 / 272] SwiftSyntaxParser
[200 / 272]
/host/spi-builder-workspace/Sources/SwiftSyntaxParser/SyntaxParser.swift:19:22: warning: safely use '@_implementationOnly' without library evolution by setting '-enable-experimental-feature CheckImplementationOnly' for 'SwiftSyntaxParser' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/implementation-only-deprecated\ImplementationOnlyDeprecated]8;;\]
 17 | import Foundation
 18 | @_spi(RawSyntax) import SwiftSyntax
 19 | @_implementationOnly import SwiftParser
    |                      `- warning: safely use '@_implementationOnly' without library evolution by setting '-enable-experimental-feature CheckImplementationOnly' for 'SwiftSyntaxParser' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/implementation-only-deprecated\ImplementationOnlyDeprecated]8;;\]
 20 |
 21 | /// A list of possible errors that could be encountered while parsing a
[#ImplementationOnlyDeprecated]: <https://docs.swift.org/compiler/documentation/diagnostics/implementation-only-deprecated>
[207 / 281] lit-test-helper-product
[210 / 281] SwiftRefactor
[215 / 281] SwiftRefactor
/host/spi-builder-workspace/Sources/SwiftSyntaxParser/SyntaxParser.swift:19:22: warning: safely use '@_implementationOnly' without library evolution by setting '-enable-experimental-feature CheckImplementationOnly' for 'SwiftSyntaxParser' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/implementation-only-deprecated\ImplementationOnlyDeprecated]8;;\]
 17 | import Foundation
 18 | @_spi(RawSyntax) import SwiftSyntax
 19 | @_implementationOnly import SwiftParser
    |                      `- warning: safely use '@_implementationOnly' without library evolution by setting '-enable-experimental-feature CheckImplementationOnly' for 'SwiftSyntaxParser' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/implementation-only-deprecated\ImplementationOnlyDeprecated]8;;\]
 20 |
 21 | /// A list of possible errors that could be encountered while parsing a
[#ImplementationOnlyDeprecated]: <https://docs.swift.org/compiler/documentation/diagnostics/implementation-only-deprecated>
[218 / 282] SwiftSyntaxParser
[220 / 282] SwiftSyntaxParser
[224 / 287] lit-test-helper-product
[226 / 288] lit-test-helper-product
[234 / 307] SwiftOperators
[235 / 308] SwiftParserDiagnostics
[237 / 308] SwiftParserDiagnostics
[247 / 308] SwiftSyntaxBuilder
[250 / 308] SwiftParserDiagnostics
[256 / 309] SwiftOperators
[259 / 309] SwiftOperators
[261 / 309] swift-parser-cli-product
[270 / 323] SwiftSyntaxBuilder
error: SwiftCompile normal wasm32 /host/spi-builder-workspace/Sources/swift-parser-cli/swift-parser-cli.swift failed with a nonzero exit code. Command line:     cd /host
    builtin-SwiftPerFileCompile swift-parser-cli.swift
/host/spi-builder-workspace/Sources/swift-parser-cli/swift-parser-cli.swift:270:21: error: cannot find 'Process' in scope
268 |     #else
269 |     return try withTemporaryFile(contents: source) { tempFileURL in
270 |       let process = Process()
    |                     `- error: cannot find 'Process' in scope
271 |       process.executableURL = URL(fileURLWithPath: ProcessInfo.processInfo.arguments[0])
272 |       process.arguments = [
/host/spi-builder-workspace/Sources/swift-parser-cli/swift-parser-cli.swift:279:18: error: cannot find 'DispatchSemaphore' in scope
277 |       }
278 |
279 |       let sema = DispatchSemaphore(value: 0)
    |                  `- error: cannot find 'DispatchSemaphore' in scope
280 |       process.standardOutput = FileHandle.nullDevice
281 |       process.standardError = FileHandle.nullDevice
/host/spi-builder-workspace/Sources/swift-parser-cli/swift-parser-cli.swift:287:29: error: cannot find 'DispatchTime' in scope
285 |
286 |       try process.run()
287 |       if sema.wait(timeout: DispatchTime.now() + .seconds(2)) == .timedOut {
    |                             `- error: cannot find 'DispatchTime' in scope
288 |         #if os(Windows)
289 |         _ = TerminateProcess(process.processHandle, 0)
/host/spi-builder-workspace/Sources/swift-parser-cli/swift-parser-cli.swift:291:9: error: cannot find 'kill' in scope
289 |         _ = TerminateProcess(process.processHandle, 0)
290 |         #else
291 |         kill(pid_t(process.processIdentifier), SIGKILL)
    |         `- error: cannot find 'kill' in scope
292 |         #endif
293 |         return .timeout
/host/spi-builder-workspace/Sources/swift-parser-cli/swift-parser-cli.swift:291:48: error: cannot find 'SIGKILL' in scope
289 |         _ = TerminateProcess(process.processHandle, 0)
290 |         #else
291 |         kill(pid_t(process.processIdentifier), SIGKILL)
    |                                                `- error: cannot find 'SIGKILL' in scope
292 |         #endif
293 |         return .timeout
Failed frontend command:
/usr/bin/swift-frontend -frontend -c -primary-file /host/spi-builder-workspace/Sources/swift-parser-cli/swift-parser-cli.swift -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftSyntax.build/Debug-webassembly-wasm32/swift-parser-cli-p.build/Objects-normal/wasm32/swift-parser-cli.d -emit-const-values-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftSyntax.build/Debug-webassembly-wasm32/swift-parser-cli-p.build/Objects-normal/wasm32/swift-parser-cli.swiftconstvalues -emit-reference-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftSyntax.build/Debug-webassembly-wasm32/swift-parser-cli-p.build/Objects-normal/wasm32/swift-parser-cli.swiftdeps -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftSyntax.build/Debug-webassembly-wasm32/swift-parser-cli-p.build/Objects-normal/wasm32/swift-parser-cli.dia -target wasm32-unknown-wasip1 -disable-objc-interop -sdk /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/WASI.sdk -sysroot /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/WASI.sdk -I /host/spi-builder-workspace/.build/out/Products/Debug-webassembly-wasm32 -module-cache-path /host/spi-builder-workspace/.build/out/ModuleCache.noindex -color-diagnostics -Xcc -fcolor-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -external-plugin-path /usr/lib/swift/host/plugins/testing\#/usr/bin/swift-plugin-server -validate-clang-modules-once -clang-build-session-file /host/spi-builder-workspace/.build/out/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /host -resource-dir /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static -use-static-resource-dir -enable-anonymous-context-mangled-names -file-compilation-dir /host -Xcc -resource-dir -Xcc /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/clang -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/host/spi-builder-workspace/.build/out/Products/Debug-webassembly-wasm32/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftSyntax.build/Debug-webassembly-wasm32/swift-parser-cli-p.build/DerivedSources-normal/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftSyntax.build/Debug-webassembly-wasm32/swift-parser-cli-p.build/DerivedSources/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftSyntax.build/Debug-webassembly-wasm32/swift-parser-cli-p.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name swift_parser_cli -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftSyntax.build/Debug-webassembly-wasm32/swift-parser-cli-p.build/Objects-normal/wasm32/swift-parser-cli_const_extract_protocols.json -in-process-plugin-server-path /usr/lib/swift/host/libSwiftInProcPluginServer.so -plugin-path /usr/lib/swift/host/plugins -plugin-path /usr/local/lib/swift/host/plugins -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftSyntax.build/Debug-webassembly-wasm32/swift-parser-cli-p.build/Objects-normal/wasm32/swift-parser-cli.o -index-unit-output-path /SwiftSyntax.build/Debug-webassembly-wasm32/swift-parser-cli-p.build/Objects-normal/wasm32/swift-parser-cli.o -index-store-path /host/spi-builder-workspace/.build/out -index-system-modules
error: Build failed
BUILD FAILURE 6.4 wasm