The Swift Package Index logo.Swift Package Index

Build Information

Failed to build swift-typescript-bridge, reference 0.5.0 (251508), with Swift 6.4 for Linux on 25 Sep 2026 10:09:35 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344844-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:basic-6.4-latest swift build --triple x86_64-unknown-linux-gnu 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: 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:         linux
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-54344844-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:basic-6.4-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:c77fcce225e223ac0fafed844619173fc6de8d62dd560eeb28db3182af6a282b
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:basic-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
Fetched https://github.com/pointfreeco/swift-macro-testing.git (0.56s)
[1/80068] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git (3.36s)
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.55s)
Fetching https://github.com/pointfreeco/swift-snapshot-testing
[1/16479] Fetching swift-snapshot-testing
Fetched https://github.com/pointfreeco/swift-snapshot-testing (2.25s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 604.0.0 (3.43s)
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.55s)
Computing version for https://github.com/pointfreeco/swift-custom-dump
Computed https://github.com/pointfreeco/swift-custom-dump at 1.7.3 (0.75s)
Fetching https://github.com/pointfreeco/swift-issue-reporting
[1/6161] Fetching swift-issue-reporting
Fetched https://github.com/pointfreeco/swift-issue-reporting (0.77s)
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-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/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/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]
[156 / 314] SwiftSyntax510
[197 / 315]
[199 / 324] SwiftSyntax
[208 / 329] SwiftSyntax600
[223 / 331] SwiftSyntax
[227 / 331] SwiftSyntax
[240 / 359] SwiftParser
[240 / 359] SwiftBasicFormat
[253 / 359] SwiftParser
[254 / 359] SwiftParser
[256 / 359] SwiftParser
[258 / 359] SwiftParser
[262 / 359] SwiftParser
[263 / 359] SwiftParser
[264 / 359] SwiftDiagnostics
[265 / 359] SwiftDiagnostics
[266 / 359] SwiftOperators
[268 / 359] SwiftDiagnostics
[269 / 359] SwiftDiagnostics
[272 / 360] SwiftParserDiagnostics
[274 / 360] SwiftBasicFormat
[277 / 360] SwiftBasicFormat
[280 / 380] SwiftParser
[282 / 381] SwiftParserDiagnostics
[283 / 381] SwiftParserDiagnostics
[284 / 381] SwiftParserDiagnostics
[296 / 382] SwiftSyntaxBuilder
[297 / 382] SwiftSyntaxBuilder
[299 / 382] SwiftParserDiagnostics
[300 / 382] SwiftParser
[302 / 382] SwiftParser
[304 / 382] SwiftOperators
[306 / 382] SwiftOperators
[309 / 382] SwiftOperators
[310 / 382]
[315 / 392] SwiftSyntaxBuilder
[317 / 393] SwiftSyntaxBuilder
[318 / 393] SwiftSyntaxBuilder
[320 / 394] SwiftSyntaxBuilder
[322 / 394] SwiftSyntaxBuilder
[335 / 404] SwiftIfConfig
[337 / 404] SwiftIfConfig
[339 / 404] SwiftIfConfig
[342 / 405] SwiftIfConfig
[350 / 415] SwiftSyntaxMacros
[352 / 415] SwiftSyntaxMacros
[359 / 415] SwiftSyntaxMacros
[361 / 415] SwiftSyntaxMacros-product
[367 / 426] SwiftIfConfig
[370 / 427] SwiftSyntaxMacroExpansion
[371 / 427] SwiftSyntaxMacros
[379 / 427] SwiftSyntaxMacroExpansion
[382 / 428]
[383 / 437] SwiftSyntaxMacroExpansion
[387 / 437] SwiftCompilerPluginMessageHandling
[389 / 437] SwiftCompilerPluginMessageHandling
[391 / 437] SwiftCompilerPluginMessageHandling
[399 / 440] SwiftCompilerPlugin
[405 / 441] SwiftSyntaxMacroExpansion
[407 / 442] SwiftCompilerPlugin
[408 / 442] SwiftCompilerPluginMessageHandling
[410 / 443] SwiftSyntax
[413 / 444] SwiftSyntax
[419 / 444] SwiftSyntaxBuilder
[429 / 445] TypeScriptBridgeMacros
[437 / 453] TypeScriptBridgeMacros
/host/spi-builder-workspace/Sources/TypeScriptBridgeMacros/ExtendsMacro.swift:7:15: warning: deprecated 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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
  5 |
  6 | /// Implementation of the `@Extends(ParentType.self, ...)` attached macro.
  7 | public struct ExtendsMacro: MemberMacro, ExtensionMacro {
    |               `- warning: deprecated 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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
  8 |     public static func expansion(
  9 |         of node: AttributeSyntax,
/host/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftSyntaxMacros/MacroProtocols/MemberMacro.swift:89:22: note: 'expansion(of:providingMembersOf:conformingTo:in:)' declared here
53 |   /// - Returns: the set of member declarations introduced by this macro, which
54 |   /// are nested inside the `attachedTo` declaration.
55 |   static func expansion(
   |               `- note: requirement 'expansion(of:providingMembersOf:conformingTo:in:)' declared here
56 |     of node: AttributeSyntax,
57 |     providingMembersOf declaration: some DeclGroupSyntax,
   :
87 |     message: "`MemberMacro` conformance should implement the `expansion` function that takes a `conformingTo` parameter"
88 |   )
89 |   public static func expansion(
   |                      `- note: 'expansion(of:providingMembersOf:conformingTo:in:)' declared here
90 |     of node: AttributeSyntax,
91 |     providingMembersOf declaration: some DeclGroupSyntax,
/host/spi-builder-workspace/Sources/TypeScriptBridgeMacros/LiteralUnionMacro.swift:14:15: warning: deprecated 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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
 12 | /// - Support for a `nil` literal — adds a `null` case that round-trips as JSON `null`
 13 | /// - Access modifier support based on the enum's access level
 14 | public struct LiteralUnionMacro: MemberMacro, ExtensionMacro {
    |               `- warning: deprecated 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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
 15 |     public static func expansion(
 16 |         of node: AttributeSyntax,
/host/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftSyntaxMacros/MacroProtocols/MemberMacro.swift:89:22: note: 'expansion(of:providingMembersOf:conformingTo:in:)' declared here
53 |   /// - Returns: the set of member declarations introduced by this macro, which
54 |   /// are nested inside the `attachedTo` declaration.
55 |   static func expansion(
   |               `- note: requirement 'expansion(of:providingMembersOf:conformingTo:in:)' declared here
56 |     of node: AttributeSyntax,
57 |     providingMembersOf declaration: some DeclGroupSyntax,
   :
87 |     message: "`MemberMacro` conformance should implement the `expansion` function that takes a `conformingTo` parameter"
88 |   )
89 |   public static func expansion(
   |                      `- note: 'expansion(of:providingMembersOf:conformingTo:in:)' declared here
90 |     of node: AttributeSyntax,
91 |     providingMembersOf declaration: some DeclGroupSyntax,
/host/spi-builder-workspace/Sources/TypeScriptBridgeMacros/TypeUnionMacro.swift:12:15: warning: deprecated 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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
 10 | /// - Codable conformance that attempts to decode each type in order
 11 | /// - Access modifier support based on the enum's access level
 12 | public struct TypeUnionMacro: MemberMacro, ExtensionMacro {
    |               `- warning: deprecated 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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
 13 |     public static func expansion(
 14 |         of node: AttributeSyntax,
/host/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftSyntaxMacros/MacroProtocols/MemberMacro.swift:89:22: note: 'expansion(of:providingMembersOf:conformingTo:in:)' declared here
53 |   /// - Returns: the set of member declarations introduced by this macro, which
54 |   /// are nested inside the `attachedTo` declaration.
55 |   static func expansion(
   |               `- note: requirement 'expansion(of:providingMembersOf:conformingTo:in:)' declared here
56 |     of node: AttributeSyntax,
57 |     providingMembersOf declaration: some DeclGroupSyntax,
   :
87 |     message: "`MemberMacro` conformance should implement the `expansion` function that takes a `conformingTo` parameter"
88 |   )
89 |   public static func expansion(
   |                      `- note: 'expansion(of:providingMembersOf:conformingTo:in:)' declared here
90 |     of node: AttributeSyntax,
91 |     providingMembersOf declaration: some DeclGroupSyntax,
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[438 / 453] TypeScriptBridgeMacros
/host/spi-builder-workspace/Sources/TypeScriptBridgeMacros/TypeUnionMacro.swift:12:15: warning: deprecated 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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
 10 | /// - Codable conformance that attempts to decode each type in order
 11 | /// - Access modifier support based on the enum's access level
 12 | public struct TypeUnionMacro: MemberMacro, ExtensionMacro {
    |               `- warning: deprecated 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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
 13 |     public static func expansion(
 14 |         of node: AttributeSyntax,
/host/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftSyntaxMacros/MacroProtocols/MemberMacro.swift:89:22: note: 'expansion(of:providingMembersOf:conformingTo:in:)' declared here
53 |   /// - Returns: the set of member declarations introduced by this macro, which
54 |   /// are nested inside the `attachedTo` declaration.
55 |   static func expansion(
   |               `- note: requirement 'expansion(of:providingMembersOf:conformingTo:in:)' declared here
56 |     of node: AttributeSyntax,
57 |     providingMembersOf declaration: some DeclGroupSyntax,
   :
87 |     message: "`MemberMacro` conformance should implement the `expansion` function that takes a `conformingTo` parameter"
88 |   )
89 |   public static func expansion(
   |                      `- note: 'expansion(of:providingMembersOf:conformingTo:in:)' declared here
90 |     of node: AttributeSyntax,
91 |     providingMembersOf declaration: some DeclGroupSyntax,
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
/host/spi-builder-workspace/Sources/TypeScriptBridgeMacros/ExtendsMacro.swift:7:15: warning: deprecated 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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
  5 |
  6 | /// Implementation of the `@Extends(ParentType.self, ...)` attached macro.
  7 | public struct ExtendsMacro: MemberMacro, ExtensionMacro {
    |               `- warning: deprecated 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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
  8 |     public static func expansion(
  9 |         of node: AttributeSyntax,
/host/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftSyntaxMacros/MacroProtocols/MemberMacro.swift:89:22: note: 'expansion(of:providingMembersOf:conformingTo:in:)' declared here
53 |   /// - Returns: the set of member declarations introduced by this macro, which
54 |   /// are nested inside the `attachedTo` declaration.
55 |   static func expansion(
   |               `- note: requirement 'expansion(of:providingMembersOf:conformingTo:in:)' declared here
56 |     of node: AttributeSyntax,
57 |     providingMembersOf declaration: some DeclGroupSyntax,
   :
87 |     message: "`MemberMacro` conformance should implement the `expansion` function that takes a `conformingTo` parameter"
88 |   )
89 |   public static func expansion(
   |                      `- note: 'expansion(of:providingMembersOf:conformingTo:in:)' declared here
90 |     of node: AttributeSyntax,
91 |     providingMembersOf declaration: some DeclGroupSyntax,
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
/host/spi-builder-workspace/Sources/TypeScriptBridgeMacros/LiteralUnionMacro.swift:14:15: warning: deprecated 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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
 12 | /// - Support for a `nil` literal — adds a `null` case that round-trips as JSON `null`
 13 | /// - Access modifier support based on the enum's access level
 14 | public struct LiteralUnionMacro: MemberMacro, ExtensionMacro {
    |               `- warning: deprecated 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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
 15 |     public static func expansion(
 16 |         of node: AttributeSyntax,
/host/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftSyntaxMacros/MacroProtocols/MemberMacro.swift:89:22: note: 'expansion(of:providingMembersOf:conformingTo:in:)' declared here
53 |   /// - Returns: the set of member declarations introduced by this macro, which
54 |   /// are nested inside the `attachedTo` declaration.
55 |   static func expansion(
   |               `- note: requirement 'expansion(of:providingMembersOf:conformingTo:in:)' declared here
56 |     of node: AttributeSyntax,
57 |     providingMembersOf declaration: some DeclGroupSyntax,
   :
87 |     message: "`MemberMacro` conformance should implement the `expansion` function that takes a `conformingTo` parameter"
88 |   )
89 |   public static func expansion(
   |                      `- note: 'expansion(of:providingMembersOf:conformingTo:in:)' declared here
90 |     of node: AttributeSyntax,
91 |     providingMembersOf declaration: some DeclGroupSyntax,
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[439 / 454] TypeScriptBridgeMacros
[442 / 454] TypeScriptBridgeMacros
[445 / 457] TypeScriptBridge
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: /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-linux-x86_64/Examples-p.build/Objects-normal/x86_64/ApiResponses.d -emit-const-values-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-typescript-bridge.build/Debug-linux-x86_64/Examples-p.build/Objects-normal/x86_64/ApiResponses.swiftconstvalues -emit-reference-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-typescript-bridge.build/Debug-linux-x86_64/Examples-p.build/Objects-normal/x86_64/ApiResponses.swiftdeps -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-typescript-bridge.build/Debug-linux-x86_64/Examples-p.build/Objects-normal/x86_64/ApiResponses.dia -target x86_64-unknown-linux-gnu -disable-objc-interop -I /host/spi-builder-workspace/.build/out/Products/Debug-linux-x86_64 -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 -enable-anonymous-context-mangled-names -file-compilation-dir /host -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-linux-x86_64/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-typescript-bridge.build/Debug-linux-x86_64/Examples-p.build/DerivedSources-normal/x86_64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-typescript-bridge.build/Debug-linux-x86_64/Examples-p.build/DerivedSources/x86_64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-typescript-bridge.build/Debug-linux-x86_64/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-linux-x86_64/Examples-p.build/Objects-normal/x86_64/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-linux-x86_64/Examples-p.build/Objects-normal/x86_64/ApiResponses.o -index-unit-output-path /swift-typescript-bridge.build/Debug-linux-x86_64/Examples-p.build/Objects-normal/x86_64/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 0x0000561920d0fd98 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/bin/swift-frontend+0x8bb1d98)
 #1 0x0000561920d0d585 llvm::sys::RunSignalHandlers() (/usr/bin/swift-frontend+0x8baf585)
 #2 0x0000561920d10b41 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
 #3 0x0000768408382520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
 #4 0x00007684083d69bc pthread_kill (/lib/x86_64-linux-gnu/libc.so.6+0x969bc)
 #5 0x0000768408382476 gsignal (/lib/x86_64-linux-gnu/libc.so.6+0x42476)
 #6 0x00007684083687f3 abort (/lib/x86_64-linux-gnu/libc.so.6+0x287f3)
 #7 0x000076840836871b (/lib/x86_64-linux-gnu/libc.so.6+0x2871b)
 #8 0x0000768408379e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
 #9 0x00005619199110b0 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 0x00005619198f5916 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 0x00005619198f6c52 swift::Lowering::TypeConverter::verifyTrivialLowering(swift::Lowering::TypeLowering const&, swift::Lowering::AbstractionPattern, swift::CanType, swift::TypeExpansionContext) (/usr/bin/swift-frontend+0x1798c52)
#12 0x00005619198f430d swift::Lowering::TypeConverter::getTypeLowering(swift::Lowering::AbstractionPattern, swift::Type, swift::TypeExpansionContext) (/usr/bin/swift-frontend+0x179630d)
#13 0x0000561919818833 swift::SILFunction::getLoweredType(swift::Type) const (/usr/bin/swift-frontend+0x16ba833)
#14 0x00005619195abe36 swift::Lowering::SILGenFunction::emitSwitchStmt(swift::SwitchStmt*) crtstuff.c:0:0
#15 0x0000561919538304 (anonymous namespace)::StmtEmitter::visitBraceStmt(swift::BraceStmt*) SILGenStmt.cpp:0:0
#16 0x0000561919531a86 swift::ASTVisitor<(anonymous namespace)::StmtEmitter, void, void, void, void, void, void>::visit(swift::Stmt*) SILGenStmt.cpp:0:0
#17 0x0000561919538304 (anonymous namespace)::StmtEmitter::visitBraceStmt(swift::BraceStmt*) SILGenStmt.cpp:0:0
#18 0x0000561919531fd7 swift::ASTVisitor<(anonymous namespace)::StmtEmitter, void, void, void, void, void, void>::visit(swift::Stmt*) SILGenStmt.cpp:0:0
#19 0x0000561919538304 (anonymous namespace)::StmtEmitter::visitBraceStmt(swift::BraceStmt*) SILGenStmt.cpp:0:0
#20 0x0000561919531c74 swift::ASTVisitor<(anonymous namespace)::StmtEmitter, void, void, void, void, void, void>::visit(swift::Stmt*) SILGenStmt.cpp:0:0
#21 0x0000561919538304 (anonymous namespace)::StmtEmitter::visitBraceStmt(swift::BraceStmt*) SILGenStmt.cpp:0:0
#22 0x00005619195302ed swift::Lowering::SILGenFunction::emitStmt(swift::Stmt*) crtstuff.c:0:0
#23 0x00005619194a50e7 swift::Lowering::SILGenFunction::emitFunction(swift::FuncDecl*) crtstuff.c:0:0
#24 0x000056191940eec2 swift::Lowering::SILGenModule::emitFunctionDefinition(swift::SILDeclRef, swift::SILFunction*) crtstuff.c:0:0
#25 0x000056191941046d swift::Lowering::SILGenModule::emitOrDelayFunction(swift::SILDeclRef) crtstuff.c:0:0
#26 0x000056191940d420 swift::Lowering::SILGenModule::emitFunction(swift::FuncDecl*) crtstuff.c:0:0
#27 0x0000561919550022 (anonymous namespace)::SILGenType::visitFuncDecl(swift::FuncDecl*) SILGenType.cpp:0:0
#28 0x000056191954b28d (anonymous namespace)::SILGenType::emitType() SILGenType.cpp:0:0
#29 0x000056191954b168 swift::Lowering::SILGenModule::visitNominalTypeDecl(swift::NominalTypeDecl*) crtstuff.c:0:0
#30 0x0000561919413c2f swift::Lowering::SILGenModule::emitSourceFile(swift::SourceFile*) crtstuff.c:0:0
#31 0x0000561919414454 swift::ASTLoweringRequest::evaluate(swift::Evaluator&, swift::ASTLoweringDescriptor) const (/usr/bin/swift-frontend+0x12b6454)
#32 0x000056191952fbe6 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 0x0000561919419255 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 0x0000561919414d2f swift::performASTLowering(swift::FileUnit&, swift::Lowering::TypeConverter&, swift::SILOptions const&, swift::IRGenOptions const*) (/usr/bin/swift-frontend+0x12b6d2f)
#35 0x0000561918b74be2 swift::performCompileStepsPostSema(swift::CompilerInstance&, int&, swift::FrontendObserver*, llvm::ArrayRef<char const*>) (/usr/bin/swift-frontend+0xa16be2)
#36 0x0000561918b8cfda withSemanticAnalysis(swift::CompilerInstance&, swift::FrontendObserver*, llvm::function_ref<bool (swift::CompilerInstance&)>, bool) FrontendTool.cpp:0:0
#37 0x0000561918b7aaa9 performCompile(swift::CompilerInstance&, int&, swift::FrontendObserver*, llvm::ArrayRef<char const*>) FrontendTool.cpp:0:0
#38 0x0000561918b776ee swift::performFrontend(llvm::ArrayRef<char const*>, char const*, void*, swift::FrontendObserver*) (/usr/bin/swift-frontend+0xa196ee)
#39 0x000056191888fba8 swift::mainEntry(int, char const**) (/usr/bin/swift-frontend+0x731ba8)
#40 0x0000768408369d90 (/lib/x86_64-linux-gnu/libc.so.6+0x29d90)
#41 0x0000768408369e40 __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x29e40)
#42 0x000056191888ea65 _start (/usr/bin/swift-frontend+0x730a65)
*** Signal 6: Backtracing from 0x76840845e9dd... done ***
*** Program crashed: Aborted at 0x000076840845e9dd ***
Platform: x86_64 Linux (Ubuntu 22.04.5 LTS)
Thread 0 "swift-frontend" crashed:
0  0x000076840845e9dd <unknown> in libc.so.6
Registers:
rax 0x0000000000000000  0
rdx 0x0000000000000006  6
rcx 0x000076840845e9dd  48 3d 01 f0 ff ff 73 01 c3 48 8b 0d 23 b4 0f 00  H=·ðÿÿs·ÃH··#´··
rbx 0x0000000000000006  6
rsi 0x0000000000000567  1383
rdi 0x0000000000000567  1383
rbp 0x0000000000000567  1383
rsp 0x000056195b0bb068  6b 0b d1 20 19 56 00 00 f0 b2 0b 5b 19 56 00 00  k·Ñ ·V··ð²·[·V··
 r8 0x000056195b0bb2f0  06 00 00 00 00 00 00 00 fa ff ff ff 00 00 00 00  ········úÿÿÿ····
 r9 0x000056195b0bb2f0  06 00 00 00 00 00 00 00 fa ff ff ff 00 00 00 00  ········úÿÿÿ····
r10 0x000056195b0bb2f0  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 0x000056195b0bb078  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ················
rip 0x000076840845e9dd  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 (37 omitted):
0x0000768408340000–0x00007684084fc401 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-linux-x86_64/Examples-p.build/Objects-normal/x86_64/ApiResponses.d -emit-const-values-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-typescript-bridge.build/Debug-linux-x86_64/Examples-p.build/Objects-normal/x86_64/ApiResponses.swiftconstvalues -emit-reference-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-typescript-bridge.build/Debug-linux-x86_64/Examples-p.build/Objects-normal/x86_64/ApiResponses.swiftdeps -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-typescript-bridge.build/Debug-linux-x86_64/Examples-p.build/Objects-normal/x86_64/ApiResponses.dia -target x86_64-unknown-linux-gnu -disable-objc-interop -I /host/spi-builder-workspace/.build/out/Products/Debug-linux-x86_64 -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 -enable-anonymous-context-mangled-names -file-compilation-dir /host -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-linux-x86_64/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-typescript-bridge.build/Debug-linux-x86_64/Examples-p.build/DerivedSources-normal/x86_64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-typescript-bridge.build/Debug-linux-x86_64/Examples-p.build/DerivedSources/x86_64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-typescript-bridge.build/Debug-linux-x86_64/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-linux-x86_64/Examples-p.build/Objects-normal/x86_64/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-linux-x86_64/Examples-p.build/Objects-normal/x86_64/ApiResponses.o -index-unit-output-path /swift-typescript-bridge.build/Debug-linux-x86_64/Examples-p.build/Objects-normal/x86_64/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: /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-linux-x86_64/Examples-p.build/Objects-normal/x86_64/Webhooks.d -emit-const-values-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-typescript-bridge.build/Debug-linux-x86_64/Examples-p.build/Objects-normal/x86_64/Webhooks.swiftconstvalues -emit-reference-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-typescript-bridge.build/Debug-linux-x86_64/Examples-p.build/Objects-normal/x86_64/Webhooks.swiftdeps -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-typescript-bridge.build/Debug-linux-x86_64/Examples-p.build/Objects-normal/x86_64/Webhooks.dia -target x86_64-unknown-linux-gnu -disable-objc-interop -I /host/spi-builder-workspace/.build/out/Products/Debug-linux-x86_64 -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 -enable-anonymous-context-mangled-names -file-compilation-dir /host -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-linux-x86_64/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-typescript-bridge.build/Debug-linux-x86_64/Examples-p.build/DerivedSources-normal/x86_64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-typescript-bridge.build/Debug-linux-x86_64/Examples-p.build/DerivedSources/x86_64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-typescript-bridge.build/Debug-linux-x86_64/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-linux-x86_64/Examples-p.build/Objects-normal/x86_64/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-linux-x86_64/Examples-p.build/Objects-normal/x86_64/Webhooks.o -index-unit-output-path /swift-typescript-bridge.build/Debug-linux-x86_64/Examples-p.build/Objects-normal/x86_64/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 0x00005f120c3a2d98 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/bin/swift-frontend+0x8bb1d98)
 #1 0x00005f120c3a0585 llvm::sys::RunSignalHandlers() (/usr/bin/swift-frontend+0x8baf585)
 #2 0x00005f120c3a3b41 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
 #3 0x00007c911e7ed520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
 #4 0x00007c911e8419bc pthread_kill (/lib/x86_64-linux-gnu/libc.so.6+0x969bc)
 #5 0x00007c911e7ed476 gsignal (/lib/x86_64-linux-gnu/libc.so.6+0x42476)
 #6 0x00007c911e7d37f3 abort (/lib/x86_64-linux-gnu/libc.so.6+0x287f3)
 #7 0x00007c911e7d371b (/lib/x86_64-linux-gnu/libc.so.6+0x2871b)
 #8 0x00007c911e7e4e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
 #9 0x00005f1204fa40b0 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 0x00005f1204f88916 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 0x00005f1204f89c52 swift::Lowering::TypeConverter::verifyTrivialLowering(swift::Lowering::TypeLowering const&, swift::Lowering::AbstractionPattern, swift::CanType, swift::TypeExpansionContext) (/usr/bin/swift-frontend+0x1798c52)
#12 0x00005f1204f8730d swift::Lowering::TypeConverter::getTypeLowering(swift::Lowering::AbstractionPattern, swift::Type, swift::TypeExpansionContext) (/usr/bin/swift-frontend+0x179630d)
#13 0x00005f1204eab833 swift::SILFunction::getLoweredType(swift::Type) const (/usr/bin/swift-frontend+0x16ba833)
#14 0x00005f1204c3ee36 swift::Lowering::SILGenFunction::emitSwitchStmt(swift::SwitchStmt*) crtstuff.c:0:0
#15 0x00005f1204bcb304 (anonymous namespace)::StmtEmitter::visitBraceStmt(swift::BraceStmt*) SILGenStmt.cpp:0:0
#16 0x00005f1204bc4a86 swift::ASTVisitor<(anonymous namespace)::StmtEmitter, void, void, void, void, void, void>::visit(swift::Stmt*) SILGenStmt.cpp:0:0
#17 0x00005f1204bcb304 (anonymous namespace)::StmtEmitter::visitBraceStmt(swift::BraceStmt*) SILGenStmt.cpp:0:0
#18 0x00005f1204bc4fd7 swift::ASTVisitor<(anonymous namespace)::StmtEmitter, void, void, void, void, void, void>::visit(swift::Stmt*) SILGenStmt.cpp:0:0
#19 0x00005f1204bcb304 (anonymous namespace)::StmtEmitter::visitBraceStmt(swift::BraceStmt*) SILGenStmt.cpp:0:0
#20 0x00005f1204bc4c74 swift::ASTVisitor<(anonymous namespace)::StmtEmitter, void, void, void, void, void, void>::visit(swift::Stmt*) SILGenStmt.cpp:0:0
#21 0x00005f1204bcb304 (anonymous namespace)::StmtEmitter::visitBraceStmt(swift::BraceStmt*) SILGenStmt.cpp:0:0
#22 0x00005f1204bc32ed swift::Lowering::SILGenFunction::emitStmt(swift::Stmt*) crtstuff.c:0:0
#23 0x00005f1204b380e7 swift::Lowering::SILGenFunction::emitFunction(swift::FuncDecl*) crtstuff.c:0:0
#24 0x00005f1204aa1ec2 swift::Lowering::SILGenModule::emitFunctionDefinition(swift::SILDeclRef, swift::SILFunction*) crtstuff.c:0:0
#25 0x00005f1204aa346d swift::Lowering::SILGenModule::emitOrDelayFunction(swift::SILDeclRef) crtstuff.c:0:0
#26 0x00005f1204aa0420 swift::Lowering::SILGenModule::emitFunction(swift::FuncDecl*) crtstuff.c:0:0
#27 0x00005f1204be3022 (anonymous namespace)::SILGenType::visitFuncDecl(swift::FuncDecl*) SILGenType.cpp:0:0
#28 0x00005f1204bde28d (anonymous namespace)::SILGenType::emitType() SILGenType.cpp:0:0
#29 0x00005f1204bde168 swift::Lowering::SILGenModule::visitNominalTypeDecl(swift::NominalTypeDecl*) crtstuff.c:0:0
#30 0x00005f1204aa6c2f swift::Lowering::SILGenModule::emitSourceFile(swift::SourceFile*) crtstuff.c:0:0
#31 0x00005f1204aa7454 swift::ASTLoweringRequest::evaluate(swift::Evaluator&, swift::ASTLoweringDescriptor) const (/usr/bin/swift-frontend+0x12b6454)
#32 0x00005f1204bc2be6 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 0x00005f1204aac255 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 0x00005f1204aa7d2f swift::performASTLowering(swift::FileUnit&, swift::Lowering::TypeConverter&, swift::SILOptions const&, swift::IRGenOptions const*) (/usr/bin/swift-frontend+0x12b6d2f)
#35 0x00005f1204207be2 swift::performCompileStepsPostSema(swift::CompilerInstance&, int&, swift::FrontendObserver*, llvm::ArrayRef<char const*>) (/usr/bin/swift-frontend+0xa16be2)
#36 0x00005f120421ffda withSemanticAnalysis(swift::CompilerInstance&, swift::FrontendObserver*, llvm::function_ref<bool (swift::CompilerInstance&)>, bool) FrontendTool.cpp:0:0
#37 0x00005f120420daa9 performCompile(swift::CompilerInstance&, int&, swift::FrontendObserver*, llvm::ArrayRef<char const*>) FrontendTool.cpp:0:0
#38 0x00005f120420a6ee swift::performFrontend(llvm::ArrayRef<char const*>, char const*, void*, swift::FrontendObserver*) (/usr/bin/swift-frontend+0xa196ee)
#39 0x00005f1203f22ba8 swift::mainEntry(int, char const**) (/usr/bin/swift-frontend+0x731ba8)
#40 0x00007c911e7d4d90 (/lib/x86_64-linux-gnu/libc.so.6+0x29d90)
#41 0x00007c911e7d4e40 __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x29e40)
#42 0x00005f1203f21a65 _start (/usr/bin/swift-frontend+0x730a65)
*** Signal 6: Backtracing from 0x7c911e8c99dd... done ***
*** Program crashed: Aborted at 0x00007c911e8c99dd ***
Platform: x86_64 Linux (Ubuntu 22.04.5 LTS)
Thread 0 "swift-frontend" crashed:
0  0x00007c911e8c99dd <unknown> in libc.so.6
Registers:
rax 0x0000000000000000  0
rdx 0x0000000000000006  6
rcx 0x00007c911e8c99dd  48 3d 01 f0 ff ff 73 01 c3 48 8b 0d 23 b4 0f 00  H=·ðÿÿs·ÃH··#´··
rbx 0x0000000000000006  6
rsi 0x0000000000000563  1379
rdi 0x0000000000000563  1379
rbp 0x0000000000000563  1379
rsp 0x00005f124cce4068  6b 3b 3a 0c 12 5f 00 00 f0 42 ce 4c 12 5f 00 00  k;:··_··ðBÎL·_··
 r8 0x00005f124cce42f0  06 00 00 00 00 00 00 00 fa ff ff ff 00 00 00 00  ········úÿÿÿ····
 r9 0x00005f124cce42f0  06 00 00 00 00 00 00 00 fa ff ff ff 00 00 00 00  ········úÿÿÿ····
r10 0x00005f124cce42f0  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 0x00005f124cce4078  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ················
rip 0x00007c911e8c99dd  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 (37 omitted):
0x00007c911e7ab000–0x00007c911e967401 6a6cb5a80fd5e5bb5bf3aeaa111add98e88843a5 libc.so.6 /usr/lib/x86_64-linux-gnu/libc.so.6
Backtrace took 0.01s
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-linux-x86_64/Examples-p.build/Objects-normal/x86_64/Webhooks.d -emit-const-values-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-typescript-bridge.build/Debug-linux-x86_64/Examples-p.build/Objects-normal/x86_64/Webhooks.swiftconstvalues -emit-reference-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-typescript-bridge.build/Debug-linux-x86_64/Examples-p.build/Objects-normal/x86_64/Webhooks.swiftdeps -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-typescript-bridge.build/Debug-linux-x86_64/Examples-p.build/Objects-normal/x86_64/Webhooks.dia -target x86_64-unknown-linux-gnu -disable-objc-interop -I /host/spi-builder-workspace/.build/out/Products/Debug-linux-x86_64 -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 -enable-anonymous-context-mangled-names -file-compilation-dir /host -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-linux-x86_64/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-typescript-bridge.build/Debug-linux-x86_64/Examples-p.build/DerivedSources-normal/x86_64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-typescript-bridge.build/Debug-linux-x86_64/Examples-p.build/DerivedSources/x86_64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-typescript-bridge.build/Debug-linux-x86_64/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-linux-x86_64/Examples-p.build/Objects-normal/x86_64/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-linux-x86_64/Examples-p.build/Objects-normal/x86_64/Webhooks.o -index-unit-output-path /swift-typescript-bridge.build/Debug-linux-x86_64/Examples-p.build/Objects-normal/x86_64/Webhooks.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/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: /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-linux-x86_64/Examples-p.build/Objects-normal/x86_64/AnalyticsEvents.d -emit-const-values-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-typescript-bridge.build/Debug-linux-x86_64/Examples-p.build/Objects-normal/x86_64/AnalyticsEvents.swiftconstvalues -emit-reference-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-typescript-bridge.build/Debug-linux-x86_64/Examples-p.build/Objects-normal/x86_64/AnalyticsEvents.swiftdeps -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-typescript-bridge.build/Debug-linux-x86_64/Examples-p.build/Objects-normal/x86_64/AnalyticsEvents.dia -target x86_64-unknown-linux-gnu -disable-objc-interop -I /host/spi-builder-workspace/.build/out/Products/Debug-linux-x86_64 -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 -enable-anonymous-context-mangled-names -file-compilation-dir /host -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-linux-x86_64/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-typescript-bridge.build/Debug-linux-x86_64/Examples-p.build/DerivedSources-normal/x86_64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-typescript-bridge.build/Debug-linux-x86_64/Examples-p.build/DerivedSources/x86_64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-typescript-bridge.build/Debug-linux-x86_64/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-linux-x86_64/Examples-p.build/Objects-normal/x86_64/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-linux-x86_64/Examples-p.build/Objects-normal/x86_64/AnalyticsEvents.o -index-unit-output-path /swift-typescript-bridge.build/Debug-linux-x86_64/Examples-p.build/Objects-normal/x86_64/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 0x0000562835e87d98 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/bin/swift-frontend+0x8bb1d98)
 #1 0x0000562835e85585 llvm::sys::RunSignalHandlers() (/usr/bin/swift-frontend+0x8baf585)
 #2 0x0000562835e88b41 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
 #3 0x0000750c83b41520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
 #4 0x0000750c83b959bc pthread_kill (/lib/x86_64-linux-gnu/libc.so.6+0x969bc)
 #5 0x0000750c83b41476 gsignal (/lib/x86_64-linux-gnu/libc.so.6+0x42476)
 #6 0x0000750c83b277f3 abort (/lib/x86_64-linux-gnu/libc.so.6+0x287f3)
 #7 0x0000750c83b2771b (/lib/x86_64-linux-gnu/libc.so.6+0x2871b)
 #8 0x0000750c83b38e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
 #9 0x000056282ea890b0 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 0x000056282ea6d916 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 0x000056282ea6ec52 swift::Lowering::TypeConverter::verifyTrivialLowering(swift::Lowering::TypeLowering const&, swift::Lowering::AbstractionPattern, swift::CanType, swift::TypeExpansionContext) (/usr/bin/swift-frontend+0x1798c52)
#12 0x000056282ea6c30d swift::Lowering::TypeConverter::getTypeLowering(swift::Lowering::AbstractionPattern, swift::Type, swift::TypeExpansionContext) (/usr/bin/swift-frontend+0x179630d)
#13 0x000056282e9906b3 swift::SILFunction::getTypeLowering(swift::Type) const (/usr/bin/swift-frontend+0x16ba6b3)
#14 0x000056282e5c8d58 (anonymous namespace)::LetValueInitialization::LetValueInitialization(swift::VarDecl*, swift::Lowering::SILGenFunction&) SILGenDecl.cpp:0:0
#15 0x000056282e5c892d swift::Lowering::SILGenFunction::emitInitializationForVarDecl(swift::VarDecl*, bool, bool) crtstuff.c:0:0
#16 0x000056282e5c9d7f swift::Lowering::SILGenFunction::emitPatternBinding(swift::PatternBindingDecl*, unsigned int, bool) crtstuff.c:0:0
#17 0x000056282e5d40c2 swift::ASTVisitor<swift::Lowering::SILGenFunction, void, void, void, void, void, void>::visit(swift::Decl*) crtstuff.c:0:0
#18 0x000056282e6b01d0 (anonymous namespace)::StmtEmitter::visitBraceStmt(swift::BraceStmt*) SILGenStmt.cpp:0:0
#19 0x000056282e6a9a86 swift::ASTVisitor<(anonymous namespace)::StmtEmitter, void, void, void, void, void, void>::visit(swift::Stmt*) SILGenStmt.cpp:0:0
#20 0x000056282e6b0304 (anonymous namespace)::StmtEmitter::visitBraceStmt(swift::BraceStmt*) SILGenStmt.cpp:0:0
#21 0x000056282e6a9fd7 swift::ASTVisitor<(anonymous namespace)::StmtEmitter, void, void, void, void, void, void>::visit(swift::Stmt*) SILGenStmt.cpp:0:0
#22 0x000056282e6b0304 (anonymous namespace)::StmtEmitter::visitBraceStmt(swift::BraceStmt*) SILGenStmt.cpp:0:0
#23 0x000056282e6a9c74 swift::ASTVisitor<(anonymous namespace)::StmtEmitter, void, void, void, void, void, void>::visit(swift::Stmt*) SILGenStmt.cpp:0:0
#24 0x000056282e6b0304 (anonymous namespace)::StmtEmitter::visitBraceStmt(swift::BraceStmt*) SILGenStmt.cpp:0:0
#25 0x000056282e6a82ed swift::Lowering::SILGenFunction::emitStmt(swift::Stmt*) crtstuff.c:0:0
#26 0x000056282e61d0e7 swift::Lowering::SILGenFunction::emitFunction(swift::FuncDecl*) crtstuff.c:0:0
#27 0x000056282e586ec2 swift::Lowering::SILGenModule::emitFunctionDefinition(swift::SILDeclRef, swift::SILFunction*) crtstuff.c:0:0
#28 0x000056282e58846d swift::Lowering::SILGenModule::emitOrDelayFunction(swift::SILDeclRef) crtstuff.c:0:0
#29 0x000056282e585420 swift::Lowering::SILGenModule::emitFunction(swift::FuncDecl*) crtstuff.c:0:0
#30 0x000056282e6c8022 (anonymous namespace)::SILGenType::visitFuncDecl(swift::FuncDecl*) SILGenType.cpp:0:0
#31 0x000056282e6c328d (anonymous namespace)::SILGenType::emitType() SILGenType.cpp:0:0
#32 0x000056282e6c3168 swift::Lowering::SILGenModule::visitNominalTypeDecl(swift::NominalTypeDecl*) crtstuff.c:0:0
#33 0x000056282e58bc2f swift::Lowering::SILGenModule::emitSourceFile(swift::SourceFile*) crtstuff.c:0:0
#34 0x000056282e58c454 swift::ASTLoweringRequest::evaluate(swift::Evaluator&, swift::ASTLoweringDescriptor) const (/usr/bin/swift-frontend+0x12b6454)
#35 0x000056282e6a7be6 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 0x000056282e591255 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 0x000056282e58cd2f swift::performASTLowering(swift::FileUnit&, swift::Lowering::TypeConverter&, swift::SILOptions const&, swift::IRGenOptions const*) (/usr/bin/swift-frontend+0x12b6d2f)
#38 0x000056282dcecbe2 swift::performCompileStepsPostSema(swift::CompilerInstance&, int&, swift::FrontendObserver*, llvm::ArrayRef<char const*>) (/usr/bin/swift-frontend+0xa16be2)
#39 0x000056282dd04fda withSemanticAnalysis(swift::CompilerInstance&, swift::FrontendObserver*, llvm::function_ref<bool (swift::CompilerInstance&)>, bool) FrontendTool.cpp:0:0
#40 0x000056282dcf2aa9 performCompile(swift::CompilerInstance&, int&, swift::FrontendObserver*, llvm::ArrayRef<char const*>) FrontendTool.cpp:0:0
#41 0x000056282dcef6ee swift::performFrontend(llvm::ArrayRef<char const*>, char const*, void*, swift::FrontendObserver*) (/usr/bin/swift-frontend+0xa196ee)
#42 0x000056282da07ba8 swift::mainEntry(int, char const**) (/usr/bin/swift-frontend+0x731ba8)
#43 0x0000750c83b28d90 (/lib/x86_64-linux-gnu/libc.so.6+0x29d90)
#44 0x0000750c83b28e40 __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x29e40)
#45 0x000056282da06a65 _start (/usr/bin/swift-frontend+0x730a65)
*** Signal 6: Backtracing from 0x750c83c1d9dd... done ***
*** Program crashed: Aborted at 0x0000750c83c1d9dd ***
Platform: x86_64 Linux (Ubuntu 22.04.5 LTS)
Thread 0 "swift-frontend" crashed:
0  0x0000750c83c1d9dd <unknown> in libc.so.6
Registers:
rax 0x0000000000000000  0
rdx 0x0000000000000006  6
rcx 0x0000750c83c1d9dd  48 3d 01 f0 ff ff 73 01 c3 48 8b 0d 23 b4 0f 00  H=·ðÿÿs·ÃH··#´··
rbx 0x0000000000000006  6
rsi 0x0000000000000566  1382
rdi 0x0000000000000566  1382
rbp 0x0000000000000566  1382
rsp 0x0000562871283068  6b 8b e8 35 28 56 00 00 f0 32 28 71 28 56 00 00  k·è5(V··ð2(q(V··
 r8 0x00005628712832f0  06 00 00 00 00 00 00 00 fa ff ff ff 00 00 00 00  ········úÿÿÿ····
 r9 0x00005628712832f0  06 00 00 00 00 00 00 00 fa ff ff ff 00 00 00 00  ········úÿÿÿ····
r10 0x00005628712832f0  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 0x0000562871283078  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ················
rip 0x0000750c83c1d9dd  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 (37 omitted):
0x0000750c83aff000–0x0000750c83cbb401 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-linux-x86_64/Examples-p.build/Objects-normal/x86_64/AnalyticsEvents.d -emit-const-values-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-typescript-bridge.build/Debug-linux-x86_64/Examples-p.build/Objects-normal/x86_64/AnalyticsEvents.swiftconstvalues -emit-reference-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-typescript-bridge.build/Debug-linux-x86_64/Examples-p.build/Objects-normal/x86_64/AnalyticsEvents.swiftdeps -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-typescript-bridge.build/Debug-linux-x86_64/Examples-p.build/Objects-normal/x86_64/AnalyticsEvents.dia -target x86_64-unknown-linux-gnu -disable-objc-interop -I /host/spi-builder-workspace/.build/out/Products/Debug-linux-x86_64 -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 -enable-anonymous-context-mangled-names -file-compilation-dir /host -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-linux-x86_64/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-typescript-bridge.build/Debug-linux-x86_64/Examples-p.build/DerivedSources-normal/x86_64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-typescript-bridge.build/Debug-linux-x86_64/Examples-p.build/DerivedSources/x86_64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-typescript-bridge.build/Debug-linux-x86_64/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-linux-x86_64/Examples-p.build/Objects-normal/x86_64/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-linux-x86_64/Examples-p.build/Objects-normal/x86_64/AnalyticsEvents.o -index-unit-output-path /swift-typescript-bridge.build/Debug-linux-x86_64/Examples-p.build/Objects-normal/x86_64/AnalyticsEvents.o -index-store-path /host/spi-builder-workspace/.build/out -index-system-modules
error: Build failed
BUILD FAILURE 6.4 linux