Build Information
Failed to build SwiftSyntax, reference main (6134c2), with Swift 6.4 for Wasm on 20 Sep 2026 01:50:07 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-53886770-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>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/SDGGiesbrecht/swift-syntax.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/SDGGiesbrecht/swift-syntax
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 6134c24 Merge pull request #1497 from andrewjl/andrewjl/fix-xctskip-warning
Cloned https://github.com/SDGGiesbrecht/swift-syntax.git
Revision (git rev-parse @):
6134c24cebdbf8f123c981fd3c3e30583a3064f9
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/SDGGiesbrecht/swift-syntax.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.4
Building package at path: $PWD
https://github.com/SDGGiesbrecht/swift-syntax.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886770-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.75s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.2.3 (0.95s)
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.2.3
Building for debugging...
[Computing dependencies]
[Pre-planning 1 / 909]
[Planning deferred tasks]
[127 / 259] SwiftSyntax
[135 / 260]
[137 / 269] ArgumentParser
[138 / 270] ArgumentParserToolInfo
/host/spi-builder-workspace/Sources/SwiftSyntax/generated/Keyword.swift:16:1: [1;33mwarning: [1;39mextension declares a conformance of imported type 'StaticString' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future[0;0m
[0;36m14 |[0;0m
[0;36m15 |[0;0m /// Make `StaticString` equatable so we can use it as the raw value for Keyword.
[0;36m16 |[0;0m extension StaticString: Equatable {
[0;36m|[0;0m |- [1;33mwarning: [1;39mextension declares a conformance of imported type 'StaticString' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39madd '@retroactive' to silence this warning[0;0m
[0;36m17 |[0;0m public static func == (lhs: StaticString, rhs: StaticString) -> Bool {
[0;36m18 |[0;0m return SyntaxText(lhs) == SyntaxText(rhs)
[140 / 270] ArgumentParserToolInfo
[148 / 270] ArgumentParser
[149 / 270] ArgumentParser-product
[150 / 270] ArgumentParser-product
[151 / 270] ArgumentParser-product
[152 / 270]
[152 / 270] SwiftSyntax
/host/spi-builder-workspace/Sources/SwiftSyntax/generated/Keyword.swift:16:1: [1;33mwarning: [1;39mextension declares a conformance of imported type 'StaticString' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future[0;0m
[0;36m14 |[0;0m
[0;36m15 |[0;0m /// Make `StaticString` equatable so we can use it as the raw value for Keyword.
[0;36m16 |[0;0m extension StaticString: Equatable {
[0;36m|[0;0m |- [1;33mwarning: [1;39mextension declares a conformance of imported type 'StaticString' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39madd '@retroactive' to silence this warning[0;0m
[0;36m17 |[0;0m public static func == (lhs: StaticString, rhs: StaticString) -> Bool {
[0;36m18 |[0;0m return SyntaxText(lhs) == SyntaxText(rhs)
[161 / 281] SwiftDiagnostics
[162 / 294] ArgumentParser
[167 / 298] SwiftDiagnostics
[183 / 298] SwiftParser
[185 / 298] SwiftParser
[189 / 299] SwiftParser
[191 / 299] SwiftParser
[192 / 299] SwiftSyntaxParser
[193 / 299] SwiftSyntaxParser
[194 / 299] SwiftDiagnostics
[195 / 299] SwiftOperators
[196 / 299] SwiftOperators
[198 / 299] SwiftDiagnostics
[199 / 299] SwiftDiagnostics
[201 / 299] SwiftBasicFormat
[202 / 300] SwiftParserDiagnostics
[206 / 300] IDEUtils
[206 / 300] IDEUtils-product
[209 / 300] ArgumentParser
[211 / 301]
[214 / 304] SwiftSyntaxParser
/host/spi-builder-workspace/Sources/SwiftSyntaxParser/SyntaxParser.swift:19:22: [1;33mwarning: [1;39msafely use '@_implementationOnly' without library evolution by setting '-enable-experimental-feature CheckImplementationOnly' for 'SwiftSyntaxParser'[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/implementation-only-deprecated\ImplementationOnlyDeprecated]8;;\]
[0;36m17 |[0;0m import Foundation
[0;36m18 |[0;0m @_spi(RawSyntax) import SwiftSyntax
[0;36m19 |[0;0m @_implementationOnly import SwiftParser
[0;36m|[0;0m `- [1;33mwarning: [1;39msafely use '@_implementationOnly' without library evolution by setting '-enable-experimental-feature CheckImplementationOnly' for 'SwiftSyntaxParser'[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/implementation-only-deprecated\ImplementationOnlyDeprecated]8;;\]
[0;36m20 |[0;0m
[0;36m21 |[0;0m /// Namespace for functions to parse swift source and retrieve a syntax tree.
[#ImplementationOnlyDeprecated]: <https://docs.swift.org/compiler/documentation/diagnostics/implementation-only-deprecated>
[216 / 305] SwiftSyntaxParser
[225 / 315] SwiftRefactor
/host/spi-builder-workspace/Sources/SwiftSyntaxParser/SyntaxParser.swift:19:22: [1;33mwarning: [1;39msafely use '@_implementationOnly' without library evolution by setting '-enable-experimental-feature CheckImplementationOnly' for 'SwiftSyntaxParser'[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/implementation-only-deprecated\ImplementationOnlyDeprecated]8;;\]
[0;36m17 |[0;0m import Foundation
[0;36m18 |[0;0m @_spi(RawSyntax) import SwiftSyntax
[0;36m19 |[0;0m @_implementationOnly import SwiftParser
[0;36m|[0;0m `- [1;33mwarning: [1;39msafely use '@_implementationOnly' without library evolution by setting '-enable-experimental-feature CheckImplementationOnly' for 'SwiftSyntaxParser'[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/implementation-only-deprecated\ImplementationOnlyDeprecated]8;;\]
[0;36m20 |[0;0m
[0;36m21 |[0;0m /// Namespace for functions to parse swift source and retrieve a syntax tree.
[#ImplementationOnlyDeprecated]: <https://docs.swift.org/compiler/documentation/diagnostics/implementation-only-deprecated>
[228 / 316] SwiftRefactor
[230 / 316] SwiftRefactor
[232 / 316] SwiftParser
[241 / 318]
[243 / 331] SwiftRefactor
[245 / 331] lit-test-helper-product
[248 / 333] SwiftRefactor
[252 / 333] SwiftParserDiagnostics
[254 / 333] SwiftParserDiagnostics
[256 / 333] SwiftParserDiagnostics
[257 / 333] SwiftParserDiagnostics
[258 / 333] SwiftParserDiagnostics
[260 / 333] SwiftParserDiagnostics
[266 / 334] lit-test-helper-product
[269 / 344] SwiftOperators
[271 / 344] SwiftOperators
[273 / 344] SwiftOperators
[278 / 344] SwiftOperators
[279 / 344] swift-parser-cli-product
[281 / 344] swift-parser-cli-product
[282 / 345]
[287 / 359] SwiftSyntaxBuilder
error: SwiftCompile normal wasm32 failed with a nonzero exit code. Command line: cd /host
/host/spi-builder-workspace/Sources/swift-parser-cli/TerminalUtils.swift:18:8: [1;31merror: [1;39mno such module 'Darwin.C'[0;0m
[0;36m16 |[0;0m import CRT
[0;36m17 |[0;0m #else
[0;36m18 |[0;0m import Darwin.C
[0;36m|[0;0m `- [1;31merror: [1;39mno such module 'Darwin.C'[0;0m
[0;36m19 |[0;0m #endif
[0;36m20 |[0;0m
Failed frontend command:
/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /host/spi-builder-workspace/Sources/swift-parser-cli/TerminalUtils.swift /host/spi-builder-workspace/Sources/swift-parser-cli/swift-parser-cli.swift -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 -fmodule-map-file\=/host/spi-builder-workspace/.build/out/Intermediates.noindex/GeneratedModuleMaps-webassembly-wasm32/_InstructionCounter.modulemap -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/Sources/_InstructionCounter/include -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 -emit-module-doc-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftSyntax.build/Debug-webassembly-wasm32/swift-parser-cli-p.build/Objects-normal/wasm32/Modules/swift_parser_cli.swiftdoc -emit-module-source-info-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftSyntax.build/Debug-webassembly-wasm32/swift-parser-cli-p.build/Objects-normal/wasm32/Modules/swift_parser_cli.swiftsourceinfo -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-primary-emit-module.dia -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-primary-emit-module.d -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftSyntax.build/Debug-webassembly-wasm32/swift-parser-cli-p.build/Objects-normal/wasm32/Modules/swift_parser_cli.swiftmodule
error: Build failed
BUILD FAILURE 6.4 wasm