The Swift Package Index logo.Swift Package Index

Build Information

Failed to build swift-typescript-bridge, reference main (79d319), with Swift 6.4 for Android on 25 Sep 2026 10:09:38 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344843-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:android-6.4-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/sunghyun-k/swift-typescript-bridge.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/sunghyun-k/swift-typescript-bridge
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 79d319d Merge pull request #1 from sunghyun-k/github-action
Cloned https://github.com/sunghyun-k/swift-typescript-bridge.git
Revision (git rev-parse @):
79d319d403ceaa8a435156a7e7fb5097a9e52d9b
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/sunghyun-k/swift-typescript-bridge.git at main
========================================
Build
========================================
Selected platform:         android
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-54344843-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:android-6.4-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:abadcff584c273feba50641b454858d377ba30b35ea7287a94f45ebd8afd0ea0
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.4-latest
Fetching https://github.com/swiftlang/swift-syntax.git
Fetching https://github.com/pointfreeco/swift-macro-testing.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.12s)
Fetched https://github.com/swiftlang/swift-syntax.git (3.14s)
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.31s)
Fetching https://github.com/pointfreeco/swift-snapshot-testing
[1/16479] Fetching swift-snapshot-testing
Fetched https://github.com/pointfreeco/swift-snapshot-testing (2.58s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 604.0.0 (3.77s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing
Computed https://github.com/pointfreeco/swift-snapshot-testing at 1.19.6 (0.16s)
Fetching https://github.com/pointfreeco/swift-custom-dump
[1/5666] Fetching swift-custom-dump
Fetched https://github.com/pointfreeco/swift-custom-dump (0.47s)
Computing version for https://github.com/pointfreeco/swift-custom-dump
Computed https://github.com/pointfreeco/swift-custom-dump at 1.7.3 (0.65s)
Fetching https://github.com/pointfreeco/swift-issue-reporting
[1/6161] Fetching swift-issue-reporting
Fetched https://github.com/pointfreeco/swift-issue-reporting (0.83s)
Computing version for https://github.com/pointfreeco/swift-issue-reporting
Computed https://github.com/pointfreeco/swift-issue-reporting at 2.1.1 (1.93s)
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-custom-dump
Working copy of https://github.com/pointfreeco/swift-custom-dump resolved at 1.7.3
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
Building for debugging...
[Computing dependencies]
[Provisioning 23 / 27]
[Pre-planning 1 / 707]
[Planning deferred tasks]
[1 / 296]
[158 / 317] _SwiftSyntaxCShims
[200 / 318]
[201 / 327] SwiftSyntax604
[207 / 329] SwiftSyntax604
[212 / 331] SwiftSyntax600
[225 / 334] SwiftSyntax601
[229 / 334] SwiftSyntax
[230 / 334]
[230 / 334] SwiftSyntax
[243 / 362] SwiftParser
[246 / 362] SwiftDiagnostics
[255 / 362] SwiftBasicFormat
[256 / 362] SwiftParser
[257 / 362] SwiftParser
[258 / 362] SwiftParser
[260 / 362] SwiftParser
[265 / 362] SwiftParser
[268 / 362] SwiftDiagnostics
[269 / 362] SwiftOperators
[272 / 362] SwiftDiagnostics
[273 / 362] SwiftDiagnostics
[276 / 363] SwiftParserDiagnostics
[285 / 383] SwiftOperators
[286 / 383] SwiftParserDiagnostics
[287 / 384] SwiftParserDiagnostics
[291 / 385] SwiftOperators
[301 / 385] SwiftParserDiagnostics
[303 / 385] SwiftParser
[305 / 385] SwiftParser
[306 / 385] SwiftOperators
[308 / 385] SwiftOperators
[310 / 385] SwiftOperators
[313 / 385]
[317 / 395] SwiftOperators
[319 / 396] SwiftSyntaxBuilder
[322 / 396] SwiftSyntaxBuilder
[323 / 396] SwiftSyntaxBuilder
[324 / 396] SwiftSyntaxBuilder
[331 / 397] SwiftOperators
[337 / 407] SwiftIfConfig
[340 / 407] SwiftIfConfig
[342 / 407] SwiftIfConfig
[343 / 407] SwiftIfConfig
[351 / 417] SwiftSyntaxMacros
[359 / 417] SwiftSyntaxMacros
[363 / 418] SwiftSyntaxMacros
[373 / 429] SwiftSyntaxMacroExpansion
[375 / 429] SwiftSyntaxMacroExpansion
[377 / 430] SwiftSyntaxMacroExpansion
[388 / 440] SwiftCompilerPluginMessageHandling
[390 / 440] SwiftCompilerPluginMessageHandling
[393 / 440] SwiftCompilerPluginMessageHandling
[395 / 440] SwiftCompilerPluginMessageHandling
[402 / 443] SwiftCompilerPlugin
[409 / 444] SwiftCompilerPlugin
[411 / 445] SwiftCompilerPluginMessageHandling
[413 / 446] SwiftSyntax
[416 / 447] SwiftSyntax
[423 / 447] SwiftIfConfig
[432 / 448] TypeScriptBridgeMacros
[440 / 456] TypeScriptBridgeMacros
[441 / 456] TypeScriptBridgeMacros
[444 / 457] TypeScriptBridgeMacros
[445 / 457] TypeScriptBridgeMacros
[448 / 460] TypeScriptBridge
macro expansion @Union:20:23: warning: 'is' test is always true
`- /host/spi-builder-workspace/Examples/AnalyticsEvents.swift:47:26: note: expanded code originates here
44 | }
45 |
46 | @Union(AnalyticsPageView.self, AnalyticsClick.self, AnalyticsErrorOccurred.self)
   | `- note: in expansion of macro 'Union' on enum 'AnalyticsAnyEvent' here
47 | enum AnalyticsAnyEvent {}
   +--- macro expansion @Union -----------------------------------------
   |18 |         typealias Type1 = AnalyticsClick
   |19 |         typealias Type2 = AnalyticsErrorOccurred
   |20 |         if Type0.self is any TypeDiscriminated.Type {
   |   |                       `- warning: 'is' test is always true
   |21 |             if let decoded = try? Type0(from: decoder) {
   |22 |                 self = .analyticsPageView(decoded)
   +--------------------------------------------------------------------
48 |
49 | enum AnalyticsExample {
macro expansion @Union:26:23: warning: 'is' test is always true
`- /host/spi-builder-workspace/Examples/AnalyticsEvents.swift:47:26: note: expanded code originates here
44 | }
45 |
46 | @Union(AnalyticsPageView.self, AnalyticsClick.self, AnalyticsErrorOccurred.self)
   | `- note: in expansion of macro 'Union' on enum 'AnalyticsAnyEvent' here
47 | enum AnalyticsAnyEvent {}
   +--- macro expansion @Union -----------------------------------------
   |24 |     }
   |25 | }
   |26 |         if Type1.self is any TypeDiscriminated.Type {
   |   |                       `- warning: 'is' test is always true
   |27 |             if let decoded = try? Type1(from: decoder) {
   |28 |                 self = .analyticsClick(decoded)
   +--------------------------------------------------------------------
48 |
49 | 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: /root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/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-android-aarch64/Examples-p.build/Objects-normal/aarch64/AnalyticsEvents.d -emit-const-values-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-typescript-bridge.build/Debug-android-aarch64/Examples-p.build/Objects-normal/aarch64/AnalyticsEvents.swiftconstvalues -emit-reference-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-typescript-bridge.build/Debug-android-aarch64/Examples-p.build/Objects-normal/aarch64/AnalyticsEvents.swiftdeps -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-typescript-bridge.build/Debug-android-aarch64/Examples-p.build/Objects-normal/aarch64/AnalyticsEvents.dia -target aarch64-unknown-linux-android28 -Xllvm -aarch64-use-tbi -disable-objc-interop -sdk /android-ndk/android-ndk-r27d/toolchains/llvm/prebuilt/linux-x86_64/sysroot -sysroot /android-ndk/android-ndk-r27d/toolchains/llvm/prebuilt/linux-x86_64/sysroot -I /host/spi-builder-workspace/.build/out/Products/Debug-android-aarch64 -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 /root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/lib/swift/host/plugins/testing#/root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/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_android.artifactbundle/swift-android/swift-resources/usr/lib/swift-aarch64 -enable-anonymous-context-mangled-names -file-compilation-dir /host -Xcc -resource-dir -Xcc /android-ndk/android-ndk-r27d/toolchains/llvm/prebuilt/linux-x86_64/lib/clang/18 -Xcc -fno-omit-frame-pointer -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-android-aarch64/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-typescript-bridge.build/Debug-android-aarch64/Examples-p.build/DerivedSources-normal/aarch64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-typescript-bridge.build/Debug-android-aarch64/Examples-p.build/DerivedSources/aarch64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-typescript-bridge.build/Debug-android-aarch64/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-android-aarch64/Examples-p.build/Objects-normal/aarch64/Examples_const_extract_protocols.json -in-process-plugin-server-path /root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/lib/swift/host/libSwiftInProcPluginServer.so -plugin-path /root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/lib/swift/host/plugins -plugin-path /root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/local/lib/swift/host/plugins -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-typescript-bridge.build/Debug-android-aarch64/Examples-p.build/Objects-normal/aarch64/AnalyticsEvents.o -index-unit-output-path /swift-typescript-bridge.build/Debug-android-aarch64/Examples-p.build/Objects-normal/aarch64/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 0x000059c14635fd98 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/bin/swift-frontend+0x8bb1d98)
 #1 0x000059c14635d585 llvm::sys::RunSignalHandlers() (/root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/bin/swift-frontend+0x8baf585)
 #2 0x000059c146360b41 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
 #3 0x00007d1a53b9b520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
 #4 0x00007d1a53bef9bc pthread_kill (/lib/x86_64-linux-gnu/libc.so.6+0x969bc)
 #5 0x00007d1a53b9b476 gsignal (/lib/x86_64-linux-gnu/libc.so.6+0x42476)
 #6 0x00007d1a53b817f3 abort (/lib/x86_64-linux-gnu/libc.so.6+0x287f3)
 #7 0x00007d1a53b8171b (/lib/x86_64-linux-gnu/libc.so.6+0x2871b)
 #8 0x00007d1a53b92e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
 #9 0x000059c13ef610b0 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 0x000059c13ef45916 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>)>) (/root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/bin/swift-frontend+0x1797916)
#11 0x000059c13ef46c52 swift::Lowering::TypeConverter::verifyTrivialLowering(swift::Lowering::TypeLowering const&, swift::Lowering::AbstractionPattern, swift::CanType, swift::TypeExpansionContext) (/root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/bin/swift-frontend+0x1798c52)
#12 0x000059c13ef4430d swift::Lowering::TypeConverter::getTypeLowering(swift::Lowering::AbstractionPattern, swift::Type, swift::TypeExpansionContext) (/root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/bin/swift-frontend+0x179630d)
#13 0x000059c13ee686b3 swift::SILFunction::getTypeLowering(swift::Type) const (/root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/bin/swift-frontend+0x16ba6b3)
#14 0x000059c13eaa0d58 (anonymous namespace)::LetValueInitialization::LetValueInitialization(swift::VarDecl*, swift::Lowering::SILGenFunction&) SILGenDecl.cpp:0:0
#15 0x000059c13eaa092d swift::Lowering::SILGenFunction::emitInitializationForVarDecl(swift::VarDecl*, bool, bool) crtstuff.c:0:0
#16 0x000059c13eaa1d7f swift::Lowering::SILGenFunction::emitPatternBinding(swift::PatternBindingDecl*, unsigned int, bool) crtstuff.c:0:0
#17 0x000059c13eaac0c2 swift::ASTVisitor<swift::Lowering::SILGenFunction, void, void, void, void, void, void>::visit(swift::Decl*) crtstuff.c:0:0
#18 0x000059c13eb881d0 (anonymous namespace)::StmtEmitter::visitBraceStmt(swift::BraceStmt*) SILGenStmt.cpp:0:0
#19 0x000059c13eb81a86 swift::ASTVisitor<(anonymous namespace)::StmtEmitter, void, void, void, void, void, void>::visit(swift::Stmt*) SILGenStmt.cpp:0:0
#20 0x000059c13eb88304 (anonymous namespace)::StmtEmitter::visitBraceStmt(swift::BraceStmt*) SILGenStmt.cpp:0:0
#21 0x000059c13eb81fd7 swift::ASTVisitor<(anonymous namespace)::StmtEmitter, void, void, void, void, void, void>::visit(swift::Stmt*) SILGenStmt.cpp:0:0
#22 0x000059c13eb88304 (anonymous namespace)::StmtEmitter::visitBraceStmt(swift::BraceStmt*) SILGenStmt.cpp:0:0
#23 0x000059c13eb81c74 swift::ASTVisitor<(anonymous namespace)::StmtEmitter, void, void, void, void, void, void>::visit(swift::Stmt*) SILGenStmt.cpp:0:0
#24 0x000059c13eb88304 (anonymous namespace)::StmtEmitter::visitBraceStmt(swift::BraceStmt*) SILGenStmt.cpp:0:0
#25 0x000059c13eb802ed swift::Lowering::SILGenFunction::emitStmt(swift::Stmt*) crtstuff.c:0:0
#26 0x000059c13eaf50e7 swift::Lowering::SILGenFunction::emitFunction(swift::FuncDecl*) crtstuff.c:0:0
#27 0x000059c13ea5eec2 swift::Lowering::SILGenModule::emitFunctionDefinition(swift::SILDeclRef, swift::SILFunction*) crtstuff.c:0:0
#28 0x000059c13ea6046d swift::Lowering::SILGenModule::emitOrDelayFunction(swift::SILDeclRef) crtstuff.c:0:0
#29 0x000059c13ea5d420 swift::Lowering::SILGenModule::emitFunction(swift::FuncDecl*) crtstuff.c:0:0
#30 0x000059c13eba0022 (anonymous namespace)::SILGenType::visitFuncDecl(swift::FuncDecl*) SILGenType.cpp:0:0
#31 0x000059c13eb9b28d (anonymous namespace)::SILGenType::emitType() SILGenType.cpp:0:0
#32 0x000059c13eb9b168 swift::Lowering::SILGenModule::visitNominalTypeDecl(swift::NominalTypeDecl*) crtstuff.c:0:0
#33 0x000059c13ea63c2f swift::Lowering::SILGenModule::emitSourceFile(swift::SourceFile*) crtstuff.c:0:0
#34 0x000059c13ea64454 swift::ASTLoweringRequest::evaluate(swift::Evaluator&, swift::ASTLoweringDescriptor) const (/root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/bin/swift-frontend+0x12b6454)
#35 0x000059c13eb7fbe6 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 0x000059c13ea69255 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 0x000059c13ea64d2f swift::performASTLowering(swift::FileUnit&, swift::Lowering::TypeConverter&, swift::SILOptions const&, swift::IRGenOptions const*) (/root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/bin/swift-frontend+0x12b6d2f)
#38 0x000059c13e1c4be2 swift::performCompileStepsPostSema(swift::CompilerInstance&, int&, swift::FrontendObserver*, llvm::ArrayRef<char const*>) (/root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/bin/swift-frontend+0xa16be2)
#39 0x000059c13e1dcfda withSemanticAnalysis(swift::CompilerInstance&, swift::FrontendObserver*, llvm::function_ref<bool (swift::CompilerInstance&)>, bool) FrontendTool.cpp:0:0
#40 0x000059c13e1caaa9 performCompile(swift::CompilerInstance&, int&, swift::FrontendObserver*, llvm::ArrayRef<char const*>) FrontendTool.cpp:0:0
#41 0x000059c13e1c76ee swift::performFrontend(llvm::ArrayRef<char const*>, char const*, void*, swift::FrontendObserver*) (/root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/bin/swift-frontend+0xa196ee)
#42 0x000059c13dedfba8 swift::mainEntry(int, char const**) (/root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/bin/swift-frontend+0x731ba8)
#43 0x00007d1a53b82d90 (/lib/x86_64-linux-gnu/libc.so.6+0x29d90)
#44 0x00007d1a53b82e40 __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x29e40)
#45 0x000059c13dedea65 _start (/root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/bin/swift-frontend+0x730a65)
*** Signal 6: Backtracing from 0x7d1a53c779dd... done ***
*** Program crashed: Aborted at 0x00007d1a53c779dd ***
Platform: x86_64 Linux (Ubuntu 22.04.5 LTS)
Thread 0 "swift-frontend" crashed:
0  0x00007d1a53c779dd <unknown> in libc.so.6
Registers:
rax 0x0000000000000000  0
rdx 0x0000000000000006  6
rcx 0x00007d1a53c779dd  48 3d 01 f0 ff ff 73 01 c3 48 8b 0d 23 b4 0f 00  H=·ðÿÿs·ÃH··#´··
rbx 0x0000000000000006  6
rsi 0x00000000000005db  1499
rdi 0x00000000000005db  1499
rbp 0x00000000000005db  1499
rsp 0x000059c17b7e5128  6b 0b 36 46 c1 59 00 00 b0 53 7e 7b c1 59 00 00  k·6FÁY··°S~{ÁY··
 r8 0x000059c17b7e53b0  06 00 00 00 00 00 00 00 fa ff ff ff 00 00 00 00  ········úÿÿÿ····
 r9 0x000059c17b7e53b0  06 00 00 00 00 00 00 00 fa ff ff ff 00 00 00 00  ········úÿÿÿ····
r10 0x000059c17b7e53b0  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 0x000059c17b7e5138  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ················
rip 0x00007d1a53c779dd  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 (109 omitted):
0x00007d1a53b59000–0x00007d1a53d15401 6a6cb5a80fd5e5bb5bf3aeaa111add98e88843a5 libc.so.6 /usr/lib/x86_64-linux-gnu/libc.so.6
Backtrace took 0.00s
Failed frontend command:
/root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/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-android-aarch64/Examples-p.build/Objects-normal/aarch64/AnalyticsEvents.d -emit-const-values-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-typescript-bridge.build/Debug-android-aarch64/Examples-p.build/Objects-normal/aarch64/AnalyticsEvents.swiftconstvalues -emit-reference-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-typescript-bridge.build/Debug-android-aarch64/Examples-p.build/Objects-normal/aarch64/AnalyticsEvents.swiftdeps -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-typescript-bridge.build/Debug-android-aarch64/Examples-p.build/Objects-normal/aarch64/AnalyticsEvents.dia -target aarch64-unknown-linux-android28 -Xllvm -aarch64-use-tbi -disable-objc-interop -sdk /android-ndk/android-ndk-r27d/toolchains/llvm/prebuilt/linux-x86_64/sysroot -sysroot /android-ndk/android-ndk-r27d/toolchains/llvm/prebuilt/linux-x86_64/sysroot -I /host/spi-builder-workspace/.build/out/Products/Debug-android-aarch64 -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 /root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/lib/swift/host/plugins/testing\#/root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/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_android.artifactbundle/swift-android/swift-resources/usr/lib/swift-aarch64 -enable-anonymous-context-mangled-names -file-compilation-dir /host -Xcc -resource-dir -Xcc /android-ndk/android-ndk-r27d/toolchains/llvm/prebuilt/linux-x86_64/lib/clang/18 -Xcc -fno-omit-frame-pointer -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-android-aarch64/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-typescript-bridge.build/Debug-android-aarch64/Examples-p.build/DerivedSources-normal/aarch64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-typescript-bridge.build/Debug-android-aarch64/Examples-p.build/DerivedSources/aarch64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-typescript-bridge.build/Debug-android-aarch64/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-android-aarch64/Examples-p.build/Objects-normal/aarch64/Examples_const_extract_protocols.json -in-process-plugin-server-path /root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/lib/swift/host/libSwiftInProcPluginServer.so -plugin-path /root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/lib/swift/host/plugins -plugin-path /root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/local/lib/swift/host/plugins -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-typescript-bridge.build/Debug-android-aarch64/Examples-p.build/Objects-normal/aarch64/AnalyticsEvents.o -index-unit-output-path /swift-typescript-bridge.build/Debug-android-aarch64/Examples-p.build/Objects-normal/aarch64/AnalyticsEvents.o -index-store-path /host/spi-builder-workspace/.build/out -index-system-modules
macro expansion @Union:19:23: warning: 'is' test is always true
`- /host/spi-builder-workspace/Examples/ApiResponses.swift:40:24: note: expanded code originates here
37 | }
38 |
39 | @Union(ApiOkUser.self, ApiError.self)
   | `- note: in expansion of macro 'Union' on enum 'ApiUserResponse' here
40 | enum ApiUserResponse {}
   +--- macro expansion @Union -----------------------------------------
   |17 |         typealias Type0 = ApiOkUser
   |18 |         typealias Type1 = ApiError
   |19 |         if Type0.self is any TypeDiscriminated.Type {
   |   |                       `- warning: 'is' test is always true
   |20 |             if let decoded = try? Type0(from: decoder) {
   |21 |                 self = .apiOkUser(decoded)
   +--------------------------------------------------------------------
41 |
42 | 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: /root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/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-android-aarch64/Examples-p.build/Objects-normal/aarch64/ApiResponses.d -emit-const-values-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-typescript-bridge.build/Debug-android-aarch64/Examples-p.build/Objects-normal/aarch64/ApiResponses.swiftconstvalues -emit-reference-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-typescript-bridge.build/Debug-android-aarch64/Examples-p.build/Objects-normal/aarch64/ApiResponses.swiftdeps -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-typescript-bridge.build/Debug-android-aarch64/Examples-p.build/Objects-normal/aarch64/ApiResponses.dia -target aarch64-unknown-linux-android28 -Xllvm -aarch64-use-tbi -disable-objc-interop -sdk /android-ndk/android-ndk-r27d/toolchains/llvm/prebuilt/linux-x86_64/sysroot -sysroot /android-ndk/android-ndk-r27d/toolchains/llvm/prebuilt/linux-x86_64/sysroot -I /host/spi-builder-workspace/.build/out/Products/Debug-android-aarch64 -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 /root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/lib/swift/host/plugins/testing#/root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/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_android.artifactbundle/swift-android/swift-resources/usr/lib/swift-aarch64 -enable-anonymous-context-mangled-names -file-compilation-dir /host -Xcc -resource-dir -Xcc /android-ndk/android-ndk-r27d/toolchains/llvm/prebuilt/linux-x86_64/lib/clang/18 -Xcc -fno-omit-frame-pointer -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-android-aarch64/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-typescript-bridge.build/Debug-android-aarch64/Examples-p.build/DerivedSources-normal/aarch64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-typescript-bridge.build/Debug-android-aarch64/Examples-p.build/DerivedSources/aarch64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-typescript-bridge.build/Debug-android-aarch64/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-android-aarch64/Examples-p.build/Objects-normal/aarch64/Examples_const_extract_protocols.json -in-process-plugin-server-path /root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/lib/swift/host/libSwiftInProcPluginServer.so -plugin-path /root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/lib/swift/host/plugins -plugin-path /root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/local/lib/swift/host/plugins -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-typescript-bridge.build/Debug-android-aarch64/Examples-p.build/Objects-normal/aarch64/ApiResponses.o -index-unit-output-path /swift-typescript-bridge.build/Debug-android-aarch64/Examples-p.build/Objects-normal/aarch64/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 0x00005d5d4bf1dd98 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/bin/swift-frontend+0x8bb1d98)
 #1 0x00005d5d4bf1b585 llvm::sys::RunSignalHandlers() (/root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/bin/swift-frontend+0x8baf585)
 #2 0x00005d5d4bf1eb41 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
 #3 0x000071b2da70a520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
 #4 0x000071b2da75e9bc pthread_kill (/lib/x86_64-linux-gnu/libc.so.6+0x969bc)
 #5 0x000071b2da70a476 gsignal (/lib/x86_64-linux-gnu/libc.so.6+0x42476)
 #6 0x000071b2da6f07f3 abort (/lib/x86_64-linux-gnu/libc.so.6+0x287f3)
 #7 0x000071b2da6f071b (/lib/x86_64-linux-gnu/libc.so.6+0x2871b)
 #8 0x000071b2da701e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
 #9 0x00005d5d44b1f0b0 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 0x00005d5d44b03916 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>)>) (/root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/bin/swift-frontend+0x1797916)
#11 0x00005d5d44b04c52 swift::Lowering::TypeConverter::verifyTrivialLowering(swift::Lowering::TypeLowering const&, swift::Lowering::AbstractionPattern, swift::CanType, swift::TypeExpansionContext) (/root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/bin/swift-frontend+0x1798c52)
#12 0x00005d5d44b0230d swift::Lowering::TypeConverter::getTypeLowering(swift::Lowering::AbstractionPattern, swift::Type, swift::TypeExpansionContext) (/root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/bin/swift-frontend+0x179630d)
#13 0x00005d5d44a26833 swift::SILFunction::getLoweredType(swift::Type) const (/root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/bin/swift-frontend+0x16ba833)
#14 0x00005d5d447b9e36 swift::Lowering::SILGenFunction::emitSwitchStmt(swift::SwitchStmt*) crtstuff.c:0:0
#15 0x00005d5d44746304 (anonymous namespace)::StmtEmitter::visitBraceStmt(swift::BraceStmt*) SILGenStmt.cpp:0:0
#16 0x00005d5d4473fa86 swift::ASTVisitor<(anonymous namespace)::StmtEmitter, void, void, void, void, void, void>::visit(swift::Stmt*) SILGenStmt.cpp:0:0
#17 0x00005d5d44746304 (anonymous namespace)::StmtEmitter::visitBraceStmt(swift::BraceStmt*) SILGenStmt.cpp:0:0
#18 0x00005d5d4473ffd7 swift::ASTVisitor<(anonymous namespace)::StmtEmitter, void, void, void, void, void, void>::visit(swift::Stmt*) SILGenStmt.cpp:0:0
#19 0x00005d5d44746304 (anonymous namespace)::StmtEmitter::visitBraceStmt(swift::BraceStmt*) SILGenStmt.cpp:0:0
#20 0x00005d5d4473fc74 swift::ASTVisitor<(anonymous namespace)::StmtEmitter, void, void, void, void, void, void>::visit(swift::Stmt*) SILGenStmt.cpp:0:0
#21 0x00005d5d44746304 (anonymous namespace)::StmtEmitter::visitBraceStmt(swift::BraceStmt*) SILGenStmt.cpp:0:0
#22 0x00005d5d4473e2ed swift::Lowering::SILGenFunction::emitStmt(swift::Stmt*) crtstuff.c:0:0
#23 0x00005d5d446b30e7 swift::Lowering::SILGenFunction::emitFunction(swift::FuncDecl*) crtstuff.c:0:0
#24 0x00005d5d4461cec2 swift::Lowering::SILGenModule::emitFunctionDefinition(swift::SILDeclRef, swift::SILFunction*) crtstuff.c:0:0
#25 0x00005d5d4461e46d swift::Lowering::SILGenModule::emitOrDelayFunction(swift::SILDeclRef) crtstuff.c:0:0
#26 0x00005d5d4461b420 swift::Lowering::SILGenModule::emitFunction(swift::FuncDecl*) crtstuff.c:0:0
#27 0x00005d5d4475e022 (anonymous namespace)::SILGenType::visitFuncDecl(swift::FuncDecl*) SILGenType.cpp:0:0
#28 0x00005d5d4475928d (anonymous namespace)::SILGenType::emitType() SILGenType.cpp:0:0
#29 0x00005d5d44759168 swift::Lowering::SILGenModule::visitNominalTypeDecl(swift::NominalTypeDecl*) crtstuff.c:0:0
#30 0x00005d5d44621c2f swift::Lowering::SILGenModule::emitSourceFile(swift::SourceFile*) crtstuff.c:0:0
#31 0x00005d5d44622454 swift::ASTLoweringRequest::evaluate(swift::Evaluator&, swift::ASTLoweringDescriptor) const (/root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/bin/swift-frontend+0x12b6454)
#32 0x00005d5d4473dbe6 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 0x00005d5d44627255 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 0x00005d5d44622d2f swift::performASTLowering(swift::FileUnit&, swift::Lowering::TypeConverter&, swift::SILOptions const&, swift::IRGenOptions const*) (/root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/bin/swift-frontend+0x12b6d2f)
#35 0x00005d5d43d82be2 swift::performCompileStepsPostSema(swift::CompilerInstance&, int&, swift::FrontendObserver*, llvm::ArrayRef<char const*>) (/root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/bin/swift-frontend+0xa16be2)
#36 0x00005d5d43d9afda withSemanticAnalysis(swift::CompilerInstance&, swift::FrontendObserver*, llvm::function_ref<bool (swift::CompilerInstance&)>, bool) FrontendTool.cpp:0:0
#37 0x00005d5d43d88aa9 performCompile(swift::CompilerInstance&, int&, swift::FrontendObserver*, llvm::ArrayRef<char const*>) FrontendTool.cpp:0:0
#38 0x00005d5d43d856ee swift::performFrontend(llvm::ArrayRef<char const*>, char const*, void*, swift::FrontendObserver*) (/root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/bin/swift-frontend+0xa196ee)
#39 0x00005d5d43a9dba8 swift::mainEntry(int, char const**) (/root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/bin/swift-frontend+0x731ba8)
#40 0x000071b2da6f1d90 (/lib/x86_64-linux-gnu/libc.so.6+0x29d90)
#41 0x000071b2da6f1e40 __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x29e40)
#42 0x00005d5d43a9ca65 _start (/root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/bin/swift-frontend+0x730a65)
*** Signal 6: Backtracing from 0x71b2da7e69dd... done ***
*** Program crashed: Aborted at 0x000071b2da7e69dd ***
Platform: x86_64 Linux (Ubuntu 22.04.5 LTS)
Thread 0 "swift-frontend" crashed:
0  0x000071b2da7e69dd <unknown> in libc.so.6
Registers:
rax 0x0000000000000000  0
rdx 0x0000000000000006  6
rcx 0x000071b2da7e69dd  48 3d 01 f0 ff ff 73 01 c3 48 8b 0d 23 b4 0f 00  H=·ðÿÿs·ÃH··#´··
rbx 0x0000000000000006  6
rsi 0x00000000000005da  1498
rdi 0x00000000000005da  1498
rbp 0x00000000000005da  1498
rsp 0x00005d5d57471128  6b eb f1 4b 5d 5d 00 00 b0 13 47 57 5d 5d 00 00  këñK]]··°·GW]]··
 r8 0x00005d5d574713b0  06 00 00 00 00 00 00 00 fa ff ff ff 00 00 00 00  ········úÿÿÿ····
 r9 0x00005d5d574713b0  06 00 00 00 00 00 00 00 fa ff ff ff 00 00 00 00  ········úÿÿÿ····
r10 0x00005d5d574713b0  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 0x00005d5d57471138  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ················
rip 0x000071b2da7e69dd  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 (109 omitted):
0x000071b2da6c8000–0x000071b2da884401 6a6cb5a80fd5e5bb5bf3aeaa111add98e88843a5 libc.so.6 /usr/lib/x86_64-linux-gnu/libc.so.6
Backtrace took 0.00s
Failed frontend command:
/root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/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-android-aarch64/Examples-p.build/Objects-normal/aarch64/ApiResponses.d -emit-const-values-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-typescript-bridge.build/Debug-android-aarch64/Examples-p.build/Objects-normal/aarch64/ApiResponses.swiftconstvalues -emit-reference-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-typescript-bridge.build/Debug-android-aarch64/Examples-p.build/Objects-normal/aarch64/ApiResponses.swiftdeps -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-typescript-bridge.build/Debug-android-aarch64/Examples-p.build/Objects-normal/aarch64/ApiResponses.dia -target aarch64-unknown-linux-android28 -Xllvm -aarch64-use-tbi -disable-objc-interop -sdk /android-ndk/android-ndk-r27d/toolchains/llvm/prebuilt/linux-x86_64/sysroot -sysroot /android-ndk/android-ndk-r27d/toolchains/llvm/prebuilt/linux-x86_64/sysroot -I /host/spi-builder-workspace/.build/out/Products/Debug-android-aarch64 -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 /root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/lib/swift/host/plugins/testing\#/root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/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_android.artifactbundle/swift-android/swift-resources/usr/lib/swift-aarch64 -enable-anonymous-context-mangled-names -file-compilation-dir /host -Xcc -resource-dir -Xcc /android-ndk/android-ndk-r27d/toolchains/llvm/prebuilt/linux-x86_64/lib/clang/18 -Xcc -fno-omit-frame-pointer -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-android-aarch64/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-typescript-bridge.build/Debug-android-aarch64/Examples-p.build/DerivedSources-normal/aarch64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-typescript-bridge.build/Debug-android-aarch64/Examples-p.build/DerivedSources/aarch64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-typescript-bridge.build/Debug-android-aarch64/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-android-aarch64/Examples-p.build/Objects-normal/aarch64/Examples_const_extract_protocols.json -in-process-plugin-server-path /root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/lib/swift/host/libSwiftInProcPluginServer.so -plugin-path /root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/lib/swift/host/plugins -plugin-path /root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/local/lib/swift/host/plugins -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-typescript-bridge.build/Debug-android-aarch64/Examples-p.build/Objects-normal/aarch64/ApiResponses.o -index-unit-output-path /swift-typescript-bridge.build/Debug-android-aarch64/Examples-p.build/Objects-normal/aarch64/ApiResponses.o -index-store-path /host/spi-builder-workspace/.build/out -index-system-modules
macro expansion @Union:20:23: warning: 'is' test is always true
`- /host/spi-builder-workspace/Examples/Webhooks.swift:36:21: note: expanded code originates here
33 | }
34 |
35 | @Union(WebhookMessageCreated.self, WebhookReactionAdded.self, WebhookUserJoined.self)
   | `- note: in expansion of macro 'Union' on enum 'WebhookEvent' here
36 | enum WebhookEvent {}
   +--- macro expansion @Union -----------------------------------------
   |18 |         typealias Type1 = WebhookReactionAdded
   |19 |         typealias Type2 = WebhookUserJoined
   |20 |         if Type0.self is any TypeDiscriminated.Type {
   |   |                       `- warning: 'is' test is always true
   |21 |             if let decoded = try? Type0(from: decoder) {
   |22 |                 self = .webhookMessageCreated(decoded)
   +--------------------------------------------------------------------
37 |
38 | enum WebhookExample {
macro expansion @Union:26:23: warning: 'is' test is always true
`- /host/spi-builder-workspace/Examples/Webhooks.swift:36:21: note: expanded code originates here
33 | }
34 |
35 | @Union(WebhookMessageCreated.self, WebhookReactionAdded.self, WebhookUserJoined.self)
   | `- note: in expansion of macro 'Union' on enum 'WebhookEvent' here
36 | enum WebhookEvent {}
   +--- macro expansion @Union -----------------------------------------
   |24 |     }
   |25 | }
   |26 |         if Type1.self is any TypeDiscriminated.Type {
   |   |                       `- warning: 'is' test is always true
   |27 |             if let decoded = try? Type1(from: decoder) {
   |28 |                 self = .webhookReactionAdded(decoded)
   +--------------------------------------------------------------------
37 |
38 | 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: /root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/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-android-aarch64/Examples-p.build/Objects-normal/aarch64/Webhooks.d -emit-const-values-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-typescript-bridge.build/Debug-android-aarch64/Examples-p.build/Objects-normal/aarch64/Webhooks.swiftconstvalues -emit-reference-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-typescript-bridge.build/Debug-android-aarch64/Examples-p.build/Objects-normal/aarch64/Webhooks.swiftdeps -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-typescript-bridge.build/Debug-android-aarch64/Examples-p.build/Objects-normal/aarch64/Webhooks.dia -target aarch64-unknown-linux-android28 -Xllvm -aarch64-use-tbi -disable-objc-interop -sdk /android-ndk/android-ndk-r27d/toolchains/llvm/prebuilt/linux-x86_64/sysroot -sysroot /android-ndk/android-ndk-r27d/toolchains/llvm/prebuilt/linux-x86_64/sysroot -I /host/spi-builder-workspace/.build/out/Products/Debug-android-aarch64 -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 /root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/lib/swift/host/plugins/testing#/root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/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_android.artifactbundle/swift-android/swift-resources/usr/lib/swift-aarch64 -enable-anonymous-context-mangled-names -file-compilation-dir /host -Xcc -resource-dir -Xcc /android-ndk/android-ndk-r27d/toolchains/llvm/prebuilt/linux-x86_64/lib/clang/18 -Xcc -fno-omit-frame-pointer -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-android-aarch64/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-typescript-bridge.build/Debug-android-aarch64/Examples-p.build/DerivedSources-normal/aarch64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-typescript-bridge.build/Debug-android-aarch64/Examples-p.build/DerivedSources/aarch64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-typescript-bridge.build/Debug-android-aarch64/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-android-aarch64/Examples-p.build/Objects-normal/aarch64/Examples_const_extract_protocols.json -in-process-plugin-server-path /root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/lib/swift/host/libSwiftInProcPluginServer.so -plugin-path /root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/lib/swift/host/plugins -plugin-path /root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/local/lib/swift/host/plugins -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-typescript-bridge.build/Debug-android-aarch64/Examples-p.build/Objects-normal/aarch64/Webhooks.o -index-unit-output-path /swift-typescript-bridge.build/Debug-android-aarch64/Examples-p.build/Objects-normal/aarch64/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 0x000059349ffb5d98 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/bin/swift-frontend+0x8bb1d98)
 #1 0x000059349ffb3585 llvm::sys::RunSignalHandlers() (/root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/bin/swift-frontend+0x8baf585)
 #2 0x000059349ffb6b41 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
 #3 0x000079377a531520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
 #4 0x000079377a5859bc pthread_kill (/lib/x86_64-linux-gnu/libc.so.6+0x969bc)
 #5 0x000079377a531476 gsignal (/lib/x86_64-linux-gnu/libc.so.6+0x42476)
 #6 0x000079377a5177f3 abort (/lib/x86_64-linux-gnu/libc.so.6+0x287f3)
 #7 0x000079377a51771b (/lib/x86_64-linux-gnu/libc.so.6+0x2871b)
 #8 0x000079377a528e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
 #9 0x0000593498bb70b0 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 0x0000593498b9b916 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>)>) (/root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/bin/swift-frontend+0x1797916)
#11 0x0000593498b9cc52 swift::Lowering::TypeConverter::verifyTrivialLowering(swift::Lowering::TypeLowering const&, swift::Lowering::AbstractionPattern, swift::CanType, swift::TypeExpansionContext) (/root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/bin/swift-frontend+0x1798c52)
#12 0x0000593498b9a30d swift::Lowering::TypeConverter::getTypeLowering(swift::Lowering::AbstractionPattern, swift::Type, swift::TypeExpansionContext) (/root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/bin/swift-frontend+0x179630d)
#13 0x0000593498abe833 swift::SILFunction::getLoweredType(swift::Type) const (/root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/bin/swift-frontend+0x16ba833)
#14 0x0000593498851e36 swift::Lowering::SILGenFunction::emitSwitchStmt(swift::SwitchStmt*) crtstuff.c:0:0
#15 0x00005934987de304 (anonymous namespace)::StmtEmitter::visitBraceStmt(swift::BraceStmt*) SILGenStmt.cpp:0:0
#16 0x00005934987d7a86 swift::ASTVisitor<(anonymous namespace)::StmtEmitter, void, void, void, void, void, void>::visit(swift::Stmt*) SILGenStmt.cpp:0:0
#17 0x00005934987de304 (anonymous namespace)::StmtEmitter::visitBraceStmt(swift::BraceStmt*) SILGenStmt.cpp:0:0
#18 0x00005934987d7fd7 swift::ASTVisitor<(anonymous namespace)::StmtEmitter, void, void, void, void, void, void>::visit(swift::Stmt*) SILGenStmt.cpp:0:0
#19 0x00005934987de304 (anonymous namespace)::StmtEmitter::visitBraceStmt(swift::BraceStmt*) SILGenStmt.cpp:0:0
#20 0x00005934987d7c74 swift::ASTVisitor<(anonymous namespace)::StmtEmitter, void, void, void, void, void, void>::visit(swift::Stmt*) SILGenStmt.cpp:0:0
#21 0x00005934987de304 (anonymous namespace)::StmtEmitter::visitBraceStmt(swift::BraceStmt*) SILGenStmt.cpp:0:0
#22 0x00005934987d62ed swift::Lowering::SILGenFunction::emitStmt(swift::Stmt*) crtstuff.c:0:0
#23 0x000059349874b0e7 swift::Lowering::SILGenFunction::emitFunction(swift::FuncDecl*) crtstuff.c:0:0
#24 0x00005934986b4ec2 swift::Lowering::SILGenModule::emitFunctionDefinition(swift::SILDeclRef, swift::SILFunction*) crtstuff.c:0:0
#25 0x00005934986b646d swift::Lowering::SILGenModule::emitOrDelayFunction(swift::SILDeclRef) crtstuff.c:0:0
#26 0x00005934986b3420 swift::Lowering::SILGenModule::emitFunction(swift::FuncDecl*) crtstuff.c:0:0
#27 0x00005934987f6022 (anonymous namespace)::SILGenType::visitFuncDecl(swift::FuncDecl*) SILGenType.cpp:0:0
#28 0x00005934987f128d (anonymous namespace)::SILGenType::emitType() SILGenType.cpp:0:0
#29 0x00005934987f1168 swift::Lowering::SILGenModule::visitNominalTypeDecl(swift::NominalTypeDecl*) crtstuff.c:0:0
#30 0x00005934986b9c2f swift::Lowering::SILGenModule::emitSourceFile(swift::SourceFile*) crtstuff.c:0:0
#31 0x00005934986ba454 swift::ASTLoweringRequest::evaluate(swift::Evaluator&, swift::ASTLoweringDescriptor) const (/root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/bin/swift-frontend+0x12b6454)
#32 0x00005934987d5be6 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 0x00005934986bf255 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 0x00005934986bad2f swift::performASTLowering(swift::FileUnit&, swift::Lowering::TypeConverter&, swift::SILOptions const&, swift::IRGenOptions const*) (/root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/bin/swift-frontend+0x12b6d2f)
#35 0x0000593497e1abe2 swift::performCompileStepsPostSema(swift::CompilerInstance&, int&, swift::FrontendObserver*, llvm::ArrayRef<char const*>) (/root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/bin/swift-frontend+0xa16be2)
#36 0x0000593497e32fda withSemanticAnalysis(swift::CompilerInstance&, swift::FrontendObserver*, llvm::function_ref<bool (swift::CompilerInstance&)>, bool) FrontendTool.cpp:0:0
#37 0x0000593497e20aa9 performCompile(swift::CompilerInstance&, int&, swift::FrontendObserver*, llvm::ArrayRef<char const*>) FrontendTool.cpp:0:0
#38 0x0000593497e1d6ee swift::performFrontend(llvm::ArrayRef<char const*>, char const*, void*, swift::FrontendObserver*) (/root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/bin/swift-frontend+0xa196ee)
#39 0x0000593497b35ba8 swift::mainEntry(int, char const**) (/root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/bin/swift-frontend+0x731ba8)
#40 0x000079377a518d90 (/lib/x86_64-linux-gnu/libc.so.6+0x29d90)
#41 0x000079377a518e40 __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x29e40)
#42 0x0000593497b34a65 _start (/root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/bin/swift-frontend+0x730a65)
*** Signal 6: Backtracing from 0x79377a60d9dd... done ***
*** Program crashed: Aborted at 0x000079377a60d9dd ***
Platform: x86_64 Linux (Ubuntu 22.04.5 LTS)
Thread 0 "swift-frontend" crashed:
0  0x000079377a60d9dd <unknown> in libc.so.6
Registers:
rax 0x0000000000000000  0
rdx 0x0000000000000006  6
rcx 0x000079377a60d9dd  48 3d 01 f0 ff ff 73 01 c3 48 8b 0d 23 b4 0f 00  H=·ðÿÿs·ÃH··#´··
rbx 0x0000000000000006  6
rsi 0x00000000000005d8  1496
rdi 0x00000000000005d8  1496
rbp 0x00000000000005d8  1496
rsp 0x00005934b2cd5128  6b 6b fb 9f 34 59 00 00 b0 53 cd b2 34 59 00 00  kkû·4Y··°SͲ4Y··
 r8 0x00005934b2cd53b0  06 00 00 00 00 00 00 00 fa ff ff ff 00 00 00 00  ········úÿÿÿ····
 r9 0x00005934b2cd53b0  06 00 00 00 00 00 00 00 fa ff ff ff 00 00 00 00  ········úÿÿÿ····
r10 0x00005934b2cd53b0  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 0x00005934b2cd5138  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ················
rip 0x000079377a60d9dd  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 (109 omitted):
0x000079377a4ef000–0x000079377a6ab401 6a6cb5a80fd5e5bb5bf3aeaa111add98e88843a5 libc.so.6 /usr/lib/x86_64-linux-gnu/libc.so.6
Backtrace took 0.00s
Failed frontend command:
/root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/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-android-aarch64/Examples-p.build/Objects-normal/aarch64/Webhooks.d -emit-const-values-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-typescript-bridge.build/Debug-android-aarch64/Examples-p.build/Objects-normal/aarch64/Webhooks.swiftconstvalues -emit-reference-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-typescript-bridge.build/Debug-android-aarch64/Examples-p.build/Objects-normal/aarch64/Webhooks.swiftdeps -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-typescript-bridge.build/Debug-android-aarch64/Examples-p.build/Objects-normal/aarch64/Webhooks.dia -target aarch64-unknown-linux-android28 -Xllvm -aarch64-use-tbi -disable-objc-interop -sdk /android-ndk/android-ndk-r27d/toolchains/llvm/prebuilt/linux-x86_64/sysroot -sysroot /android-ndk/android-ndk-r27d/toolchains/llvm/prebuilt/linux-x86_64/sysroot -I /host/spi-builder-workspace/.build/out/Products/Debug-android-aarch64 -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 /root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/lib/swift/host/plugins/testing\#/root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/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_android.artifactbundle/swift-android/swift-resources/usr/lib/swift-aarch64 -enable-anonymous-context-mangled-names -file-compilation-dir /host -Xcc -resource-dir -Xcc /android-ndk/android-ndk-r27d/toolchains/llvm/prebuilt/linux-x86_64/lib/clang/18 -Xcc -fno-omit-frame-pointer -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-android-aarch64/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-typescript-bridge.build/Debug-android-aarch64/Examples-p.build/DerivedSources-normal/aarch64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-typescript-bridge.build/Debug-android-aarch64/Examples-p.build/DerivedSources/aarch64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-typescript-bridge.build/Debug-android-aarch64/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-android-aarch64/Examples-p.build/Objects-normal/aarch64/Examples_const_extract_protocols.json -in-process-plugin-server-path /root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/lib/swift/host/libSwiftInProcPluginServer.so -plugin-path /root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/lib/swift/host/plugins -plugin-path /root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/local/lib/swift/host/plugins -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-typescript-bridge.build/Debug-android-aarch64/Examples-p.build/Objects-normal/aarch64/Webhooks.o -index-unit-output-path /swift-typescript-bridge.build/Debug-android-aarch64/Examples-p.build/Objects-normal/aarch64/Webhooks.o -index-store-path /host/spi-builder-workspace/.build/out -index-system-modules
error: Build failed
BUILD FAILURE 6.4 android