Build Information
Failed to build swift-typescript-bridge, reference 0.5.0 (251508), with Swift 6.4 for Wasm on 25 Sep 2026 10:16: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>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/sunghyun-k/swift-typescript-bridge.git
Reference: 0.5.0
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/sunghyun-k/swift-typescript-bridge
* tag 0.5.0 -> FETCH_HEAD
HEAD is now at 2515087 Update .gitignore
Cloned https://github.com/sunghyun-k/swift-typescript-bridge.git
Revision (git rev-parse @):
25150875fd3b045ffb797acb48a64ee1017a547c
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/sunghyun-k/swift-typescript-bridge.git at 0.5.0
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.4
Building package at path: $PWD
https://github.com/sunghyun-k/swift-typescript-bridge.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/pointfreeco/swift-macro-testing.git
Fetching https://github.com/swiftlang/swift-syntax.git
[1/1002] Fetching swift-macro-testing
[1003/81070] Fetching swift-macro-testing, swift-syntax
Fetched https://github.com/pointfreeco/swift-macro-testing.git (3.07s)
Fetched https://github.com/swiftlang/swift-syntax.git (3.09s)
Computing version for https://github.com/pointfreeco/swift-macro-testing.git
Computed https://github.com/pointfreeco/swift-macro-testing.git at 0.7.0 (3.26s)
Fetching https://github.com/pointfreeco/swift-snapshot-testing
[1/16479] Fetching swift-snapshot-testing
Fetched https://github.com/pointfreeco/swift-snapshot-testing (2.05s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 604.0.0 (3.24s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing
Computed https://github.com/pointfreeco/swift-snapshot-testing at 1.19.6 (0.17s)
Fetching https://github.com/pointfreeco/swift-custom-dump
[1/5666] Fetching swift-custom-dump
Fetched https://github.com/pointfreeco/swift-custom-dump (0.51s)
Computing version for https://github.com/pointfreeco/swift-custom-dump
Computed https://github.com/pointfreeco/swift-custom-dump at 1.7.3 (0.70s)
Fetching https://github.com/pointfreeco/swift-issue-reporting
[1/6161] Fetching swift-issue-reporting
Fetched https://github.com/pointfreeco/swift-issue-reporting (0.78s)
Computing version for https://github.com/pointfreeco/swift-issue-reporting
Computed https://github.com/pointfreeco/swift-issue-reporting at 2.1.1 (1.88s)
Creating working copy for https://github.com/pointfreeco/swift-issue-reporting
Working copy of https://github.com/pointfreeco/swift-issue-reporting resolved at 2.1.1
Creating working copy for https://github.com/pointfreeco/swift-macro-testing.git
Working copy of https://github.com/pointfreeco/swift-macro-testing.git resolved at 0.7.0
Creating working copy for https://github.com/pointfreeco/swift-snapshot-testing
Working copy of https://github.com/pointfreeco/swift-snapshot-testing resolved at 1.19.6
Creating working copy for https://github.com/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 604.0.0
Creating working copy for https://github.com/pointfreeco/swift-custom-dump
Working copy of https://github.com/pointfreeco/swift-custom-dump resolved at 1.7.3
Building for debugging...
[Computing dependencies]
[Provisioning 23 / 27]
[Pre-planning 1 / 707]
[Planning deferred tasks]
[157 / 315] _SwiftSyntaxCShims
[199 / 316]
[201 / 325] SwiftSyntax
[210 / 328] SwiftSyntax509
[222 / 331] SwiftSyntax510
[227 / 332] SwiftSyntax603
[229 / 332] SwiftSyntax603
[229 / 332] SwiftSyntax
[242 / 360] SwiftParser
[243 / 360] SwiftBasicFormat
[254 / 360] SwiftBasicFormat
[255 / 360] SwiftParser
[256 / 360] SwiftParser
[258 / 360] SwiftParser
[263 / 360] SwiftParser
[265 / 360] SwiftParser
[266 / 360] SwiftDiagnostics
[267 / 360] SwiftOperators
[268 / 360] SwiftOperators
[270 / 360] SwiftDiagnostics
[272 / 360] SwiftDiagnostics
[273 / 360] SwiftParser
[275 / 360] SwiftParserDiagnostics
[279 / 361] SwiftBasicFormat
[282 / 371] SwiftParserDiagnostics
[283 / 371] SwiftBasicFormat
[284 / 372] SwiftParserDiagnostics
[285 / 372] SwiftParserDiagnostics
[288 / 372] SwiftParserDiagnostics
[293 / 373] SwiftSyntaxBuilder
[294 / 373] SwiftParserDiagnostics
[301 / 384] SwiftSyntaxBuilder
[304 / 393] SwiftOperators
[304 / 393] SwiftSyntaxBuilder
[305 / 393] SwiftOperators
[313 / 393] SwiftSyntaxBuilder
[321 / 394] SwiftParserDiagnostics
[325 / 394] SwiftOperators
[328 / 394] SwiftOperators
[330 / 394] SwiftIfConfig
[335 / 404] SwiftIfConfig
[337 / 405] SwiftOperators
[343 / 406] SwiftIfConfig
[344 / 406] SwiftIfConfig
[353 / 416] SwiftSyntaxMacros
[354 / 416] SwiftSyntaxMacros
[357 / 416] SwiftSyntaxMacros
[365 / 417]
[373 / 428] SwiftSyntaxMacroExpansion
[375 / 428] SwiftSyntaxMacroExpansion
[386 / 438] SwiftCompilerPluginMessageHandling
[386 / 438] SwiftSyntaxMacroExpansion
[389 / 438] SwiftSyntax
[390 / 438] SwiftCompilerPluginMessageHandling
[392 / 438] SwiftCompilerPluginMessageHandling
[401 / 441] SwiftCompilerPlugin
[406 / 441] SwiftCompilerPlugin
[408 / 442] SwiftSyntaxMacroExpansion
[410 / 443] SwiftCompilerPluginMessageHandling
[412 / 444] SwiftSyntax
[415 / 445] SwiftSyntax
[422 / 445] SwiftIfConfig
[431 / 446] TypeScriptBridgeMacros
[439 / 454] TypeScriptBridgeMacros
/host/spi-builder-workspace/Sources/TypeScriptBridgeMacros/ExtendsMacro.swift:7:15: [1;33mwarning: [1;39mdeprecated default implementation is used to satisfy static method 'expansion(of:providingMembersOf:conformingTo:in:)' required by protocol 'MemberMacro': `MemberMacro` conformance should implement the `expansion` function that takes a `conformingTo` parameter[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m5 |[0;0m
[0;36m6 |[0;0m /// Implementation of the `@Extends(ParentType.self, ...)` attached macro.
[0;36m7 |[0;0m public struct ExtendsMacro: MemberMacro, ExtensionMacro {
[0;36m|[0;0m `- [1;33mwarning: [1;39mdeprecated default implementation is used to satisfy static method 'expansion(of:providingMembersOf:conformingTo:in:)' required by protocol 'MemberMacro': `MemberMacro` conformance should implement the `expansion` function that takes a `conformingTo` parameter[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m8 |[0;0m public static func expansion(
[0;36m9 |[0;0m of node: AttributeSyntax,
/host/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftSyntaxMacros/MacroProtocols/MemberMacro.swift:89:22: [1;39mnote: [1;39m'expansion(of:providingMembersOf:conformingTo:in:)' declared here[0;0m
[0;36m53 |[0;0m /// - Returns: the set of member declarations introduced by this macro, which
[0;36m54 |[0;0m /// are nested inside the `attachedTo` declaration.
[0;36m55 |[0;0m static func expansion(
[0;36m|[0;0m `- [1;39mnote: [1;39mrequirement 'expansion(of:providingMembersOf:conformingTo:in:)' declared here[0;0m
[0;36m56 |[0;0m of node: AttributeSyntax,
[0;36m57 |[0;0m providingMembersOf declaration: some DeclGroupSyntax,
[0;36m:[0;0m
[0;36m87 |[0;0m message: "`MemberMacro` conformance should implement the `expansion` function that takes a `conformingTo` parameter"
[0;36m88 |[0;0m )
[0;36m89 |[0;0m public static func expansion(
[0;36m|[0;0m `- [1;39mnote: [1;39m'expansion(of:providingMembersOf:conformingTo:in:)' declared here[0;0m
[0;36m90 |[0;0m of node: AttributeSyntax,
[0;36m91 |[0;0m providingMembersOf declaration: some DeclGroupSyntax,
/host/spi-builder-workspace/Sources/TypeScriptBridgeMacros/LiteralUnionMacro.swift:14:15: [1;33mwarning: [1;39mdeprecated default implementation is used to satisfy static method 'expansion(of:providingMembersOf:conformingTo:in:)' required by protocol 'MemberMacro': `MemberMacro` conformance should implement the `expansion` function that takes a `conformingTo` parameter[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m12 |[0;0m /// - Support for a `nil` literal — adds a `null` case that round-trips as JSON `null`
[0;36m13 |[0;0m /// - Access modifier support based on the enum's access level
[0;36m14 |[0;0m public struct LiteralUnionMacro: MemberMacro, ExtensionMacro {
[0;36m|[0;0m `- [1;33mwarning: [1;39mdeprecated default implementation is used to satisfy static method 'expansion(of:providingMembersOf:conformingTo:in:)' required by protocol 'MemberMacro': `MemberMacro` conformance should implement the `expansion` function that takes a `conformingTo` parameter[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m15 |[0;0m public static func expansion(
[0;36m16 |[0;0m of node: AttributeSyntax,
/host/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftSyntaxMacros/MacroProtocols/MemberMacro.swift:89:22: [1;39mnote: [1;39m'expansion(of:providingMembersOf:conformingTo:in:)' declared here[0;0m
[0;36m53 |[0;0m /// - Returns: the set of member declarations introduced by this macro, which
[0;36m54 |[0;0m /// are nested inside the `attachedTo` declaration.
[0;36m55 |[0;0m static func expansion(
[0;36m|[0;0m `- [1;39mnote: [1;39mrequirement 'expansion(of:providingMembersOf:conformingTo:in:)' declared here[0;0m
[0;36m56 |[0;0m of node: AttributeSyntax,
[0;36m57 |[0;0m providingMembersOf declaration: some DeclGroupSyntax,
[0;36m:[0;0m
[0;36m87 |[0;0m message: "`MemberMacro` conformance should implement the `expansion` function that takes a `conformingTo` parameter"
[0;36m88 |[0;0m )
[0;36m89 |[0;0m public static func expansion(
[0;36m|[0;0m `- [1;39mnote: [1;39m'expansion(of:providingMembersOf:conformingTo:in:)' declared here[0;0m
[0;36m90 |[0;0m of node: AttributeSyntax,
[0;36m91 |[0;0m providingMembersOf declaration: some DeclGroupSyntax,
/host/spi-builder-workspace/Sources/TypeScriptBridgeMacros/TypeUnionMacro.swift:12:15: [1;33mwarning: [1;39mdeprecated default implementation is used to satisfy static method 'expansion(of:providingMembersOf:conformingTo:in:)' required by protocol 'MemberMacro': `MemberMacro` conformance should implement the `expansion` function that takes a `conformingTo` parameter[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m10 |[0;0m /// - Codable conformance that attempts to decode each type in order
[0;36m11 |[0;0m /// - Access modifier support based on the enum's access level
[0;36m12 |[0;0m public struct TypeUnionMacro: MemberMacro, ExtensionMacro {
[0;36m|[0;0m `- [1;33mwarning: [1;39mdeprecated default implementation is used to satisfy static method 'expansion(of:providingMembersOf:conformingTo:in:)' required by protocol 'MemberMacro': `MemberMacro` conformance should implement the `expansion` function that takes a `conformingTo` parameter[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m13 |[0;0m public static func expansion(
[0;36m14 |[0;0m of node: AttributeSyntax,
/host/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftSyntaxMacros/MacroProtocols/MemberMacro.swift:89:22: [1;39mnote: [1;39m'expansion(of:providingMembersOf:conformingTo:in:)' declared here[0;0m
[0;36m53 |[0;0m /// - Returns: the set of member declarations introduced by this macro, which
[0;36m54 |[0;0m /// are nested inside the `attachedTo` declaration.
[0;36m55 |[0;0m static func expansion(
[0;36m|[0;0m `- [1;39mnote: [1;39mrequirement 'expansion(of:providingMembersOf:conformingTo:in:)' declared here[0;0m
[0;36m56 |[0;0m of node: AttributeSyntax,
[0;36m57 |[0;0m providingMembersOf declaration: some DeclGroupSyntax,
[0;36m:[0;0m
[0;36m87 |[0;0m message: "`MemberMacro` conformance should implement the `expansion` function that takes a `conformingTo` parameter"
[0;36m88 |[0;0m )
[0;36m89 |[0;0m public static func expansion(
[0;36m|[0;0m `- [1;39mnote: [1;39m'expansion(of:providingMembersOf:conformingTo:in:)' declared here[0;0m
[0;36m90 |[0;0m of node: AttributeSyntax,
[0;36m91 |[0;0m providingMembersOf declaration: some DeclGroupSyntax,
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[440 / 454] TypeScriptBridgeMacros
/host/spi-builder-workspace/Sources/TypeScriptBridgeMacros/TypeUnionMacro.swift:12:15: [1;33mwarning: [1;39mdeprecated default implementation is used to satisfy static method 'expansion(of:providingMembersOf:conformingTo:in:)' required by protocol 'MemberMacro': `MemberMacro` conformance should implement the `expansion` function that takes a `conformingTo` parameter[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m10 |[0;0m /// - Codable conformance that attempts to decode each type in order
[0;36m11 |[0;0m /// - Access modifier support based on the enum's access level
[0;36m12 |[0;0m public struct TypeUnionMacro: MemberMacro, ExtensionMacro {
[0;36m|[0;0m `- [1;33mwarning: [1;39mdeprecated default implementation is used to satisfy static method 'expansion(of:providingMembersOf:conformingTo:in:)' required by protocol 'MemberMacro': `MemberMacro` conformance should implement the `expansion` function that takes a `conformingTo` parameter[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m13 |[0;0m public static func expansion(
[0;36m14 |[0;0m of node: AttributeSyntax,
/host/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftSyntaxMacros/MacroProtocols/MemberMacro.swift:89:22: [1;39mnote: [1;39m'expansion(of:providingMembersOf:conformingTo:in:)' declared here[0;0m
[0;36m53 |[0;0m /// - Returns: the set of member declarations introduced by this macro, which
[0;36m54 |[0;0m /// are nested inside the `attachedTo` declaration.
[0;36m55 |[0;0m static func expansion(
[0;36m|[0;0m `- [1;39mnote: [1;39mrequirement 'expansion(of:providingMembersOf:conformingTo:in:)' declared here[0;0m
[0;36m56 |[0;0m of node: AttributeSyntax,
[0;36m57 |[0;0m providingMembersOf declaration: some DeclGroupSyntax,
[0;36m:[0;0m
[0;36m87 |[0;0m message: "`MemberMacro` conformance should implement the `expansion` function that takes a `conformingTo` parameter"
[0;36m88 |[0;0m )
[0;36m89 |[0;0m public static func expansion(
[0;36m|[0;0m `- [1;39mnote: [1;39m'expansion(of:providingMembersOf:conformingTo:in:)' declared here[0;0m
[0;36m90 |[0;0m of node: AttributeSyntax,
[0;36m91 |[0;0m providingMembersOf declaration: some DeclGroupSyntax,
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
/host/spi-builder-workspace/Sources/TypeScriptBridgeMacros/LiteralUnionMacro.swift:14:15: [1;33mwarning: [1;39mdeprecated default implementation is used to satisfy static method 'expansion(of:providingMembersOf:conformingTo:in:)' required by protocol 'MemberMacro': `MemberMacro` conformance should implement the `expansion` function that takes a `conformingTo` parameter[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m12 |[0;0m /// - Support for a `nil` literal — adds a `null` case that round-trips as JSON `null`
[0;36m13 |[0;0m /// - Access modifier support based on the enum's access level
[0;36m14 |[0;0m public struct LiteralUnionMacro: MemberMacro, ExtensionMacro {
[0;36m|[0;0m `- [1;33mwarning: [1;39mdeprecated default implementation is used to satisfy static method 'expansion(of:providingMembersOf:conformingTo:in:)' required by protocol 'MemberMacro': `MemberMacro` conformance should implement the `expansion` function that takes a `conformingTo` parameter[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m15 |[0;0m public static func expansion(
[0;36m16 |[0;0m of node: AttributeSyntax,
/host/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftSyntaxMacros/MacroProtocols/MemberMacro.swift:89:22: [1;39mnote: [1;39m'expansion(of:providingMembersOf:conformingTo:in:)' declared here[0;0m
[0;36m53 |[0;0m /// - Returns: the set of member declarations introduced by this macro, which
[0;36m54 |[0;0m /// are nested inside the `attachedTo` declaration.
[0;36m55 |[0;0m static func expansion(
[0;36m|[0;0m `- [1;39mnote: [1;39mrequirement 'expansion(of:providingMembersOf:conformingTo:in:)' declared here[0;0m
[0;36m56 |[0;0m of node: AttributeSyntax,
[0;36m57 |[0;0m providingMembersOf declaration: some DeclGroupSyntax,
[0;36m:[0;0m
[0;36m87 |[0;0m message: "`MemberMacro` conformance should implement the `expansion` function that takes a `conformingTo` parameter"
[0;36m88 |[0;0m )
[0;36m89 |[0;0m public static func expansion(
[0;36m|[0;0m `- [1;39mnote: [1;39m'expansion(of:providingMembersOf:conformingTo:in:)' declared here[0;0m
[0;36m90 |[0;0m of node: AttributeSyntax,
[0;36m91 |[0;0m providingMembersOf declaration: some DeclGroupSyntax,
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
/host/spi-builder-workspace/Sources/TypeScriptBridgeMacros/ExtendsMacro.swift:7:15: [1;33mwarning: [1;39mdeprecated default implementation is used to satisfy static method 'expansion(of:providingMembersOf:conformingTo:in:)' required by protocol 'MemberMacro': `MemberMacro` conformance should implement the `expansion` function that takes a `conformingTo` parameter[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m5 |[0;0m
[0;36m6 |[0;0m /// Implementation of the `@Extends(ParentType.self, ...)` attached macro.
[0;36m7 |[0;0m public struct ExtendsMacro: MemberMacro, ExtensionMacro {
[0;36m|[0;0m `- [1;33mwarning: [1;39mdeprecated default implementation is used to satisfy static method 'expansion(of:providingMembersOf:conformingTo:in:)' required by protocol 'MemberMacro': `MemberMacro` conformance should implement the `expansion` function that takes a `conformingTo` parameter[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m8 |[0;0m public static func expansion(
[0;36m9 |[0;0m of node: AttributeSyntax,
/host/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftSyntaxMacros/MacroProtocols/MemberMacro.swift:89:22: [1;39mnote: [1;39m'expansion(of:providingMembersOf:conformingTo:in:)' declared here[0;0m
[0;36m53 |[0;0m /// - Returns: the set of member declarations introduced by this macro, which
[0;36m54 |[0;0m /// are nested inside the `attachedTo` declaration.
[0;36m55 |[0;0m static func expansion(
[0;36m|[0;0m `- [1;39mnote: [1;39mrequirement 'expansion(of:providingMembersOf:conformingTo:in:)' declared here[0;0m
[0;36m56 |[0;0m of node: AttributeSyntax,
[0;36m57 |[0;0m providingMembersOf declaration: some DeclGroupSyntax,
[0;36m:[0;0m
[0;36m87 |[0;0m message: "`MemberMacro` conformance should implement the `expansion` function that takes a `conformingTo` parameter"
[0;36m88 |[0;0m )
[0;36m89 |[0;0m public static func expansion(
[0;36m|[0;0m `- [1;39mnote: [1;39m'expansion(of:providingMembersOf:conformingTo:in:)' declared here[0;0m
[0;36m90 |[0;0m of node: AttributeSyntax,
[0;36m91 |[0;0m providingMembersOf declaration: some DeclGroupSyntax,
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[444 / 455] TypeScriptBridgeMacros
[447 / 458] TypeScriptBridge
macro expansion @Union:19:23: [1;33mwarning: [1;39m'is' test is always true[0;0m
`- /host/spi-builder-workspace/Examples/ApiResponses.swift:40:24: [1;39mnote: [1;39mexpanded code originates here[0;0m
[0;36m37 |[0;0m }
[0;36m38 |[0;0m
[0;36m39 |[0;0m [4;39m@Union(ApiOkUser.self, ApiError.self)[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39min expansion of macro 'Union' on enum 'ApiUserResponse' here[0;0m
[0;36m40 |[0;0m enum ApiUserResponse {}
[0;36m +--- [0;0mmacro expansion @Union [0;36m-----------------------------------------[0;0m
[0;36m |[0;0m[0;36m17 |[0;0m typealias Type0 = ApiOkUser
[0;36m |[0;0m[0;36m18 |[0;0m typealias Type1 = ApiError
[0;36m |[0;0m[0;36m19 |[0;0m if Type0.self is any TypeDiscriminated.Type {
[0;36m |[0;0m [0;36m|[0;0m `- [1;33mwarning: [1;39m'is' test is always true[0;0m
[0;36m |[0;0m[0;36m20 |[0;0m if let decoded = try? Type0(from: decoder) {
[0;36m |[0;0m[0;36m21 |[0;0m self = .apiOkUser(decoded)
[0;36m +---------------------------[0;0m[0;36m-----------------------------------------[0;0m
[0;36m41 |[0;0m
[0;36m42 |[0;0m enum ApiResponseExample {
swift-frontend: /home/build-user/swift/lib/SIL/IR/TypeLowering.cpp:3635: auto swift::Lowering::TypeConverter::verifyTrivialLowering(const TypeLowering &, AbstractionPattern, CanType, TypeExpansionContext)::(anonymous class)::operator()(auto, auto, auto *, auto) const [ty:auto = swift::CanType, origTy:auto = swift::Lowering::AbstractionPattern, field:auto = swift::ValueDecl, index:auto = std::optional<unsigned int>]: Assertion `checkConformance(ty, bitwiseCopyableProtocol) && "leaf of non-trivial BitwiseCopyable type that doesn't " "conform to BitwiseCopyable!?"' failed.
Please submit a bug report (https://swift.org/contributing/#reporting-bugs) and include the crash backtrace.
Stack dump:
0. Program arguments: /usr/bin/swift-frontend -frontend -c /host/spi-builder-workspace/Examples/AnalyticsEvents.swift -primary-file /host/spi-builder-workspace/Examples/ApiResponses.swift /host/spi-builder-workspace/Examples/ExtendsHierarchy.swift /host/spi-builder-workspace/Examples/Webhooks.swift /host/spi-builder-workspace/Examples/main.swift -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-typescript-bridge.build/Debug-webassembly-wasm32/Examples-p.build/Objects-normal/wasm32/ApiResponses.d -emit-const-values-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-typescript-bridge.build/Debug-webassembly-wasm32/Examples-p.build/Objects-normal/wasm32/ApiResponses.swiftconstvalues -emit-reference-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-typescript-bridge.build/Debug-webassembly-wasm32/Examples-p.build/Objects-normal/wasm32/ApiResponses.swiftdeps -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-typescript-bridge.build/Debug-webassembly-wasm32/Examples-p.build/Objects-normal/wasm32/ApiResponses.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 6 -Onone -D SWIFT_PACKAGE -D DEBUG -D Xcode -serialize-debugging-options -load-plugin-executable /host/spi-builder-workspace/.build/out/Products/Debug-linux-x86_64/TypeScriptBridgeMacros#TypeScriptBridgeMacros -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/swift-typescript-bridge.build/Debug-webassembly-wasm32/Examples-p.build/DerivedSources-normal/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-typescript-bridge.build/Debug-webassembly-wasm32/Examples-p.build/DerivedSources/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-typescript-bridge.build/Debug-webassembly-wasm32/Examples-p.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG=1 -no-auto-bridging-header-chaining -module-name Examples -package-name spi_builder_workspace -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-typescript-bridge.build/Debug-webassembly-wasm32/Examples-p.build/Objects-normal/wasm32/Examples_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 -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-typescript-bridge.build/Debug-webassembly-wasm32/Examples-p.build/Objects-normal/wasm32/ApiResponses.o -index-unit-output-path /swift-typescript-bridge.build/Debug-webassembly-wasm32/Examples-p.build/Objects-normal/wasm32/ApiResponses.o -index-store-path /host/spi-builder-workspace/.build/out -index-system-modules
1. Swift version 6.4.2-dev (LLVM 15622a86b1749a9, Swift d2e983b81b18217)
2. Compiling with the current language version
3. While evaluating request ASTLoweringRequest(Lowering AST to SIL for file "/host/spi-builder-workspace/Examples/ApiResponses.swift")
4. While silgen visitDecl 'ApiResponseExample' (at /host/spi-builder-workspace/Examples/ApiResponses.swift:42:1)
5. While silgen emitFunction SIL function "@$s8Examples18ApiResponseExampleO4demoyyKFZ".
for 'demo()' (at /host/spi-builder-workspace/Examples/ApiResponses.swift:43:5)
#0 0x00005caec9c2bd98 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/bin/swift-frontend+0x8bb1d98)
#1 0x00005caec9c29585 llvm::sys::RunSignalHandlers() (/usr/bin/swift-frontend+0x8baf585)
#2 0x00005caec9c2cb41 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x000077dd26460520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x000077dd264b49bc pthread_kill (/lib/x86_64-linux-gnu/libc.so.6+0x969bc)
#5 0x000077dd26460476 gsignal (/lib/x86_64-linux-gnu/libc.so.6+0x42476)
#6 0x000077dd264467f3 abort (/lib/x86_64-linux-gnu/libc.so.6+0x287f3)
#7 0x000077dd2644671b (/lib/x86_64-linux-gnu/libc.so.6+0x2871b)
#8 0x000077dd26457e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#9 0x00005caec282d0b0 std::_Function_handler<bool (swift::CanType, swift::Lowering::AbstractionPattern, swift::ValueDecl*, std::optional<unsigned int>), swift::Lowering::TypeConverter::verifyTrivialLowering(swift::Lowering::TypeLowering const&, swift::Lowering::AbstractionPattern, swift::CanType, swift::TypeExpansionContext)::$_14>::_M_invoke(std::_Any_data const&, swift::CanType&&, swift::Lowering::AbstractionPattern&&, swift::ValueDecl*&&, std::optional<unsigned int>&&) TypeLowering.cpp:0:0
#10 0x00005caec2811916 swift::Lowering::TypeConverter::visitAggregateLeaves(swift::Lowering::AbstractionPattern, swift::CanType, swift::TypeExpansionContext, std::function<bool (swift::CanType, swift::Lowering::AbstractionPattern, swift::ValueDecl*, std::optional<unsigned int>)>, std::function<bool (swift::CanType, swift::Lowering::AbstractionPattern, swift::ValueDecl*, std::optional<unsigned int>)>) (/usr/bin/swift-frontend+0x1797916)
#11 0x00005caec2812c52 swift::Lowering::TypeConverter::verifyTrivialLowering(swift::Lowering::TypeLowering const&, swift::Lowering::AbstractionPattern, swift::CanType, swift::TypeExpansionContext) (/usr/bin/swift-frontend+0x1798c52)
#12 0x00005caec281030d swift::Lowering::TypeConverter::getTypeLowering(swift::Lowering::AbstractionPattern, swift::Type, swift::TypeExpansionContext) (/usr/bin/swift-frontend+0x179630d)
#13 0x00005caec2734833 swift::SILFunction::getLoweredType(swift::Type) const (/usr/bin/swift-frontend+0x16ba833)
#14 0x00005caec24c7e36 swift::Lowering::SILGenFunction::emitSwitchStmt(swift::SwitchStmt*) crtstuff.c:0:0
#15 0x00005caec2454304 (anonymous namespace)::StmtEmitter::visitBraceStmt(swift::BraceStmt*) SILGenStmt.cpp:0:0
#16 0x00005caec244da86 swift::ASTVisitor<(anonymous namespace)::StmtEmitter, void, void, void, void, void, void>::visit(swift::Stmt*) SILGenStmt.cpp:0:0
#17 0x00005caec2454304 (anonymous namespace)::StmtEmitter::visitBraceStmt(swift::BraceStmt*) SILGenStmt.cpp:0:0
#18 0x00005caec244dfd7 swift::ASTVisitor<(anonymous namespace)::StmtEmitter, void, void, void, void, void, void>::visit(swift::Stmt*) SILGenStmt.cpp:0:0
#19 0x00005caec2454304 (anonymous namespace)::StmtEmitter::visitBraceStmt(swift::BraceStmt*) SILGenStmt.cpp:0:0
#20 0x00005caec244dc74 swift::ASTVisitor<(anonymous namespace)::StmtEmitter, void, void, void, void, void, void>::visit(swift::Stmt*) SILGenStmt.cpp:0:0
#21 0x00005caec2454304 (anonymous namespace)::StmtEmitter::visitBraceStmt(swift::BraceStmt*) SILGenStmt.cpp:0:0
#22 0x00005caec244c2ed swift::Lowering::SILGenFunction::emitStmt(swift::Stmt*) crtstuff.c:0:0
#23 0x00005caec23c10e7 swift::Lowering::SILGenFunction::emitFunction(swift::FuncDecl*) crtstuff.c:0:0
#24 0x00005caec232aec2 swift::Lowering::SILGenModule::emitFunctionDefinition(swift::SILDeclRef, swift::SILFunction*) crtstuff.c:0:0
#25 0x00005caec232c46d swift::Lowering::SILGenModule::emitOrDelayFunction(swift::SILDeclRef) crtstuff.c:0:0
#26 0x00005caec2329420 swift::Lowering::SILGenModule::emitFunction(swift::FuncDecl*) crtstuff.c:0:0
#27 0x00005caec246c022 (anonymous namespace)::SILGenType::visitFuncDecl(swift::FuncDecl*) SILGenType.cpp:0:0
#28 0x00005caec246728d (anonymous namespace)::SILGenType::emitType() SILGenType.cpp:0:0
#29 0x00005caec2467168 swift::Lowering::SILGenModule::visitNominalTypeDecl(swift::NominalTypeDecl*) crtstuff.c:0:0
#30 0x00005caec232fc2f swift::Lowering::SILGenModule::emitSourceFile(swift::SourceFile*) crtstuff.c:0:0
#31 0x00005caec2330454 swift::ASTLoweringRequest::evaluate(swift::Evaluator&, swift::ASTLoweringDescriptor) const (/usr/bin/swift-frontend+0x12b6454)
#32 0x00005caec244bbe6 swift::SimpleRequest<swift::ASTLoweringRequest, std::unique_ptr<swift::SILModule, std::default_delete<swift::SILModule>> (swift::ASTLoweringDescriptor), (swift::RequestFlags)17>::evaluateRequest(swift::ASTLoweringRequest const&, swift::Evaluator&) crtstuff.c:0:0
#33 0x00005caec2335255 swift::ASTLoweringRequest::OutputType swift::Evaluator::getResultUncached<swift::ASTLoweringRequest, swift::ASTLoweringRequest::OutputType swift::evaluateOrFatal<swift::ASTLoweringRequest>(swift::Evaluator&, swift::ASTLoweringRequest)::'lambda'()>(swift::ASTLoweringRequest const&, swift::ASTLoweringRequest::OutputType swift::evaluateOrFatal<swift::ASTLoweringRequest>(swift::Evaluator&, swift::ASTLoweringRequest)::'lambda'()) crtstuff.c:0:0
#34 0x00005caec2330d2f swift::performASTLowering(swift::FileUnit&, swift::Lowering::TypeConverter&, swift::SILOptions const&, swift::IRGenOptions const*) (/usr/bin/swift-frontend+0x12b6d2f)
#35 0x00005caec1a90be2 swift::performCompileStepsPostSema(swift::CompilerInstance&, int&, swift::FrontendObserver*, llvm::ArrayRef<char const*>) (/usr/bin/swift-frontend+0xa16be2)
#36 0x00005caec1aa8fda withSemanticAnalysis(swift::CompilerInstance&, swift::FrontendObserver*, llvm::function_ref<bool (swift::CompilerInstance&)>, bool) FrontendTool.cpp:0:0
#37 0x00005caec1a96aa9 performCompile(swift::CompilerInstance&, int&, swift::FrontendObserver*, llvm::ArrayRef<char const*>) FrontendTool.cpp:0:0
#38 0x00005caec1a936ee swift::performFrontend(llvm::ArrayRef<char const*>, char const*, void*, swift::FrontendObserver*) (/usr/bin/swift-frontend+0xa196ee)
#39 0x00005caec17abba8 swift::mainEntry(int, char const**) (/usr/bin/swift-frontend+0x731ba8)
#40 0x000077dd26447d90 (/lib/x86_64-linux-gnu/libc.so.6+0x29d90)
#41 0x000077dd26447e40 __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x29e40)
#42 0x00005caec17aaa65 _start (/usr/bin/swift-frontend+0x730a65)
*** Signal 6: Backtracing from 0x77dd2653c9dd... done ***
*** Program crashed: Aborted at 0x000077dd2653c9dd ***
Platform: x86_64 Linux (Ubuntu 22.04.5 LTS)
Thread 0 "swift-frontend" crashed:
0 0x000077dd2653c9dd <unknown> in libc.so.6
Registers:
rax 0x0000000000000000 0
rdx 0x0000000000000006 6
rcx 0x000077dd2653c9dd 48 3d 01 f0 ff ff 73 01 c3 48 8b 0d 23 b4 0f 00 H=·ðÿÿs·ÃH··#´··
rbx 0x0000000000000006 6
rsi 0x000000000000056f 1391
rdi 0x000000000000056f 1391
rbp 0x000000000000056f 1391
rsp 0x00005caf06576068 6b cb c2 c9 ae 5c 00 00 f0 62 57 06 af 5c 00 00 kËÂÉ®\··ðbW·¯\··
r8 0x00005caf065762f0 06 00 00 00 00 00 00 00 fa ff ff ff 00 00 00 00 ········úÿÿÿ····
r9 0x00005caf065762f0 06 00 00 00 00 00 00 00 fa ff ff ff 00 00 00 00 ········úÿÿÿ····
r10 0x00005caf065762f0 06 00 00 00 00 00 00 00 fa ff ff ff 00 00 00 00 ········úÿÿÿ····
r11 0x0000000000000246 582
r12 0x0000000000000000 0
r13 0x0000000000000000 0
r14 0x0000000000000000 0
r15 0x00005caf06576078 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ················
rip 0x000077dd2653c9dd 48 3d 01 f0 ff ff 73 01 c3 48 8b 0d 23 b4 0f 00 H=·ðÿÿs·ÃH··#´··
rflags 0x0000000000000246 ZF PF
cs 0x0033 fs 0x0000 gs 0x0000
Images (27 omitted):
0x000077dd2641e000–0x000077dd265da401 6a6cb5a80fd5e5bb5bf3aeaa111add98e88843a5 libc.so.6 /usr/lib/x86_64-linux-gnu/libc.so.6
Backtrace took 0.00s
Failed frontend command:
/usr/bin/swift-frontend -frontend -c /host/spi-builder-workspace/Examples/AnalyticsEvents.swift -primary-file /host/spi-builder-workspace/Examples/ApiResponses.swift /host/spi-builder-workspace/Examples/ExtendsHierarchy.swift /host/spi-builder-workspace/Examples/Webhooks.swift /host/spi-builder-workspace/Examples/main.swift -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-typescript-bridge.build/Debug-webassembly-wasm32/Examples-p.build/Objects-normal/wasm32/ApiResponses.d -emit-const-values-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-typescript-bridge.build/Debug-webassembly-wasm32/Examples-p.build/Objects-normal/wasm32/ApiResponses.swiftconstvalues -emit-reference-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-typescript-bridge.build/Debug-webassembly-wasm32/Examples-p.build/Objects-normal/wasm32/ApiResponses.swiftdeps -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-typescript-bridge.build/Debug-webassembly-wasm32/Examples-p.build/Objects-normal/wasm32/ApiResponses.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 6 -Onone -D SWIFT_PACKAGE -D DEBUG -D Xcode -serialize-debugging-options -load-plugin-executable /host/spi-builder-workspace/.build/out/Products/Debug-linux-x86_64/TypeScriptBridgeMacros\#TypeScriptBridgeMacros -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/swift-typescript-bridge.build/Debug-webassembly-wasm32/Examples-p.build/DerivedSources-normal/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-typescript-bridge.build/Debug-webassembly-wasm32/Examples-p.build/DerivedSources/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-typescript-bridge.build/Debug-webassembly-wasm32/Examples-p.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name Examples -package-name spi_builder_workspace -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-typescript-bridge.build/Debug-webassembly-wasm32/Examples-p.build/Objects-normal/wasm32/Examples_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 -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-typescript-bridge.build/Debug-webassembly-wasm32/Examples-p.build/Objects-normal/wasm32/ApiResponses.o -index-unit-output-path /swift-typescript-bridge.build/Debug-webassembly-wasm32/Examples-p.build/Objects-normal/wasm32/ApiResponses.o -index-store-path /host/spi-builder-workspace/.build/out -index-system-modules
macro expansion @Union:20:23: [1;33mwarning: [1;39m'is' test is always true[0;0m
`- /host/spi-builder-workspace/Examples/AnalyticsEvents.swift:47:26: [1;39mnote: [1;39mexpanded code originates here[0;0m
[0;36m44 |[0;0m }
[0;36m45 |[0;0m
[0;36m46 |[0;0m [4;39m@Union(AnalyticsPageView.self, AnalyticsClick.self, AnalyticsErrorOccurred.self)[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39min expansion of macro 'Union' on enum 'AnalyticsAnyEvent' here[0;0m
[0;36m47 |[0;0m enum AnalyticsAnyEvent {}
[0;36m +--- [0;0mmacro expansion @Union [0;36m-----------------------------------------[0;0m
[0;36m |[0;0m[0;36m18 |[0;0m typealias Type1 = AnalyticsClick
[0;36m |[0;0m[0;36m19 |[0;0m typealias Type2 = AnalyticsErrorOccurred
[0;36m |[0;0m[0;36m20 |[0;0m if Type0.self is any TypeDiscriminated.Type {
[0;36m |[0;0m [0;36m|[0;0m `- [1;33mwarning: [1;39m'is' test is always true[0;0m
[0;36m |[0;0m[0;36m21 |[0;0m if let decoded = try? Type0(from: decoder) {
[0;36m |[0;0m[0;36m22 |[0;0m self = .analyticsPageView(decoded)
[0;36m +---------------------------[0;0m[0;36m-----------------------------------------[0;0m
[0;36m48 |[0;0m
[0;36m49 |[0;0m enum AnalyticsExample {
macro expansion @Union:26:23: [1;33mwarning: [1;39m'is' test is always true[0;0m
`- /host/spi-builder-workspace/Examples/AnalyticsEvents.swift:47:26: [1;39mnote: [1;39mexpanded code originates here[0;0m
[0;36m44 |[0;0m }
[0;36m45 |[0;0m
[0;36m46 |[0;0m [4;39m@Union(AnalyticsPageView.self, AnalyticsClick.self, AnalyticsErrorOccurred.self)[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39min expansion of macro 'Union' on enum 'AnalyticsAnyEvent' here[0;0m
[0;36m47 |[0;0m enum AnalyticsAnyEvent {}
[0;36m +--- [0;0mmacro expansion @Union [0;36m-----------------------------------------[0;0m
[0;36m |[0;0m[0;36m24 |[0;0m }
[0;36m |[0;0m[0;36m25 |[0;0m }
[0;36m |[0;0m[0;36m26 |[0;0m if Type1.self is any TypeDiscriminated.Type {
[0;36m |[0;0m [0;36m|[0;0m `- [1;33mwarning: [1;39m'is' test is always true[0;0m
[0;36m |[0;0m[0;36m27 |[0;0m if let decoded = try? Type1(from: decoder) {
[0;36m |[0;0m[0;36m28 |[0;0m self = .analyticsClick(decoded)
[0;36m +---------------------------[0;0m[0;36m-----------------------------------------[0;0m
[0;36m48 |[0;0m
[0;36m49 |[0;0m enum AnalyticsExample {
swift-frontend: /home/build-user/swift/lib/SIL/IR/TypeLowering.cpp:3635: auto swift::Lowering::TypeConverter::verifyTrivialLowering(const TypeLowering &, AbstractionPattern, CanType, TypeExpansionContext)::(anonymous class)::operator()(auto, auto, auto *, auto) const [ty:auto = swift::CanType, origTy:auto = swift::Lowering::AbstractionPattern, field:auto = swift::ValueDecl, index:auto = std::optional<unsigned int>]: Assertion `checkConformance(ty, bitwiseCopyableProtocol) && "leaf of non-trivial BitwiseCopyable type that doesn't " "conform to BitwiseCopyable!?"' failed.
Please submit a bug report (https://swift.org/contributing/#reporting-bugs) and include the crash backtrace.
Stack dump:
0. Program arguments: /usr/bin/swift-frontend -frontend -c -primary-file /host/spi-builder-workspace/Examples/AnalyticsEvents.swift /host/spi-builder-workspace/Examples/ApiResponses.swift /host/spi-builder-workspace/Examples/ExtendsHierarchy.swift /host/spi-builder-workspace/Examples/Webhooks.swift /host/spi-builder-workspace/Examples/main.swift -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-typescript-bridge.build/Debug-webassembly-wasm32/Examples-p.build/Objects-normal/wasm32/AnalyticsEvents.d -emit-const-values-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-typescript-bridge.build/Debug-webassembly-wasm32/Examples-p.build/Objects-normal/wasm32/AnalyticsEvents.swiftconstvalues -emit-reference-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-typescript-bridge.build/Debug-webassembly-wasm32/Examples-p.build/Objects-normal/wasm32/AnalyticsEvents.swiftdeps -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-typescript-bridge.build/Debug-webassembly-wasm32/Examples-p.build/Objects-normal/wasm32/AnalyticsEvents.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 6 -Onone -D SWIFT_PACKAGE -D DEBUG -D Xcode -serialize-debugging-options -load-plugin-executable /host/spi-builder-workspace/.build/out/Products/Debug-linux-x86_64/TypeScriptBridgeMacros#TypeScriptBridgeMacros -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/swift-typescript-bridge.build/Debug-webassembly-wasm32/Examples-p.build/DerivedSources-normal/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-typescript-bridge.build/Debug-webassembly-wasm32/Examples-p.build/DerivedSources/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-typescript-bridge.build/Debug-webassembly-wasm32/Examples-p.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG=1 -no-auto-bridging-header-chaining -module-name Examples -package-name spi_builder_workspace -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-typescript-bridge.build/Debug-webassembly-wasm32/Examples-p.build/Objects-normal/wasm32/Examples_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 -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-typescript-bridge.build/Debug-webassembly-wasm32/Examples-p.build/Objects-normal/wasm32/AnalyticsEvents.o -index-unit-output-path /swift-typescript-bridge.build/Debug-webassembly-wasm32/Examples-p.build/Objects-normal/wasm32/AnalyticsEvents.o -index-store-path /host/spi-builder-workspace/.build/out -index-system-modules
1. Swift version 6.4.2-dev (LLVM 15622a86b1749a9, Swift d2e983b81b18217)
2. Compiling with the current language version
3. While evaluating request ASTLoweringRequest(Lowering AST to SIL for file "/host/spi-builder-workspace/Examples/AnalyticsEvents.swift")
4. While silgen visitDecl 'AnalyticsExample' (at /host/spi-builder-workspace/Examples/AnalyticsEvents.swift:49:1)
5. While silgen emitFunction SIL function "@$s8Examples16AnalyticsExampleO4demoyyKFZ".
for 'demo()' (at /host/spi-builder-workspace/Examples/AnalyticsEvents.swift:50:5)
#0 0x0000630ce37e1d98 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/bin/swift-frontend+0x8bb1d98)
#1 0x0000630ce37df585 llvm::sys::RunSignalHandlers() (/usr/bin/swift-frontend+0x8baf585)
#2 0x0000630ce37e2b41 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007c8786599520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007c87865ed9bc pthread_kill (/lib/x86_64-linux-gnu/libc.so.6+0x969bc)
#5 0x00007c8786599476 gsignal (/lib/x86_64-linux-gnu/libc.so.6+0x42476)
#6 0x00007c878657f7f3 abort (/lib/x86_64-linux-gnu/libc.so.6+0x287f3)
#7 0x00007c878657f71b (/lib/x86_64-linux-gnu/libc.so.6+0x2871b)
#8 0x00007c8786590e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#9 0x0000630cdc3e30b0 std::_Function_handler<bool (swift::CanType, swift::Lowering::AbstractionPattern, swift::ValueDecl*, std::optional<unsigned int>), swift::Lowering::TypeConverter::verifyTrivialLowering(swift::Lowering::TypeLowering const&, swift::Lowering::AbstractionPattern, swift::CanType, swift::TypeExpansionContext)::$_14>::_M_invoke(std::_Any_data const&, swift::CanType&&, swift::Lowering::AbstractionPattern&&, swift::ValueDecl*&&, std::optional<unsigned int>&&) TypeLowering.cpp:0:0
#10 0x0000630cdc3c7916 swift::Lowering::TypeConverter::visitAggregateLeaves(swift::Lowering::AbstractionPattern, swift::CanType, swift::TypeExpansionContext, std::function<bool (swift::CanType, swift::Lowering::AbstractionPattern, swift::ValueDecl*, std::optional<unsigned int>)>, std::function<bool (swift::CanType, swift::Lowering::AbstractionPattern, swift::ValueDecl*, std::optional<unsigned int>)>) (/usr/bin/swift-frontend+0x1797916)
#11 0x0000630cdc3c8c52 swift::Lowering::TypeConverter::verifyTrivialLowering(swift::Lowering::TypeLowering const&, swift::Lowering::AbstractionPattern, swift::CanType, swift::TypeExpansionContext) (/usr/bin/swift-frontend+0x1798c52)
#12 0x0000630cdc3c630d swift::Lowering::TypeConverter::getTypeLowering(swift::Lowering::AbstractionPattern, swift::Type, swift::TypeExpansionContext) (/usr/bin/swift-frontend+0x179630d)
#13 0x0000630cdc2ea6b3 swift::SILFunction::getTypeLowering(swift::Type) const (/usr/bin/swift-frontend+0x16ba6b3)
#14 0x0000630cdbf22d58 (anonymous namespace)::LetValueInitialization::LetValueInitialization(swift::VarDecl*, swift::Lowering::SILGenFunction&) SILGenDecl.cpp:0:0
#15 0x0000630cdbf2292d swift::Lowering::SILGenFunction::emitInitializationForVarDecl(swift::VarDecl*, bool, bool) crtstuff.c:0:0
#16 0x0000630cdbf23d7f swift::Lowering::SILGenFunction::emitPatternBinding(swift::PatternBindingDecl*, unsigned int, bool) crtstuff.c:0:0
#17 0x0000630cdbf2e0c2 swift::ASTVisitor<swift::Lowering::SILGenFunction, void, void, void, void, void, void>::visit(swift::Decl*) crtstuff.c:0:0
#18 0x0000630cdc00a1d0 (anonymous namespace)::StmtEmitter::visitBraceStmt(swift::BraceStmt*) SILGenStmt.cpp:0:0
#19 0x0000630cdc003a86 swift::ASTVisitor<(anonymous namespace)::StmtEmitter, void, void, void, void, void, void>::visit(swift::Stmt*) SILGenStmt.cpp:0:0
#20 0x0000630cdc00a304 (anonymous namespace)::StmtEmitter::visitBraceStmt(swift::BraceStmt*) SILGenStmt.cpp:0:0
#21 0x0000630cdc003fd7 swift::ASTVisitor<(anonymous namespace)::StmtEmitter, void, void, void, void, void, void>::visit(swift::Stmt*) SILGenStmt.cpp:0:0
#22 0x0000630cdc00a304 (anonymous namespace)::StmtEmitter::visitBraceStmt(swift::BraceStmt*) SILGenStmt.cpp:0:0
#23 0x0000630cdc003c74 swift::ASTVisitor<(anonymous namespace)::StmtEmitter, void, void, void, void, void, void>::visit(swift::Stmt*) SILGenStmt.cpp:0:0
#24 0x0000630cdc00a304 (anonymous namespace)::StmtEmitter::visitBraceStmt(swift::BraceStmt*) SILGenStmt.cpp:0:0
#25 0x0000630cdc0022ed swift::Lowering::SILGenFunction::emitStmt(swift::Stmt*) crtstuff.c:0:0
#26 0x0000630cdbf770e7 swift::Lowering::SILGenFunction::emitFunction(swift::FuncDecl*) crtstuff.c:0:0
#27 0x0000630cdbee0ec2 swift::Lowering::SILGenModule::emitFunctionDefinition(swift::SILDeclRef, swift::SILFunction*) crtstuff.c:0:0
#28 0x0000630cdbee246d swift::Lowering::SILGenModule::emitOrDelayFunction(swift::SILDeclRef) crtstuff.c:0:0
#29 0x0000630cdbedf420 swift::Lowering::SILGenModule::emitFunction(swift::FuncDecl*) crtstuff.c:0:0
#30 0x0000630cdc022022 (anonymous namespace)::SILGenType::visitFuncDecl(swift::FuncDecl*) SILGenType.cpp:0:0
#31 0x0000630cdc01d28d (anonymous namespace)::SILGenType::emitType() SILGenType.cpp:0:0
#32 0x0000630cdc01d168 swift::Lowering::SILGenModule::visitNominalTypeDecl(swift::NominalTypeDecl*) crtstuff.c:0:0
#33 0x0000630cdbee5c2f swift::Lowering::SILGenModule::emitSourceFile(swift::SourceFile*) crtstuff.c:0:0
#34 0x0000630cdbee6454 swift::ASTLoweringRequest::evaluate(swift::Evaluator&, swift::ASTLoweringDescriptor) const (/usr/bin/swift-frontend+0x12b6454)
#35 0x0000630cdc001be6 swift::SimpleRequest<swift::ASTLoweringRequest, std::unique_ptr<swift::SILModule, std::default_delete<swift::SILModule>> (swift::ASTLoweringDescriptor), (swift::RequestFlags)17>::evaluateRequest(swift::ASTLoweringRequest const&, swift::Evaluator&) crtstuff.c:0:0
#36 0x0000630cdbeeb255 swift::ASTLoweringRequest::OutputType swift::Evaluator::getResultUncached<swift::ASTLoweringRequest, swift::ASTLoweringRequest::OutputType swift::evaluateOrFatal<swift::ASTLoweringRequest>(swift::Evaluator&, swift::ASTLoweringRequest)::'lambda'()>(swift::ASTLoweringRequest const&, swift::ASTLoweringRequest::OutputType swift::evaluateOrFatal<swift::ASTLoweringRequest>(swift::Evaluator&, swift::ASTLoweringRequest)::'lambda'()) crtstuff.c:0:0
#37 0x0000630cdbee6d2f swift::performASTLowering(swift::FileUnit&, swift::Lowering::TypeConverter&, swift::SILOptions const&, swift::IRGenOptions const*) (/usr/bin/swift-frontend+0x12b6d2f)
#38 0x0000630cdb646be2 swift::performCompileStepsPostSema(swift::CompilerInstance&, int&, swift::FrontendObserver*, llvm::ArrayRef<char const*>) (/usr/bin/swift-frontend+0xa16be2)
#39 0x0000630cdb65efda withSemanticAnalysis(swift::CompilerInstance&, swift::FrontendObserver*, llvm::function_ref<bool (swift::CompilerInstance&)>, bool) FrontendTool.cpp:0:0
#40 0x0000630cdb64caa9 performCompile(swift::CompilerInstance&, int&, swift::FrontendObserver*, llvm::ArrayRef<char const*>) FrontendTool.cpp:0:0
#41 0x0000630cdb6496ee swift::performFrontend(llvm::ArrayRef<char const*>, char const*, void*, swift::FrontendObserver*) (/usr/bin/swift-frontend+0xa196ee)
#42 0x0000630cdb361ba8 swift::mainEntry(int, char const**) (/usr/bin/swift-frontend+0x731ba8)
#43 0x00007c8786580d90 (/lib/x86_64-linux-gnu/libc.so.6+0x29d90)
#44 0x00007c8786580e40 __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x29e40)
#45 0x0000630cdb360a65 _start (/usr/bin/swift-frontend+0x730a65)
*** Signal 6: Backtracing from 0x7c87866759dd... done ***
*** Program crashed: Aborted at 0x00007c87866759dd ***
Platform: x86_64 Linux (Ubuntu 22.04.5 LTS)
Thread 0 "swift-frontend" crashed:
0 0x00007c87866759dd <unknown> in libc.so.6
Registers:
rax 0x0000000000000000 0
rdx 0x0000000000000006 6
rcx 0x00007c87866759dd 48 3d 01 f0 ff ff 73 01 c3 48 8b 0d 23 b4 0f 00 H=·ðÿÿs·ÃH··#´··
rbx 0x0000000000000006 6
rsi 0x000000000000056a 1386
rdi 0x000000000000056a 1386
rbp 0x000000000000056a 1386
rsp 0x0000630cfa379068 6b 2b 7e e3 0c 63 00 00 f0 92 37 fa 0c 63 00 00 k+~ã·c··ð·7ú·c··
r8 0x0000630cfa3792f0 06 00 00 00 00 00 00 00 fa ff ff ff 00 00 00 00 ········úÿÿÿ····
r9 0x0000630cfa3792f0 06 00 00 00 00 00 00 00 fa ff ff ff 00 00 00 00 ········úÿÿÿ····
r10 0x0000630cfa3792f0 06 00 00 00 00 00 00 00 fa ff ff ff 00 00 00 00 ········úÿÿÿ····
r11 0x0000000000000246 582
r12 0x0000000000000000 0
r13 0x0000000000000000 0
r14 0x0000000000000000 0
r15 0x0000630cfa379078 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ················
rip 0x00007c87866759dd 48 3d 01 f0 ff ff 73 01 c3 48 8b 0d 23 b4 0f 00 H=·ðÿÿs·ÃH··#´··
rflags 0x0000000000000246 ZF PF
cs 0x0033 fs 0x0000 gs 0x0000
Images (27 omitted):
0x00007c8786557000–0x00007c8786713401 6a6cb5a80fd5e5bb5bf3aeaa111add98e88843a5 libc.so.6 /usr/lib/x86_64-linux-gnu/libc.so.6
Backtrace took 0.00s
Failed frontend command:
/usr/bin/swift-frontend -frontend -c -primary-file /host/spi-builder-workspace/Examples/AnalyticsEvents.swift /host/spi-builder-workspace/Examples/ApiResponses.swift /host/spi-builder-workspace/Examples/ExtendsHierarchy.swift /host/spi-builder-workspace/Examples/Webhooks.swift /host/spi-builder-workspace/Examples/main.swift -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-typescript-bridge.build/Debug-webassembly-wasm32/Examples-p.build/Objects-normal/wasm32/AnalyticsEvents.d -emit-const-values-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-typescript-bridge.build/Debug-webassembly-wasm32/Examples-p.build/Objects-normal/wasm32/AnalyticsEvents.swiftconstvalues -emit-reference-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-typescript-bridge.build/Debug-webassembly-wasm32/Examples-p.build/Objects-normal/wasm32/AnalyticsEvents.swiftdeps -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-typescript-bridge.build/Debug-webassembly-wasm32/Examples-p.build/Objects-normal/wasm32/AnalyticsEvents.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 6 -Onone -D SWIFT_PACKAGE -D DEBUG -D Xcode -serialize-debugging-options -load-plugin-executable /host/spi-builder-workspace/.build/out/Products/Debug-linux-x86_64/TypeScriptBridgeMacros\#TypeScriptBridgeMacros -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/swift-typescript-bridge.build/Debug-webassembly-wasm32/Examples-p.build/DerivedSources-normal/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-typescript-bridge.build/Debug-webassembly-wasm32/Examples-p.build/DerivedSources/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-typescript-bridge.build/Debug-webassembly-wasm32/Examples-p.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name Examples -package-name spi_builder_workspace -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-typescript-bridge.build/Debug-webassembly-wasm32/Examples-p.build/Objects-normal/wasm32/Examples_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 -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-typescript-bridge.build/Debug-webassembly-wasm32/Examples-p.build/Objects-normal/wasm32/AnalyticsEvents.o -index-unit-output-path /swift-typescript-bridge.build/Debug-webassembly-wasm32/Examples-p.build/Objects-normal/wasm32/AnalyticsEvents.o -index-store-path /host/spi-builder-workspace/.build/out -index-system-modules
macro expansion @Union:20:23: [1;33mwarning: [1;39m'is' test is always true[0;0m
`- /host/spi-builder-workspace/Examples/Webhooks.swift:36:21: [1;39mnote: [1;39mexpanded code originates here[0;0m
[0;36m33 |[0;0m }
[0;36m34 |[0;0m
[0;36m35 |[0;0m [4;39m@Union(WebhookMessageCreated.self, WebhookReactionAdded.self, WebhookUserJoined.self)[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39min expansion of macro 'Union' on enum 'WebhookEvent' here[0;0m
[0;36m36 |[0;0m enum WebhookEvent {}
[0;36m +--- [0;0mmacro expansion @Union [0;36m-----------------------------------------[0;0m
[0;36m |[0;0m[0;36m18 |[0;0m typealias Type1 = WebhookReactionAdded
[0;36m |[0;0m[0;36m19 |[0;0m typealias Type2 = WebhookUserJoined
[0;36m |[0;0m[0;36m20 |[0;0m if Type0.self is any TypeDiscriminated.Type {
[0;36m |[0;0m [0;36m|[0;0m `- [1;33mwarning: [1;39m'is' test is always true[0;0m
[0;36m |[0;0m[0;36m21 |[0;0m if let decoded = try? Type0(from: decoder) {
[0;36m |[0;0m[0;36m22 |[0;0m self = .webhookMessageCreated(decoded)
[0;36m +---------------------------[0;0m[0;36m-----------------------------------------[0;0m
[0;36m37 |[0;0m
[0;36m38 |[0;0m enum WebhookExample {
macro expansion @Union:26:23: [1;33mwarning: [1;39m'is' test is always true[0;0m
`- /host/spi-builder-workspace/Examples/Webhooks.swift:36:21: [1;39mnote: [1;39mexpanded code originates here[0;0m
[0;36m33 |[0;0m }
[0;36m34 |[0;0m
[0;36m35 |[0;0m [4;39m@Union(WebhookMessageCreated.self, WebhookReactionAdded.self, WebhookUserJoined.self)[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39min expansion of macro 'Union' on enum 'WebhookEvent' here[0;0m
[0;36m36 |[0;0m enum WebhookEvent {}
[0;36m +--- [0;0mmacro expansion @Union [0;36m-----------------------------------------[0;0m
[0;36m |[0;0m[0;36m24 |[0;0m }
[0;36m |[0;0m[0;36m25 |[0;0m }
[0;36m |[0;0m[0;36m26 |[0;0m if Type1.self is any TypeDiscriminated.Type {
[0;36m |[0;0m [0;36m|[0;0m `- [1;33mwarning: [1;39m'is' test is always true[0;0m
[0;36m |[0;0m[0;36m27 |[0;0m if let decoded = try? Type1(from: decoder) {
[0;36m |[0;0m[0;36m28 |[0;0m self = .webhookReactionAdded(decoded)
[0;36m +---------------------------[0;0m[0;36m-----------------------------------------[0;0m
[0;36m37 |[0;0m
[0;36m38 |[0;0m enum WebhookExample {
swift-frontend: /home/build-user/swift/lib/SIL/IR/TypeLowering.cpp:3635: auto swift::Lowering::TypeConverter::verifyTrivialLowering(const TypeLowering &, AbstractionPattern, CanType, TypeExpansionContext)::(anonymous class)::operator()(auto, auto, auto *, auto) const [ty:auto = swift::CanType, origTy:auto = swift::Lowering::AbstractionPattern, field:auto = swift::ValueDecl, index:auto = std::optional<unsigned int>]: Assertion `checkConformance(ty, bitwiseCopyableProtocol) && "leaf of non-trivial BitwiseCopyable type that doesn't " "conform to BitwiseCopyable!?"' failed.
Please submit a bug report (https://swift.org/contributing/#reporting-bugs) and include the crash backtrace.
Stack dump:
0. Program arguments: /usr/bin/swift-frontend -frontend -c /host/spi-builder-workspace/Examples/AnalyticsEvents.swift /host/spi-builder-workspace/Examples/ApiResponses.swift /host/spi-builder-workspace/Examples/ExtendsHierarchy.swift -primary-file /host/spi-builder-workspace/Examples/Webhooks.swift /host/spi-builder-workspace/Examples/main.swift -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-typescript-bridge.build/Debug-webassembly-wasm32/Examples-p.build/Objects-normal/wasm32/Webhooks.d -emit-const-values-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-typescript-bridge.build/Debug-webassembly-wasm32/Examples-p.build/Objects-normal/wasm32/Webhooks.swiftconstvalues -emit-reference-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-typescript-bridge.build/Debug-webassembly-wasm32/Examples-p.build/Objects-normal/wasm32/Webhooks.swiftdeps -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-typescript-bridge.build/Debug-webassembly-wasm32/Examples-p.build/Objects-normal/wasm32/Webhooks.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 6 -Onone -D SWIFT_PACKAGE -D DEBUG -D Xcode -serialize-debugging-options -load-plugin-executable /host/spi-builder-workspace/.build/out/Products/Debug-linux-x86_64/TypeScriptBridgeMacros#TypeScriptBridgeMacros -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/swift-typescript-bridge.build/Debug-webassembly-wasm32/Examples-p.build/DerivedSources-normal/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-typescript-bridge.build/Debug-webassembly-wasm32/Examples-p.build/DerivedSources/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-typescript-bridge.build/Debug-webassembly-wasm32/Examples-p.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG=1 -no-auto-bridging-header-chaining -module-name Examples -package-name spi_builder_workspace -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-typescript-bridge.build/Debug-webassembly-wasm32/Examples-p.build/Objects-normal/wasm32/Examples_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 -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-typescript-bridge.build/Debug-webassembly-wasm32/Examples-p.build/Objects-normal/wasm32/Webhooks.o -index-unit-output-path /swift-typescript-bridge.build/Debug-webassembly-wasm32/Examples-p.build/Objects-normal/wasm32/Webhooks.o -index-store-path /host/spi-builder-workspace/.build/out -index-system-modules
1. Swift version 6.4.2-dev (LLVM 15622a86b1749a9, Swift d2e983b81b18217)
2. Compiling with the current language version
3. While evaluating request ASTLoweringRequest(Lowering AST to SIL for file "/host/spi-builder-workspace/Examples/Webhooks.swift")
4. While silgen visitDecl 'WebhookExample' (at /host/spi-builder-workspace/Examples/Webhooks.swift:38:1)
5. While silgen emitFunction SIL function "@$s8Examples14WebhookExampleO4demoyyKFZ".
for 'demo()' (at /host/spi-builder-workspace/Examples/Webhooks.swift:39:5)
#0 0x00005dcacb314d98 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/bin/swift-frontend+0x8bb1d98)
#1 0x00005dcacb312585 llvm::sys::RunSignalHandlers() (/usr/bin/swift-frontend+0x8baf585)
#2 0x00005dcacb315b41 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x0000724c6f29e520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x0000724c6f2f29bc pthread_kill (/lib/x86_64-linux-gnu/libc.so.6+0x969bc)
#5 0x0000724c6f29e476 gsignal (/lib/x86_64-linux-gnu/libc.so.6+0x42476)
#6 0x0000724c6f2847f3 abort (/lib/x86_64-linux-gnu/libc.so.6+0x287f3)
#7 0x0000724c6f28471b (/lib/x86_64-linux-gnu/libc.so.6+0x2871b)
#8 0x0000724c6f295e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#9 0x00005dcac3f160b0 std::_Function_handler<bool (swift::CanType, swift::Lowering::AbstractionPattern, swift::ValueDecl*, std::optional<unsigned int>), swift::Lowering::TypeConverter::verifyTrivialLowering(swift::Lowering::TypeLowering const&, swift::Lowering::AbstractionPattern, swift::CanType, swift::TypeExpansionContext)::$_14>::_M_invoke(std::_Any_data const&, swift::CanType&&, swift::Lowering::AbstractionPattern&&, swift::ValueDecl*&&, std::optional<unsigned int>&&) TypeLowering.cpp:0:0
#10 0x00005dcac3efa916 swift::Lowering::TypeConverter::visitAggregateLeaves(swift::Lowering::AbstractionPattern, swift::CanType, swift::TypeExpansionContext, std::function<bool (swift::CanType, swift::Lowering::AbstractionPattern, swift::ValueDecl*, std::optional<unsigned int>)>, std::function<bool (swift::CanType, swift::Lowering::AbstractionPattern, swift::ValueDecl*, std::optional<unsigned int>)>) (/usr/bin/swift-frontend+0x1797916)
#11 0x00005dcac3efbc52 swift::Lowering::TypeConverter::verifyTrivialLowering(swift::Lowering::TypeLowering const&, swift::Lowering::AbstractionPattern, swift::CanType, swift::TypeExpansionContext) (/usr/bin/swift-frontend+0x1798c52)
#12 0x00005dcac3ef930d swift::Lowering::TypeConverter::getTypeLowering(swift::Lowering::AbstractionPattern, swift::Type, swift::TypeExpansionContext) (/usr/bin/swift-frontend+0x179630d)
#13 0x00005dcac3e1d833 swift::SILFunction::getLoweredType(swift::Type) const (/usr/bin/swift-frontend+0x16ba833)
#14 0x00005dcac3bb0e36 swift::Lowering::SILGenFunction::emitSwitchStmt(swift::SwitchStmt*) crtstuff.c:0:0
#15 0x00005dcac3b3d304 (anonymous namespace)::StmtEmitter::visitBraceStmt(swift::BraceStmt*) SILGenStmt.cpp:0:0
#16 0x00005dcac3b36a86 swift::ASTVisitor<(anonymous namespace)::StmtEmitter, void, void, void, void, void, void>::visit(swift::Stmt*) SILGenStmt.cpp:0:0
#17 0x00005dcac3b3d304 (anonymous namespace)::StmtEmitter::visitBraceStmt(swift::BraceStmt*) SILGenStmt.cpp:0:0
#18 0x00005dcac3b36fd7 swift::ASTVisitor<(anonymous namespace)::StmtEmitter, void, void, void, void, void, void>::visit(swift::Stmt*) SILGenStmt.cpp:0:0
#19 0x00005dcac3b3d304 (anonymous namespace)::StmtEmitter::visitBraceStmt(swift::BraceStmt*) SILGenStmt.cpp:0:0
#20 0x00005dcac3b36c74 swift::ASTVisitor<(anonymous namespace)::StmtEmitter, void, void, void, void, void, void>::visit(swift::Stmt*) SILGenStmt.cpp:0:0
#21 0x00005dcac3b3d304 (anonymous namespace)::StmtEmitter::visitBraceStmt(swift::BraceStmt*) SILGenStmt.cpp:0:0
#22 0x00005dcac3b352ed swift::Lowering::SILGenFunction::emitStmt(swift::Stmt*) crtstuff.c:0:0
#23 0x00005dcac3aaa0e7 swift::Lowering::SILGenFunction::emitFunction(swift::FuncDecl*) crtstuff.c:0:0
#24 0x00005dcac3a13ec2 swift::Lowering::SILGenModule::emitFunctionDefinition(swift::SILDeclRef, swift::SILFunction*) crtstuff.c:0:0
#25 0x00005dcac3a1546d swift::Lowering::SILGenModule::emitOrDelayFunction(swift::SILDeclRef) crtstuff.c:0:0
#26 0x00005dcac3a12420 swift::Lowering::SILGenModule::emitFunction(swift::FuncDecl*) crtstuff.c:0:0
#27 0x00005dcac3b55022 (anonymous namespace)::SILGenType::visitFuncDecl(swift::FuncDecl*) SILGenType.cpp:0:0
#28 0x00005dcac3b5028d (anonymous namespace)::SILGenType::emitType() SILGenType.cpp:0:0
#29 0x00005dcac3b50168 swift::Lowering::SILGenModule::visitNominalTypeDecl(swift::NominalTypeDecl*) crtstuff.c:0:0
#30 0x00005dcac3a18c2f swift::Lowering::SILGenModule::emitSourceFile(swift::SourceFile*) crtstuff.c:0:0
#31 0x00005dcac3a19454 swift::ASTLoweringRequest::evaluate(swift::Evaluator&, swift::ASTLoweringDescriptor) const (/usr/bin/swift-frontend+0x12b6454)
#32 0x00005dcac3b34be6 swift::SimpleRequest<swift::ASTLoweringRequest, std::unique_ptr<swift::SILModule, std::default_delete<swift::SILModule>> (swift::ASTLoweringDescriptor), (swift::RequestFlags)17>::evaluateRequest(swift::ASTLoweringRequest const&, swift::Evaluator&) crtstuff.c:0:0
#33 0x00005dcac3a1e255 swift::ASTLoweringRequest::OutputType swift::Evaluator::getResultUncached<swift::ASTLoweringRequest, swift::ASTLoweringRequest::OutputType swift::evaluateOrFatal<swift::ASTLoweringRequest>(swift::Evaluator&, swift::ASTLoweringRequest)::'lambda'()>(swift::ASTLoweringRequest const&, swift::ASTLoweringRequest::OutputType swift::evaluateOrFatal<swift::ASTLoweringRequest>(swift::Evaluator&, swift::ASTLoweringRequest)::'lambda'()) crtstuff.c:0:0
#34 0x00005dcac3a19d2f swift::performASTLowering(swift::FileUnit&, swift::Lowering::TypeConverter&, swift::SILOptions const&, swift::IRGenOptions const*) (/usr/bin/swift-frontend+0x12b6d2f)
#35 0x00005dcac3179be2 swift::performCompileStepsPostSema(swift::CompilerInstance&, int&, swift::FrontendObserver*, llvm::ArrayRef<char const*>) (/usr/bin/swift-frontend+0xa16be2)
#36 0x00005dcac3191fda withSemanticAnalysis(swift::CompilerInstance&, swift::FrontendObserver*, llvm::function_ref<bool (swift::CompilerInstance&)>, bool) FrontendTool.cpp:0:0
#37 0x00005dcac317faa9 performCompile(swift::CompilerInstance&, int&, swift::FrontendObserver*, llvm::ArrayRef<char const*>) FrontendTool.cpp:0:0
#38 0x00005dcac317c6ee swift::performFrontend(llvm::ArrayRef<char const*>, char const*, void*, swift::FrontendObserver*) (/usr/bin/swift-frontend+0xa196ee)
#39 0x00005dcac2e94ba8 swift::mainEntry(int, char const**) (/usr/bin/swift-frontend+0x731ba8)
#40 0x0000724c6f285d90 (/lib/x86_64-linux-gnu/libc.so.6+0x29d90)
#41 0x0000724c6f285e40 __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x29e40)
#42 0x00005dcac2e93a65 _start (/usr/bin/swift-frontend+0x730a65)
*** Signal 6: Backtracing from 0x724c6f37a9dd... done ***
*** Program crashed: Aborted at 0x0000724c6f37a9dd ***
Platform: x86_64 Linux (Ubuntu 22.04.5 LTS)
Thread 0 "swift-frontend" crashed:
0 0x0000724c6f37a9dd <unknown> in libc.so.6
Registers:
rax 0x0000000000000000 0
rdx 0x0000000000000006 6
rcx 0x0000724c6f37a9dd 48 3d 01 f0 ff ff 73 01 c3 48 8b 0d 23 b4 0f 00 H=·ðÿÿs·ÃH··#´··
rbx 0x0000000000000006 6
rsi 0x000000000000056e 1390
rdi 0x000000000000056e 1390
rbp 0x000000000000056e 1390
rsp 0x00005dcb09c26068 6b 5b 31 cb ca 5d 00 00 f0 62 c2 09 cb 5d 00 00 k[1ËÊ]··ðb·Ë]··
r8 0x00005dcb09c262f0 06 00 00 00 00 00 00 00 fa ff ff ff 00 00 00 00 ········úÿÿÿ····
r9 0x00005dcb09c262f0 06 00 00 00 00 00 00 00 fa ff ff ff 00 00 00 00 ········úÿÿÿ····
r10 0x00005dcb09c262f0 06 00 00 00 00 00 00 00 fa ff ff ff 00 00 00 00 ········úÿÿÿ····
r11 0x0000000000000246 582
r12 0x0000000000000000 0
r13 0x0000000000000000 0
r14 0x0000000000000000 0
r15 0x00005dcb09c26078 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ················
rip 0x0000724c6f37a9dd 48 3d 01 f0 ff ff 73 01 c3 48 8b 0d 23 b4 0f 00 H=·ðÿÿs·ÃH··#´··
rflags 0x0000000000000246 ZF PF
cs 0x0033 fs 0x0000 gs 0x0000
Images (27 omitted):
0x0000724c6f25c000–0x0000724c6f418401 6a6cb5a80fd5e5bb5bf3aeaa111add98e88843a5 libc.so.6 /usr/lib/x86_64-linux-gnu/libc.so.6
Backtrace took 0.00s
Failed frontend command:
/usr/bin/swift-frontend -frontend -c /host/spi-builder-workspace/Examples/AnalyticsEvents.swift /host/spi-builder-workspace/Examples/ApiResponses.swift /host/spi-builder-workspace/Examples/ExtendsHierarchy.swift -primary-file /host/spi-builder-workspace/Examples/Webhooks.swift /host/spi-builder-workspace/Examples/main.swift -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-typescript-bridge.build/Debug-webassembly-wasm32/Examples-p.build/Objects-normal/wasm32/Webhooks.d -emit-const-values-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-typescript-bridge.build/Debug-webassembly-wasm32/Examples-p.build/Objects-normal/wasm32/Webhooks.swiftconstvalues -emit-reference-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-typescript-bridge.build/Debug-webassembly-wasm32/Examples-p.build/Objects-normal/wasm32/Webhooks.swiftdeps -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-typescript-bridge.build/Debug-webassembly-wasm32/Examples-p.build/Objects-normal/wasm32/Webhooks.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 6 -Onone -D SWIFT_PACKAGE -D DEBUG -D Xcode -serialize-debugging-options -load-plugin-executable /host/spi-builder-workspace/.build/out/Products/Debug-linux-x86_64/TypeScriptBridgeMacros\#TypeScriptBridgeMacros -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/swift-typescript-bridge.build/Debug-webassembly-wasm32/Examples-p.build/DerivedSources-normal/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-typescript-bridge.build/Debug-webassembly-wasm32/Examples-p.build/DerivedSources/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-typescript-bridge.build/Debug-webassembly-wasm32/Examples-p.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name Examples -package-name spi_builder_workspace -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-typescript-bridge.build/Debug-webassembly-wasm32/Examples-p.build/Objects-normal/wasm32/Examples_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 -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-typescript-bridge.build/Debug-webassembly-wasm32/Examples-p.build/Objects-normal/wasm32/Webhooks.o -index-unit-output-path /swift-typescript-bridge.build/Debug-webassembly-wasm32/Examples-p.build/Objects-normal/wasm32/Webhooks.o -index-store-path /host/spi-builder-workspace/.build/out -index-system-modules
error: Build failed
BUILD FAILURE 6.4 wasm